小 (文本替换 - 替换“Category:Templates”为“Category:模板”) |
无编辑摘要 |
||
第1行: | 第1行: | ||
<includeonly><div class="plainlist {{{class|}}}" {{#if:{{{style|}}}{{{indent|}}}|style="{{#if:{{{indent|}}}|margin-left: {{#expr:{{{indent}}}*1.6}}em;}} {{{style|}}}"}}>{{#if:{{{1|}}}|{{{1}}}}} | <includeonly><div class="plainlist {{{class|}}}" {{#if:{{{style|}}}{{{indent|}}}|style="{{#if:{{{indent|}}}|margin-left: {{#expr:{{{indent}}}*1.6}}em;}} {{{style|}}}"}}>{{#if:{{{1|}}}|{{{1}}}}} | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude>{{template doc}}[[Category:模板]][[en:Template:Plainlist]]</noinclude> | ||
{{template doc}} | |||
[[Category:模板]] | |||
[[en:Template:Plainlist]] |
2021年1月1日 (五) 18:58的最新版本
Plainlist creates a plain (i.e. unbulleted) list.
Parameters[编辑源代码]
Parameter | Description | Default | Status |
---|---|---|---|
1 | The ‘normal’ list. | empty | required |
class | Adds a CSS class to the containing div. | empty | optional |
style | Adds CSS style options. | empty | optional |
indent | Indents the list by a number of standard indents (one indent being 1.6em) | empty | optional |
Example[编辑源代码]
The following code
{{Plainlist| * dog * cat * mouse * budgerigar * hamster * canary * guinea pig * parrot * goldfish }}
will display:
- dog
- cat
- mouse
- budgerigar
- hamster
- canary
- guinea pig
- parrot
- goldfish