(创建页面,内容为“<includeonly><div style="display:flex; flex-wrap:wrap; align-items:{{{align-items|flex-start}}}; justify-content:{{{justify-content|flex-start}}}; "><!-- begin box w…”) |
小 (en) |
||
(未显示另一用户的1个中间版本) | |||
第2行: | 第2行: | ||
{{{1}}} | {{{1}}} | ||
</div><!-- end box wrapper -->}}</includeonly><noinclude> | </div><!-- end box wrapper -->}}</includeonly><noinclude> | ||
{{template doc}}[[Category: | {{template doc}}[[Category: 模板]][[en:{{FULLPAGENAME}}]]</noinclude> |
2019年4月20日 (六) 16:23的最新版本
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}}