Template:Collapse top simple/doc

来自Terraria Wiki
跳到导航 跳到搜索

This template is used to insert collapsed content sections.

Place {{collapse top simple}} at the top of the content to be collapsed, and {{collapse bottom simple}} underneath it, each on their own separate lines.

Usage

{{ collapse top simple | <expand link text> | <collapse link text> | class = <class name(s)> | style/css = <custom styling> }}

参数描述类型状态
Expand link text1
Custom display text for the expand link.
自动值:
''Click here to reveal list''
单行文本
可选
Collapse link text2
Custom display text for the collapse link.
自动值:
''Hide list''
单行文本
可选
Classesclass
List of classes to be applied to the table separated by spaces.
单行文本
可选
Stylingstyle
css
Custom CSS rules for the table.
示例:
width: 100%
单行文本
可选

此模板首选参数行内格式。

Example

{{collapse top simple}}

... content ...

{{collapse bottom simple}}

See also