Template:Flatlist:修订间差异

来自偶像大师中文维基
跳转到导航 跳转到搜索
创建页面,内容为“<div class="hlist {{{class|}}}" {{#if:{{{style|}}}{{{indent|}}}|style="{{#if:{{{indent|}}}|margin-left: {{#expr:{{{indent}}}*1.6}}em;}} {{{style|}}}"}}>{{{1|}}}</div><noinclude>{{documentation}}</noinclude>”
 
无编辑摘要
第1行: 第1行:
<div class="hlist {{{class|}}}" {{#if:{{{style|}}}{{{indent|}}}|style="{{#if:{{{indent|}}}|margin-left: {{#expr:{{{indent}}}*1.6}}em;}} {{{style|}}}"}}>{{{1|}}}</div><noinclude>{{documentation}}</noinclude>
<div class="hlist {{{class|}}}" {{#if:{{{style|}}}{{{indent|}}}|style="{{#if:{{{indent|}}}|margin-left: {{#expr:{{{indent}}}*1.6}}em;}} {{{style|}}}"}}>{{{1|}}}</div><noinclude>[[分类:格式模板]]{{documentation}}</noinclude>

2025年9月4日 (四) 00:02的版本

模板文档  [查看] [编辑] [历史] [刷新]
这个模板引用自 维基百科,并可能进行了修改。感谢所有编辑们做出的贡献。

该模板用于显示一个水平列表。

示例

{{flatlist |
* 第一项
* 第二项
* 第三项
* 第四项
* 第五项
* 第六项
}}
  • 第一项
  • 第二项
  • 第三项
  • 第四项
  • 第五项
  • 第六项

参数

class: 添加一个CSS样式包含的div。

style:添加CSS样式选项。

indent:缩进一个标准的缩进。例如 indent=2