模板:Tlx/doc:修订间差异

来自NebulaeWiki
(创建页面,内容为“<!-- 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''|...|'…”)
 
(已保护“模板:Tlx/doc”([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期)))
 

2023年9月23日 (六) 22:33的最新版本

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


See also