跳去內容

Template:Hlist/doc

出自維基百科,自由嘅百科全書

呢個模建造一個水平一覽表。女表中嘅每個項目都可以附加一個編號嚟單獨添加CSS樣式。

概要

[編輯]
{{hlist|物件一|物件二|物件三|...}}

參數同用法

[編輯]
{{hlist
|物件一|物件二|物件三|...
|class=
|style=
|list_style=
|item_style=
|item1_style=
|indent= 
}}

範例

[編輯]
Markup Renders as
{{hlist|entry1|entry2|entry3|entry4|entry5|entry6|entry7|entry8|entry9}} 
  • entry1
  • entry2
  • entry3
  • entry4
  • entry5
  • entry6
  • entry7
  • entry8
  • entry9

{{hlist|Winner|Runner-up|Third place|item_style=color:blue;}} 
  • Winner
  • Runner-up
  • Third place

{{hlist|Winner|Runner-up|Third place|item_style=color:blue;|indent=2}} 
  • Winner
  • Runner-up
  • Third place

{{hlist|Winner|Runner-up|Third place|item1_style=background-color:yellow;|item2_style=background-color:silver;}} 
  • Winner
  • Runner-up
  • Third place

睇埋

[編輯]