(创建页面,内容为“<includeonly><div class="plainlist {{{class|}}}" {{#if:{{{style|}}}{{{indent|}}}|style="{{#if:{{{indent|}}}|margin-left: {{#expr:{{{indent}}}*1.6}}em;}} {{{style|}}}…”) |
小 (en) |
||
第2行: | 第2行: | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
{{template doc}} | {{template doc}} | ||
[[Category: | [[Category: 模板]][[en:{{FULLPAGENAME}}]] | ||
</noinclude> | </noinclude> |
2019年5月1日 (三) 14:30的最新版本
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