Template:Infobox template/doc/zh: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{Doc/subpage}} <!-- 请将类别放在本页底部指示的位置。) --> 本模板用于创建一个描述关于模板的概述信息的表格。 == 用法 == {{Doc/Sand...")
 
No edit summary
Line 1: Line 1:
{{Doc/subpage}}
{{Doc/subpage}}
<!-- 请将类别放在本页底部指示的位置。) -->
<!-- 请将类别放在本页底部指示的位置。) -->
本模板用于创建一个描述关于模板的概述信息的表格。
本模板用于创建一个描述关于模板的概述信息的表格。本模板基于 {{tl2|Infotable}}。
== 用法 ==
== 用法 ==
 
只需要分别将参数的值键入到模板中即可。
=== 参数 ===
*{{Code|preset=2|{{Param|summary}}}} - 关于该模板的概述。
*{{Code|preset=2|{{Param|type}}}} - 关于该模板的类型。
*{{Code|preset=2|{{Param|contrib}}}} - 贡献人员。
*{{Code|preset=2|{{Param|creationdate}}}} - 该模板的创建日期。
*{{Code|preset=2|{{Param|other}}}} - 关于该模板的其他信息。
*{{Code|preset=2|{{Param|translation}}}} - 关于该模板是否存在翻译。
*{{Code|preset=2|{{Param|summary}}}} - 是否使用解析器函数?
*{{Code|preset=2|{{Param|var}}}} - 是否使用变量?


{{Doc/Sandbox other|
{{Doc/Sandbox other|
<!-- 分类在这行之下,请 -->
<!-- 分类在这行之下,请 -->
 
[[Category:Templates]]
}}
}}

Revision as of 04:35, 2 June 2023

Edit-copy.png
This is a documentation subpage for Template:Infobox template.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

本模板用于创建一个描述关于模板的概述信息的表格。本模板基于 {{Infotable}}

用法

只需要分别将参数的值键入到模板中即可。

参数

  • {{{summary}}} - 关于该模板的概述。
  • {{{type}}} - 关于该模板的类型。
  • {{{contrib}}} - 贡献人员。
  • {{{creationdate}}} - 该模板的创建日期。
  • {{{other}}} - 关于该模板的其他信息。
  • {{{translation}}} - 关于该模板是否存在翻译。
  • {{{summary}}} - 是否使用解析器函数?
  • {{{var}}} - 是否使用变量?