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

(영어 변수 삭제)
잔글편집 요약 없음
16번째 줄: 16번째 줄:


-->{{#if:{{{내용2|}}} |<tr>
-->{{#if:{{{내용2|}}} |<tr>
{{#if:{{{묶음2|}}} |<th class="tp_link" style="background:#e6e6ff;white-space:nowrap;text-align:right;{{{묶음모양|}}}{{{짝수묶음모양|}}}{{{묶음2모양|}}} ">{{{묶음2|}}}</th>}}
{{#if:{{{묶음2|}}} |<th class="tp_link" style="white-space: nowrap; background: #E6E6FF; text-align: right;{{{묶음모양|}}}{{{짝수묶음모양|}}}{{{묶음2모양|}}} ">{{{묶음2|}}}</th>}}
<td style="{{{내용모양|}}}{{{짝수모양|}}}{{{내용2모양|}}}" colspan="{{#if:{{{묶음2|}}}|1|2}}"><div>
<td style="{{{내용모양|}}}{{{짝수모양|}}}{{{내용2모양|}}}" colspan="{{#if:{{{묶음2|}}}|1|2}}"><div>
{{{내용2|}}}</div></td></tr>}} <!--
{{{내용2|}}}</div></td></tr>}} <!--


-->{{#if:{{{내용3|}}} |<tr>
-->{{#if:{{{내용3|}}} |<tr>
{{#if:{{{묶음3|}}} |<th class="tp_link" style="background:#e6e6ff;white-space:nowrap;text-align:right;{{{묶음모양|}}}{{{홀수묶음모양|}}}{{{묶음3모양|}}} ">{{{묶음3|}}}</th>}}
{{#if:{{{묶음3|}}} |<th class="tp_link" style="white-space: nowrap; background: #E6E6FF; text-align: right;{{{묶음모양|}}}{{{홀수묶음모양|}}}{{{묶음3모양|}}} ">{{{묶음3|}}}</th>}}
<td style="{{{내용모양|}}}{{{홀수모양|}}}{{{내용3모양|}}}" colspan="{{#if:{{{묶음3|}}}|1|2}}"><div>
<td style="{{{내용모양|}}}{{{홀수모양|}}}{{{내용3모양|}}}" colspan="{{#if:{{{묶음3|}}}|1|2}}"><div>
{{{내용3}}}</div></td></tr>}} <!--
{{{내용3}}}</div></td></tr>}} <!--


-->{{#if:{{{내용4|}}} |<tr>
-->{{#if:{{{내용4|}}} |<tr>
{{#if:{{{묶음4|}}} |<th class="tp_link" style="background:#e6e6ff;white-space:nowrap;text-align:right;{{{묶음모양|}}}{{{짝수묶음모양|}}}{{{묶음4모양|}}} ">{{{묶음4|}}}</th>}}
{{#if:{{{묶음4|}}} |<th class="tp_link" style="white-space: nowrap; background: #E6E6FF; text-align: right;{{{묶음모양|}}}{{{짝수묶음모양|}}}{{{묶음4모양|}}} ">{{{묶음4|}}}</th>}}
<td style="{{{내용모양|}}}{{{짝수모양|}}}{{{내용4모양|}}}" colspan="{{#if:{{{묶음4|}}}|1|2}}"><div>
<td style="{{{내용모양|}}}{{{짝수모양|}}}{{{내용4모양|}}}" colspan="{{#if:{{{묶음4|}}}|1|2}}"><div>
{{{내용4}}}</div></td></tr>}} <!--
{{{내용4}}}</div></td></tr>}} <!--


-->{{#if:{{{내용5|}}} |<tr>
-->{{#if:{{{내용5|}}} |<tr>
{{#if:{{{묶음5|}}} |<th class="tp_link" style="background:#e6e6ff;white-space:nowrap;text-align:right;{{{묶음모양|}}}{{{홀수묶음모양|}}}{{{묶음5모양|}}} ">{{{묶음5|}}}</th>}}
{{#if:{{{묶음5|}}} |<th class="tp_link" style="white-space: nowrap; background: #E6E6FF; text-align: right;{{{묶음모양|}}}{{{홀수묶음모양|}}}{{{묶음5모양|}}} ">{{{묶음5|}}}</th>}}
<td style="{{{내용모양|}}}{{{홀수모양|}}}{{{내용5모양|}}}" colspan="{{#if:{{{묶음5|}}}|1|2}}"><div>
<td style="{{{내용모양|}}}{{{홀수모양|}}}{{{내용5모양|}}}" colspan="{{#if:{{{묶음5|}}}|1|2}}"><div>
{{{내용5}}}</div></td></tr>}} <!--
{{{내용5}}}</div></td></tr>}} <!--


-->{{#if:{{{내용6|}}} |<tr>
-->{{#if:{{{내용6|}}} |<tr>
{{#if:{{{묶음6|}}} |<th class="tp_link" style="background:#e6e6ff;white-space:nowrap;text-align:right;{{{묶음모양|}}}{{{짝수묶음모양|}}}{{{묶음6모양|}}} ">{{{묶음6|}}}</th>}}
{{#if:{{{묶음6|}}} |<th class="tp_link" style="white-space: nowrap; background: #E6E6FF; text-align: right;{{{묶음모양|}}}{{{짝수묶음모양|}}}{{{묶음6모양|}}} ">{{{묶음6|}}}</th>}}
<td style="{{{내용모양|}}}{{{짝수모양|}}}{{{내용6모양|}}}" colspan="{{#if:{{{묶음6|}}}|1|2}}"><div>
<td style="{{{내용모양|}}}{{{짝수모양|}}}{{{내용6모양|}}}" colspan="{{#if:{{{묶음6|}}}|1|2}}"><div>
{{{내용6}}}</div></td></tr>}} <!--
{{{내용6}}}</div></td></tr>}} <!--


-->{{#if:{{{내용7|}}} |<tr>
-->{{#if:{{{내용7|}}} |<tr>
{{#if:{{{묶음7|}}} |<th class="tp_link" style="background:#e6e6ff;white-space:nowrap;text-align:right;{{{묶음모양|}}}{{{홀수묶음모양|}}}{{{묶음7모양|}}} ">{{{묶음7|}}}</th>}}
{{#if:{{{묶음7|}}} |<th class="tp_link" style="white-space: nowrap; background: #E6E6FF; text-align: right;{{{묶음모양|}}}{{{홀수묶음모양|}}}{{{묶음7모양|}}} ">{{{묶음7|}}}</th>}}
<td style="{{{내용모양|}}}{{{홀수모양|}}}{{{내용7모양|}}}" colspan="{{#if:{{{묶음7|}}}|1|2}}"><div>
<td style="{{{내용모양|}}}{{{홀수모양|}}}{{{내용7모양|}}}" colspan="{{#if:{{{묶음7|}}}|1|2}}"><div>
{{{내용7}}}</div></td></tr>}} <!--
{{{내용7}}}</div></td></tr>}} <!--


-->{{#if:{{{내용8|}}} |<tr>
-->{{#if:{{{내용8|}}} |<tr>
{{#if:{{{묶음8|}}} |<th class="tp_link" style="background:#e6e6ff;white-space:nowrap;text-align:right;{{{묶음모양|}}}{{{짝수묶음모양|}}}{{{묶음8모양|}}} ">{{{묶음8|}}}</th>}}
{{#if:{{{묶음8|}}} |<th class="tp_link" style="white-space: nowrap; background: #E6E6FF; text-align: right;{{{묶음모양|}}}{{{짝수묶음모양|}}}{{{묶음8모양|}}} ">{{{묶음8|}}}</th>}}
<td style="{{{내용모양|}}}{{{짝수모양|}}}{{{내용8모양|}}}" colspan="{{#if:{{{묶음8|}}}|1|2}}"><div>
<td style="{{{내용모양|}}}{{{짝수모양|}}}{{{내용8모양|}}}" colspan="{{#if:{{{묶음8|}}}|1|2}}"><div>
{{{내용8}}}</div></td></tr>}} <!--
{{{내용8}}}</div></td></tr>}} <!--


-->{{#if:{{{내용9|}}} |<tr>
-->{{#if:{{{내용9|}}} |<tr>
{{#if:{{{묶음9|}}} |<th class="tp_link" style="background:#e6e6ff;white-space:nowrap;text-align:right;{{{묶음모양|}}}{{{홀수묶음모양|}}}{{{묶음9모양|}}} ">{{{묶음9|}}}</th>}}
{{#if:{{{묶음9|}}} |<th class="tp_link" style="white-space: nowrap; background: #E6E6FF; text-align: right;{{{묶음모양|}}}{{{홀수묶음모양|}}}{{{묶음9모양|}}} ">{{{묶음9|}}}</th>}}
<td style="{{{내용모양|}}}{{{홀수모양|}}}{{{내용9모양|}}}" colspan="{{#if:{{{묶음9|}}}|1|2}}"><div>
<td style="{{{내용모양|}}}{{{홀수모양|}}}{{{내용9모양|}}}" colspan="{{#if:{{{묶음9|}}}|1|2}}"><div>
{{{내용9}}}</div></td></tr>}}<!--
{{{내용9}}}</div></td></tr>}}<!--


-->{{#if:{{{내용10|}}} |<tr>
-->{{#if:{{{내용10|}}} |<tr>
{{#if:{{{묶음10|}}} |<th class="tp_link" style="background:#e6e6ff;white-space:nowrap;text-align:right;{{{묶음모양|}}}{{{짝수묶음모양|}}}{{{묶음10모양|}}} ">{{{묶음10|}}}</th>}}
{{#if:{{{묶음10|}}} |<th class="tp_link" style="white-space: nowrap; background: #E6E6FF; text-align: right;{{{묶음모양|}}}{{{짝수묶음모양|}}}{{{묶음10모양|}}} ">{{{묶음10|}}}</th>}}
<td style="{{{내용모양|}}}{{{짝수모양|}}}{{{내용10모양|}}}" colspan="{{#if:{{{묶음10|}}}|1|2}}"><div>
<td style="{{{내용모양|}}}{{{짝수모양|}}}{{{내용10모양|}}}" colspan="{{#if:{{{묶음10|}}}|1|2}}"><div>
{{{내용10}}}</div></td></tr>}}<!--
{{{내용10}}}</div></td></tr>}}<!--

2020년 11월 27일 (금) 17:55 판

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

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

또한, 묶음의 기본 배경색은 #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
이 틀 문서는 한국어 위키백과틀:둘러보기 상자/중첩 문서에서 분기하였습니다.
연습장이나 사용자 문서에서 틀의 사용이나 수정을 연습할 수 있습니다.
분류는 /설명문서에 넣어주세요.