틀: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}}
- 입력1
- 입력2
- 입력3
- 입력4
- 입력5
- 입력6
- 입력7
- 입력8
- 입력9
- {{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
| 위 설명은 틀:Hlist/설명문서의 내용을 가져와 보여주고 있습니다. (편집 | 역사) 연습장 (생성 | 복제) 및 시험장 (생성) 문서에서 이 틀을 실험할 수 있습니다. 분류는 /설명문서 하위 문서에 넣어주세요. 이 틀에 딸린 문서. |