Template:Plainlist:修订间差异

(merge from offical wiki)
 
(文本替换 - 替换“Category:Templates”为“Category:模板”)
 
第2行: 第2行:
</div></includeonly><noinclude>
</div></includeonly><noinclude>
{{template doc}}
{{template doc}}
[[Category:Templates]]
[[Category: 模板]]
</noinclude>
</noinclude>

2022年3月7日 (一) 15:31的最新版本

[查看] [编辑]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