틀:Hlist
보이기
| 이 틀은 루아를 사용합니다. |
| 이 틀은 틀스타일을 사용합니다. |
이 틀을 사용해 수평 목록(가로목록)을 만들 수 있습니다. 목록의 각 항목들은 CSS 스타일을 가지고 있습니다.
사용법
기본 사용법
{{hlist|항목1|항목2|항목3|...}}
전체 변수
{{hlist
|항목1|항목2|항목3|...
|class = class
|style = style
|list_style = style for ul tag
|item_style = style for all li tags
|item1_style = style for first li tag |item2_style = style for second li tag |...
|indent = indent for the list
}}
용례
| 마크업 | 결과 |
|---|---|
{{hlist|입력1|입력2|입력3|입력4|입력5|입력6|입력7|입력8|입력9}}
|
|
{{hlist|Winner|Runner-up|Third place|item_style=color:blue;}}
|
|
{{hlist|Winner|Runner-up|Third place|item_style=color:blue;|indent=2}}
|
|
{{hlist|Winner|Runner-up|Third place|item1_style=background-color:yellow;|item2_style=background-color:silver;}}
|
|