Template:ExpandBox:zh-cn/doc

From Valve Developer Community
< Template:ExpandBox:zh-cn
Revision as of 18:07, 9 October 2021 by 1416006136 (talk | contribs) (Created page with "{{Documentation subpage:zh-cn}} <!-- 请将类别放置在本页底部指示的位置。) --> 本页面由大康翻译于2021年10月10日。 ---- 此模...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Documentation subpage:zh-cn 本页面由大康翻译于2021年10月10日。


此模板适用于非常长的列表,这些列表的重要性不足以创建他们自己的页面,但最终也会使页面长得可笑。即使在页面上多次使用也能正常工作。 (此外,不会干扰目录。)

示例用法
参数 维基文本 结果
源代码。
{{ExpandBox:zh-cn |
* Sample
* Enumeration
* Worth
* Hiding
}}
页面文字。
源代码。

页面文字。

starterlinebreak
源代码。
{{ExpandBox:zh-cn | starterlinebreak=1 |
* Sample
* Enumeration
* Worth
* Hiding
}}
页面文字。
Template:Note:zh-cn
源代码。

页面文字。

noendlinebreak
源代码。
{{ExpandBox:zh-cn | noendlinebreak=1 |
* Sample
* Enumeration
* Worth
* Hiding
}}
页面文字。
源代码。

页面文字。

expandtext
collapsetext
源代码。
{{ExpandBox:zh-cn | expandtext=显示 | collapsetext=隐藏 |
* Sample
* Enumeration
* Worth
* Hiding
}}
页面文字。
源代码。

页面文字。

side
源代码。
{{ExpandBox:zh-cn | side=right |
* Sample
* Enumeration
* Worth
* Hiding
}}
页面文字。
源代码。

页面文字。

第二个未命名的参数是标题。
源代码。
{{ExpandBox:zh-cn |
* Sample
* Enumeration
* Worth
* Hiding
| Example for an ExpandBox
}}
页面文字。
源代码。
ExpandBox 示例

页面文字。