< 模板:Tlx
(创建页面,内容为“<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> 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|tlx|Template|''first parameter''|''second parameter''|''third''|...|''twentieth''}} produces: {{tlx|Template|''first parameter''|''second parameter''|''third''|...|'…”) |
(没有差异)
|
2023年9月18日 (一) 21:32的版本
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 模板: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>}}