Want to contribute? Join the Discord and ask for the editor role.
Template:Tlx: Difference between revisions
Template page
RTGame>Alistar Bot m (→top: Hygiene, replaced: {{documentation}} → {{/doc}}) |
m (1 revision imported) |
Latest revision as of 16:51, 2 May 2021
{{[[Template:{{{1}}}|{{{1}}}]]}}
This documentation is transcluded from Template:Tlx/doc. Changes can be proposed in the talk page.
This template is used to show example template usage without expanding the template itself.
Basic use
(Note: In the following examples, ellipses (groups of three dots) indicate where parameters have been omitted.)
{{tlx|<Template>|<first parameter>|<second parameter>|<third>|<...>|<twentieth>}}
produces:{{Template|<first parameter>|<second parameter>|<third>|<...>|<twentieth>}}
Where parameters might contain one or more equals-signs ("="), replace each equals-sign with Template:Tlf:
{{tlx|<Template>|<first{{=}}something>|<second>|<third{{=}}something>|<...>|<twentieth>}}
produces:{{Template|<first=something>|<second>|<third=something>|<...>|<twentieth>}}
For more than ten parameters, possibly also containing equals-signs, use <nowiki>...</nowiki>
thus:
{{tlx|<Template>|<<nowiki>''first''|''second''|''third=something''|...|''999th''</nowiki>>}}
produces:{{Template|<first|second|third=something|...|999th>}}
See also