틀:둘러보기 상자/중첩: 두 판 사이의 차이

편집 요약 없음
(15개까지 단축)
84번째 줄: 84번째 줄:
<td style="{{{liststyle|{{{내용모양|}}}}}}{{{evenstyle|}}}{{{list15style|}}}" colspan="{{#if:{{{group15|{{{묶음15|}}}}}}|1|2}}"><div>
<td style="{{{liststyle|{{{내용모양|}}}}}}{{{evenstyle|}}}{{{list15style|}}}" colspan="{{#if:{{{group15|{{{묶음15|}}}}}}|1|2}}"><div>
{{{list15|{{{내용15}}}}}}</div></td></tr>}}<!--
{{{list15|{{{내용15}}}}}}</div></td></tr>}}<!--
-->{{#if:{{{list16|{{{내용16|}}}}}} |<tr>
{{#if:{{{group16|{{{묶음16|}}}}}} |<th class="tp_link" style="background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|{{{묶음모양|}}}}}}{{{groupevenstyle|}}}{{{group16style|}}} ">{{{group16|{{{묶음16|}}}}}}</th>}}
<td style="{{{liststyle|{{{내용모양|}}}}}}{{{evenstyle|}}}{{{list16style|}}}" colspan="{{#if:{{{group16|{{{묶음16|}}}}}}|1|2}}"><div>
{{{list16|{{{내용16}}}}}}</div></td></tr>}}<!--
-->{{#if:{{{list17|{{{내용17|}}}}}} |<tr>
{{#if:{{{group17|{{{묶음17|}}}}}} |<th class="tp_link" style="background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|{{{묶음모양|}}}}}}{{{groupevenstyle|}}}{{{group17style|}}} ">{{{group17|{{{묶음17|}}}}}}</th>}}
<td style="{{{liststyle|{{{내용모양|}}}}}}{{{evenstyle|}}}{{{list17style|}}}" colspan="{{#if:{{{group17|{{{묶음17|}}}}}}|1|2}}"><div>
{{{list17|{{{내용17}}}}}}</div></td></tr>}}<!--
-->{{#if:{{{list18|{{{내용18|}}}}}} |<tr>
{{#if:{{{group18|{{{묶음18|}}}}}} |<th class="tp_link" style="background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|{{{묶음모양|}}}}}}{{{groupevenstyle|}}}{{{group18style|}}} ">{{{group18|{{{묶음18|}}}}}}</th>}}
<td style="{{{liststyle|{{{내용모양|}}}}}}{{{evenstyle|}}}{{{list18style|}}}" colspan="{{#if:{{{group18|{{{묶음18|}}}}}}|1|2}}"><div>
{{{list18|{{{내용18}}}}}}</div></td></tr>}}<!--
-->{{#if:{{{list19|{{{내용19|}}}}}} |<tr>
{{#if:{{{group19|{{{묶음19|}}}}}} |<th class="tp_link" style="background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|{{{묶음모양|}}}}}}{{{groupevenstyle|}}}{{{group19style|}}} ">{{{group19|{{{묶음19|}}}}}}</th>}}
<td style="{{{liststyle|{{{내용모양|}}}}}}{{{evenstyle|}}}{{{list19style|}}}" colspan="{{#if:{{{group19|{{{묶음19|}}}}}}|1|2}}"><div>
{{{list19|{{{내용19}}}}}}</div></td></tr>}}<!--
-->{{#if:{{{list20|{{{내용20|}}}}}} |<tr>
{{#if:{{{group20|{{{묶음20|}}}}}} |<th class="tp_link" style="background:#e6e6ff;white-space:nowrap;text-align:right; {{{groupstyle|{{{묶음모양|}}}}}}{{{groupevenstyle|}}}{{{group20style|}}} ">{{{group20|{{{묶음20|}}}}}}</th>}}
<td style="{{{liststyle|{{{내용모양|}}}}}}{{{evenstyle|}}}{{{list20style|}}}" colspan="{{#if:{{{group20|{{{묶음20|}}}}}}|1|2}}"><div>
{{{list20|{{{내용20}}}}}}</div></td></tr>}}<!--


=== 아랫글 (선택) ===
=== 아랫글 (선택) ===

2020년 2월 16일 (일) 09:40 판

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

{{둘러보기 상자}}를 중첩하여 사용할 수 있는 틀입니다. 사용법은 {{둘러보기 상자}}와 동일한데, 전체속성, 제목, 제목모양, 안내바, 왼쪽그림그림을 사용할 수 없습니다.

또한, 묶음의 기본 배경색은 #E6E6FF입니다.

사용법

{{둘러보기 상자/중첩
|내용속성 = 
|전체모양 = 

|윗글     = 
|윗글속성 = 
|윗글모양 = 

|묶음모양 = 
|내용속성 = 
|홀수모양 = 
|짝수모양 = 
|묶음1    = 
|묶음1모양 = 
|내용1    = 
|내용1모양 = 

|묶음2    = 
|묶음2모양 = 
|내용2    = 
|내용2모양 =

...

|묶음10   = 
|묶음10모양 = 
|내용10   = 
|내용10모양 =
}}

폭 설정

하나의 {{둘러보기 상자}} 내에 복수의 {{둘러보기 상자/중첩}} 틀을 사용할 수 있습니다. 이 때, 묶음모양내용모양을 사용해 폭의 크기를 강제로 맞춰 보기 좋게 할 수 있습니다.

묶음모양 = width:10em;
내용모양 = width:auto;
  • 위의 예시와 같이 묶음모양의 폭을 조정할 경우에는 내용모양의 폭은 auto로 설정되어야 합니다.

예시

예시 1

{{둘러보기 상자}} 속에 {{둘러보기 상자/중첩}} 을 사용한 기본적인 예시.

{{둘러보기 상자
|이름 = 둘러보기 상자/중첩/설명문서
|제목 = [[리브레 위키]]의 마스코트와 공인 캐릭터
|내용속성 = hlist
|묶음1 = 현재
|내용1 =
 {{둘러보기 상자/중첩
 |묶음1 = 마스코트
 |내용1 = 
* 리브라
* 리디버그
 |묶음2 = 공인 캐릭터
 |내용2 = 
* 어그롭테릭스
* 레브
* 리버티
* 리브룬
 }}
|묶음2 = 기타
|내용2 = 
* 리브렌
}}

예시 2

내용1과 내용3에 내용1모양 및 내용3모양을 적용해 부제목으로 활용한 예시.

{{둘러보기 상자
|이름 = 둘러보기 상자/중첩/설명문서
|제목 = [[리브레 위키]]의 마스코트와 공인 캐릭터
|내용속성 = hlist
|묶음1 = 현재
|내용1 =
 {{둘러보기 상자/중첩
 |내용1 = 마스코트
 |내용1모양 = background:#ddf;
 |내용2 = 
* 리브라
* 리디버그
 |내용3 = 공인 캐릭터
 |내용3모양 = background:#ddf;
 |내용4 = 
* 어그롭테릭스
* 레브
* 리버티
* 리브룬
 }}
|묶음2 = 기타
|내용2 = 
* 리브렌
}}

같이 보기

Wikipedia-ico-48px.png
이 틀 문서는 한국어 위키백과틀:둘러보기 상자/중첩 문서에서 분기하였습니다.
연습장이나 사용자 문서에서 틀의 사용이나 수정을 연습할 수 있습니다.
분류는 /설명문서에 넣어주세요.