Template:Plainlist:修订间差异

(创建页面,内容为“<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:Templates]]
[[Category: 模板]][[en:{{FULLPAGENAME}}]]
</noinclude>
</noinclude>

2019年5月1日 (三) 14:30的最新版本

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

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