Want to contribute? Join the Discord and ask for the editor role.
Template:Tlx/doc: Difference between revisions
Template page
m (1 revision imported) |
No edit summary Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
{{Documentation}} | |||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
This template is used to show example template usage without expanding the template itself. | This template is used to show example template usage without expanding the template itself. |
Latest revision as of 15:06, 4 May 2021
This is a documentation subpage for Template:Tlx.It contains usage information, categories, and other content that is not part of the original template 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>}}