模板:Tlx/doc

来自NebulaeWiki
< 模板:Tlx
Kuina留言 | 贡献2023年9月18日 (一) 21:32的版本 (创建页面,内容为“<!-- 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''|...|'…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

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