틀:세로목록: 두 판 사이의 차이

편집 요약 없음
(Unter (토론)의 561802판 편집을 되돌림)
1번째 줄: 1번째 줄:
<includeonly><div class="div-col columns <!--
<includeonly><div class="div-col columns <!--
  -->{{#if: {{{colwidth|{{{2|}}}}}}
  -->{{#if: {{{너비|{{{2|}}}}}}
     | column-width
     | column-width
     | column-count column-count-{{{cols|{{#if:1|{{{1|2}}}}}}}} }}" style="<!--
     | column-count column-count-{{{|{{#if:1|{{{1|2}}}}}}}} }}" style="<!--
  -->{{#if: {{{colwidth|{{{2|}}}}}}
  -->{{#if: {{{너비|{{{2|}}}}}}
     | {{column-width|{{{colwidth|{{#if:1|{{{2}}}}}}}}}}
     | {{column-width|{{{너비|{{#if:1|{{{2}}}}}}}}}}
     | {{column-count|{{{cols|{{#if:1|{{{1|2}}}}}}}}}} }} <!--
     | {{column-count|{{{|{{#if:1|{{{1|2}}}}}}}}}} }} <!--
  -->{{#if: {{{gap|}}}
  -->{{#if: {{{gap|}}}
     | {{column-gap|{{{gap}}}}} }}<!--
     | {{column-gap|{{{gap}}}}} }}<!--
12번째 줄: 12번째 줄:
     | yes = {{column-rule}}
     | yes = {{column-rule}}
     | {{Column-rule|{{{rules}}}}} }} <!--
     | {{Column-rule|{{{rules}}}}} }} <!--
  -->{{#ifeq: {{{small|}}}|yes
  -->{{#ifeq: {{{작게|}}}|yes
     | font-size:90%; }} <!--
     | font-size:90%; }} <!--
  -->{{#if: {{{style|}}}
  -->{{#if: {{{style|}}}
     | {{{style}}} }}"><!--
     | {{{style}}} }}"><!--
  -->{{#if: {{{content|}}}
  -->{{#if: {{{content|}}}
     |{{{content}}}</div>}}<!-- Inventory how many pages use small=yes
     |{{{content}}}</div>}}<!-- Inventory how many pages use 작게=yes
  --><!--{{#ifeq: {{{small|}}}|yes
  --><!--{{#ifeq: {{{작게|}}}|yes
     |[[Category:Pages using div col with small parameter]]}}--></includeonly><noinclude>
     |[[Category:Pages using div col with 작게 parameter]]}}--></includeonly><noinclude>
{{Documentation}}
{{틀 설명문서}}
</noinclude>
</noinclude>

2018년 4월 19일 (목) 23:00 판

설명문서 [편집] [역사] [새로고침]

이 틀은 목록을 여러 개의 세로단으로 나누어 나열하는데 사용합니다.

사용 방법

열너비=
열의 최소너비를 지정합니다. 너비에 따라 나타나는 열의 개수가 정해집니다. 기본값은 30em입니다.
모양=
style을 지정합니다.
목록=
나열할 목럭을 입력합니다.

예시

일반적인 사용
{{세로목록|목록=
* a
* b
* c
* d
}}
열너비 조정
20em으로 줄였기 때문에 열이 3개가 됩니다. (데스크탑 기준)
{{세로목록|열너비=20em|목록=
* a
* b
* c
* d
* e
* f
* g
* h
}}

같이 보기

이 틀 문서는 영어 위키피디아Template:Div col 문서 [998391832 특정판]에서 분기하였습니다.
연습장이나 사용자 문서에서 틀의 사용이나 수정을 연습할 수 있습니다.
분류는 /설명문서에 넣어주세요.