|
|
第1行: |
第1行: |
− | <includeonly><div class="cardRow" style="white-space:{{{white-space|pre-line}}};">{{{1|{{{content|}}}}}}</div></includeonly><noinclude>[[category:模板]] | + | <includeonly><div class="cardRow">{{{1|{{{content|}}}}}}</div></includeonly><noinclude>{{tpl_helpdoc}}</noinclude> |
− | == 说明 ==
| + | |
− | 这个模板用来搭载在卡片模板中, 用于形成1段条目. 通常写在{{tpl|cardItem}}, {{tpl|cardAbility}}, {{tpl|cardEnvironment}}, {{tpl|cardFeature}}的content参数中.
| + | |
− | | + | |
− | == 参数 ==
| + | |
− | ;1或content
| + | |
− | :在这个参数中填写条目的内容.
| + | |
− | ;white-space
| + | |
− | :这个参数决定了是否需要手动换行, 如果填写normal, 则表示需要手动换行(使用<nowiki>"<br>"</nowiki>), 否则在输入框中的换行就是自动换行.
| + | |
− | | + | |
− | == 范例 ==
| + | |
− | <source lang="text">
| + | |
− | |content=
| + | |
− | {{cardRow|
| + | |
− | ...
| + | |
− | }}
| + | |
− | </source>
| + | |
− | </noinclude> | + | |