본문으로 이동

: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