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

편집 요약 없음
편집 요약 없음
10번째 줄: 10번째 줄:


-->{{#if:{{{내용1|}}}|<tr><!--
-->{{#if:{{{내용1|}}}|<tr><!--
  -->{{#if:{{{묶음1|}}}|<th class="tp_link" style="width: 1%; white-space: nowrap; background: #E6E6FF; text-align: right;{{{묶음모양|}}}{{{묶음1모양|}}}">{{{묶음1|}}}</th>}}
  -->{{#if:{{{묶음1|}}}|<th class="tp_link" style="width: 1%; white-space: nowrap; background: #E6E6FF; text-align: right;{{{묶음모양|}}}{{{홀수묶음모양|}}}{{{묶음1모양|}}}">{{{묶음1|}}}</th>}}
     <td colspan="{{#if:{{{묶음1|}}}|1|2}}" class="navbox-list {{{내용속성|}}}" style="text-align: {{#if:{{{묶음1|}}}|left|center}};{{{내용모양|}}}{{{홀수모양|}}}{{{내용1모양|}}}"><div>
     <td colspan="{{#if:{{{묶음1|}}}|1|2}}" class="navbox-list {{{내용속성|}}}" style="text-align: {{#if:{{{묶음1|}}}|left|center}};{{{내용모양|}}}{{{홀수모양|}}}{{{내용1모양|}}}"><div>
{{{내용1}}}</div></td><!--
{{{내용1}}}</div></td><!--
16번째 줄: 16번째 줄:


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


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


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


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


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


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


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


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


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


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


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


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


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


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


91번째 줄: 91번째 줄:
   </tr>}}<!--
   </tr>}}<!--


--></table>{{#if:{{{list1|}}}{{{group1|}}}{{{groupstyle|}}}{{{groupoddstyle|}}}{{{groupevenstyle|}}}{{{group1style|}}}{{{liststyle|}}}{{{evenstyle|}}}{{{list1style|}}}{{{listclass|}}}|[[분류:없는 변수를 사용하는 틀과 문서|(]]}}</onlyinclude>
--></table>{{#if:{{{list1|}}}{{{group1|}}}{{{group1style|}}}{{{evenstyle|}}}{{{list1style|}}}|[[분류:없는 변수를 사용하는 틀과 문서|(]]}}</onlyinclude>
{{틀 설명문서}}
{{틀 설명문서}}

2020년 5월 28일 (목) 19:16 판

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

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

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