Difference between revisions of "Template:Tlx"
Jump to navigation
Jump to search
Boy Blue88 (talk | contribs) (Created page with "<includeonly><!-- --><code><!-- --><nowiki>{{</nowiki>{{#if:{{{subst|}}} |subst:}}<!-- -->[[{{{LANG|}}}{{{SISTER|}}}{{ns:Te...") |
Boy Blue88 (talk | contribs) |
||
Line 1: | Line 1: | ||
<includeonly><!-- --><code><!-- --><nowiki>{{</nowiki> | <includeonly><!-- --><code><!-- --><nowiki>{{</nowiki><!-- -->{{ns:Template}}:{{{1|}}}|{{{1|}}}]]<!-- -->{{#if:{{{2|}}} ||{{{2}}}}}<!-- -->{{#if:{{{3|}}} ||{{{3}}}}}<!-- -->{{#if:{{{4|}}} ||{{{4}}}}}<!-- -->{{#if:{{{5|}}} ||{{{5}}}}}<!-- -->{{#if:{{{6|}}} ||{{{6}}}}}<!-- -->{{#if:{{{7|}}} ||{{{7}}}}}<!-- -->{{#if:{{{8|}}} ||{{{8}}}}}<!-- -->{{#if:{{{9|}}} ||{{{9}}}}}<!-- -->{{#if:{{{10|}}} ||{{{10}}}}}<!-- -->{{#if:{{{11|}}} ||{{{11}}}}}<!-- -->{{#if:{{{12|}}} ||''…''}}<!-- --><nowiki>}}</nowiki><!-- --></code><!----></includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 11:49, 5 December 2015
Template documentation(for the above template, sometimes hidden or invisible)
{{Template:tlx|tlx]]}}
is used to show an example of a template's usage accompanied by one or more parameters, without also causing the template to be called.
Syntax
{{tlx|Templatename|param1|...}}
Takes both named and unnamed parameters:
- ;Unnamed
- There are up to 10 placeholders for parameters of the specified template.
{{tlx|Templatename|1|2|3|4|5|6|7|8|9|10}}
- ;Named
- Where named fields are set to values, replace the equals-sign with #61;
{{tlx|Templatename|param=value}}
Visit Template:Tlx/doc to edit this text! (How does this work?)