FANDOM


模板文档
查看或编辑这个文档.

Description
This template is used to insert descriptions on template pages.
Usage
Type {{documentation}}

at the end of the template page.

On the Template page

Template code<includeonly>
Any categories to be inserted into articles by the template</includeonly><noinclude>
{{documentation}}</noinclude>

Note that, depending on the template, you may need to add a clear or complete a table/div just before <includeonly>… is inserted. The line break is also useful as it helps prevent the documentation template "running into" previous code.

On the Template/doc page

{{documentation subpage}}
----
;Description
:This template is used to do something.
;Usage
:Type <code>{{tlx|templatename|parameter}}</code> somewhere.

{| class="wikitable"
|+ Examples
|-
!Code
!Result
|-
|<code>{{tlx|templatename|parameter}}</code>
|{{templatename|parameter}}
|-
|}

<includeonly>Any categories for the template itself</includeonly>
除了特别提示,社区内容遵循CC-BY-SA 授权许可。