Template:Hlist

出自維基百科,自由嘅百科全書
Jump to navigation Jump to search
模解[] [] [] []

呢個模建造一個水平列表。列表中嘅每個項目都可以附加一個編號嚟單獨地添加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

睇埋[編輯]