Template:Plainlist:修订间差异

(建立内容为“<includeonly><div class="plainlist {{{class|}}}" {{#if:{{{style|}}}{{{indent|}}}|style="{{#if:{{{indent|}}}|margin-left: {{#expr:{{{indent}}}*1.6}}em;}} {{{style|…”的新页面)
 
无编辑摘要
 
第2行: 第2行:
</div></includeonly><noinclude>
</div></includeonly><noinclude>
{{template doc}}
{{template doc}}
[[Category:Templates]]
[[Category: 模板]]
</noinclude>
</noinclude>

2024年2月27日 (二) 19:04的最新版本

[阅读] [编辑]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