Template:Plainlist/doc:修订间差异

无编辑摘要
(文本替换 - 替换“{{template doc page viewed directly}}</noinclude>”为“{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]]”)
 
第1行: 第1行:
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]]
    <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
    <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
'''Plainlist''' creates a plain (i.e. unbulleted) list.
'''Plainlist''' creates a plain (i.e. unbulleted) list.

2022年3月18日 (五) 14:24的最新版本

这是 Template:Plainlist模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。

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