Template:Box wrapper:修订间差异

(创建页面,内容为“<includeonly><div style="display:flex; flex-wrap:wrap; align-items:{{{align-items|flex-start}}}; justify-content:{{{justify-content|flex-start}}}; "><!-- begin box w…”)
 
无编辑摘要
第2行: 第2行:
{{{1}}}
{{{1}}}
</div><!-- end box wrapper -->}}</includeonly><noinclude>
</div><!-- end box wrapper -->}}</includeonly><noinclude>
{{template doc}}[[Category:Templates]]</noinclude>
{{template doc}}[[Category: 模板]]</noinclude>

2019年4月17日 (三) 18:00的版本

[阅读] [编辑]Template-info.png 模板文档

A box wrapper can be used to make a list of boxes (E.G., events, decisions, or missions) flow dynamically with the width of the browser taken into account.

Usage

{{Box wrapper|

{{<Box template>|...}}
{{<Box template>|...}}
<!-- You do not need a separator between each box, just open the list before your boxes and close it at the end -->

}}

Alternative syntax: (Use this if the content includes section tags, because they don't work inside templates.)

{{Box wrapper}}

{{<Box template>|...}}
{{<Box template>|...}}

{{End box wrapper}}