Template:ExpandBox:zh-cn/doc: Difference between revisions
Jump to navigation
Jump to search
1416006136 (talk | contribs) (Created page with "{{Documentation subpage:zh-cn}} <!-- 请将类别放置在本页底部指示的位置。) --> 本页面由大康翻译于2021年10月10日。 ---- 此模...") |
Thunder4ik (talk | contribs) m (→top: clean up, replaced: {{Note:zh-cn → {{note) |
||
| Line 36: | Line 36: | ||
* Hiding | * Hiding | ||
}} | }} | ||
页面文字。</pre>{{ | 页面文字。</pre>{{note|<code>starterlinebreak</code>可以替换为<code>startinglinebreak</code>。}} | ||
| 源代码。 | | 源代码。 | ||
{{ExpandBox:zh-cn | starterlinebreak=1 | | {{ExpandBox:zh-cn | starterlinebreak=1 | | ||
Revision as of 11:12, 6 January 2024
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
}}
页面文字。starterlinebreak可以替换为startinglinebreak。 |
源代码。
页面文字。 |
noendlinebreak
|
源代码。
{{ExpandBox:zh-cn | noendlinebreak=1 |
* Sample
* Enumeration
* Worth
* Hiding
}}
页面文字。
|
源代码。
页面文字。 |
expandtextcollapsetext
|
源代码。
{{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 示例
页面文字。 |