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 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