From Animated Muscle Women
Template documentation (for the above template, sometimes hidden or invisible)
This template will float the article's table of contents to the right. It will also force a ToC when/where it would not normally be found.
Use it only when needed.
Type tocright<noinclude>

Template:Protected template

Usage[edit source]

Prints the value passed to it.

This is a meta-template for use with complex template nesting tricks. See also Template:F.</noinclude>

Description[edit source]

This template can be used on template documentation pages to demonstrate the usage of a template in wikitext.

Usage[edit source]

The first parameter is the name of the template you wish to demonstrate usage of; all subsequent parameters are used to display the parameters of the template you are demonstrating. This template supports a maximum of ten of these parameters.

Template Result
{{tlx|Template|First parameter}} {{Template|First parameter}}
{{tlx|Template|First parameter|Second parameter}} {{Template|First parameter|Second parameter}}
{{tlx|Template|First parameter|Second parameter|...|Tenth parameter}} {{Template|First parameter|Second parameter|...|Tenth parameter}}

When parameters must contain equal signs, use {{=}} (Do not simply use an equal sign as they will not be shown).

Template Result
{{tlx|Template|First parameter{{=}}something}} {{Template|First parameter=something}}
{{tlx|Template|First parameter{{=}}something|Second parameter{{=}}something}} {{Template|First parameter=something|Second parameter=something}}
{{tlx|Template|First parameter{{=}}something|Second parameter{{=}}something|...|Tenth parameter{{=}}something}} {{Template|First parameter=something|Second parameter=something|...|Tenth parameter=something}}

To display more than ten parameters (If that somehow becomes necessary), use <nowiki></nowiki> tags. You should not use {{=}} in this case.

Template Result
{{tlx|Template|<nowiki>First parameter=something|Second parameter|...|999th}}</nowiki> {{Template|First parameter=something|Second parameter|...|999th}}

Credits[edit source]

This template's code was taken from Template:Tlx on the English Wikipedia.

Visit Template:Tlx/doc to edit this text! (How does this work?)