모듈:List/설명문서

< 모듈:List
Wikipedia>Kim6134님의 2015년 5월 26일 (화) 16:32 판 (새 문서: {{위험한 틀|170,000+}} 이 모듈은 여러 가지 다양한 목록들을 출력합니다. 현재 글머리기호가 있는 목록과 없는 목록, 가로목록, (숫자나 알...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

이 문서는 모듈:List에 대한 설명문서입니다.

이 모듈은 여러 가지 다양한 목록들을 출력합니다. 현재 글머리기호가 있는 목록과 없는 목록, 가로목록, (숫자나 알파벳 순의) 순서목록, 가로순서목록을 지원합니다. 목록이나 개별 목록 항목들의 CSS 스타일링을 쉽게 만들어줍니다.

사용법

간단한 사용법
{{#invoke:list|함수|항목 1|항목 2|항목 3|...}}
전체 매개변수
{{#invoke:list|함수
|항목 1|항목 2|항목 3|...
|start           = start number for ordered lists
|type            = type of numbering for ordered lists
|list_style_type = type of marker for ordered lists (uses CSS)
|class           = class
|style           = style
|list_style      = style for the list
|item_style      = style for all list items
|item1_style     = style for the first list item |item2_style = style for the second list item |...
|item1_value     = value for the first list item |item2_value = value for the second list item |...
|indent          = indent for horizontal lists
}}
Arguments passed from parent template
{{#invoke:list|함수}}
함수
함수명 목적 출력 예시 함수가 사용된 틀
bulleted 기호 목록
  • 항목 1
  • 항목 2
  • 항목 3
{{bulleted list}}
unbulleted 기호 없는 목록
  • 항목 1
  • 항목 2
  • 항목 3
{{기호없는 목록}}
horizontal 기호가 있는 가로목록
  • 항목 1
  • 항목 2
  • 항목 3
{{hlist}}
ordered 순서 목록 (숫자나 알파벳 순)
  1. 항목 1
  2. 항목 2
  3. 항목 3
{{ordered list}}
horizontal_ordered 가로 순서 목록
  1. 항목 1
  2. 항목 2
  3. 항목 3