Difference between revisions of "Template:Tlx/doc"
Jump to navigation
Jump to search
Boy Blue88 (talk | contribs) (Created page with "<includeonly>{{small |1=Note: This documentation for {{tlx|tlx}} is also transcluded by its derivatives {{tlx|tlxb}}, {{tlx|tlxc}}, {...") |
Boy Blue88 (talk | contribs) m |
||
Line 1: | Line 1: | ||
< | <noinclude>{{documentation subpage}}</noinclude> | ||
{{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''' | |||
<pre> | |||
{{tlx|Templatename|param1|...}} | |||
</pre> | |||
Takes both ''named'' and ''unnamed'' parameters: | |||
: ;Unnamed | |||
: There are up to 10 placeholders for parameters of the specified template. | |||
:: <pre>{{tlx|Templatename|1|2|3|4|5|6|7|8|9|10}}</pre> | |||
: ;Named | |||
: Where named fields are set to values, replace the equals-sign with <nowiki>#61;</nowiki> | |||
:: <pre>{{tlx|Templatename|param&#61;value}}</pre> | |||
<includeonly> | |||
<!-- Categories below this line, please --> | |||
[[Category:Templates]] | |||
[[Category:Template documentation pages]] | |||
</includeonly> |
Latest revision as of 20:50, 5 December 2015
Template:Mbox
{{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}}