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

편집 요약 없음
잔글편집 요약 없음
(같은 사용자의 중간 판 7개는 보이지 않습니다)
1번째 줄: 1번째 줄:
<onlyinclude><table class="navbox nowraplinks" style="background: transparent; font-size: 100%; text-align: left; border: none; padding: 0em; margin: -2px;{{{전체모양|{{{bodystyle|}}}}}}"><!--
<onlyinclude><table class="navbox nowraplinks" style="background: transparent; font-size: 100%; text-align: left; border: none; padding: 0; margin: -2px;{{{전체모양|}}}"><!--


=== 윗글 (선택) ===
=== 윗글 (선택) ===
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><!--
--></tr>}}<!--
--></tr>}}<!--


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


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


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


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


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


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


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


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


-->{{#if:{{{list10|{{{내용10|}}}}}} |<tr>
-->{{#if:{{{내용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:{{{묶음10|}}} |<th class="tp_link" style="white-space: nowrap; background: #E6E6FF; text-align: right;{{{묶음모양|}}}{{{짝수묶음모양|}}}{{{묶음10모양|}}} ">{{{묶음10|}}}</th>}}
<td style="{{{liststyle|{{{내용모양|}}}}}}{{{evenstyle|}}}{{{list10style|}}}" colspan="{{#if:{{{group10|{{{묶음10|}}}}}}|1|2}}"><div>
<td style="{{{내용모양|}}}{{{짝수모양|}}}{{{내용10모양|}}}" colspan="{{#if:{{{묶음10|}}}|1|2}}"><div>
{{{list10|{{{내용10}}}}}}</div></td></tr>}}<!--
{{{내용10}}}</div></td></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>}}
<td style="{{{liststyle|{{{내용모양|}}}}}}{{{evenstyle|}}}{{{list11style|}}}" colspan="{{#if:{{{group11|{{{묶음11|}}}}}}|1|2}}"><div>
{{{list11|{{{내용11}}}}}}</div></td></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>}}
<td style="{{{liststyle|{{{내용모양|}}}}}}{{{evenstyle|}}}{{{list12style|}}}" colspan="{{#if:{{{group12|{{{묶음12|}}}}}}|1|2}}"><div>
{{{list12|{{{내용12}}}}}}</div></td></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>}}
<td style="{{{liststyle|{{{내용모양|}}}}}}{{{evenstyle|}}}{{{list13style|}}}" colspan="{{#if:{{{group13|{{{묶음13|}}}}}}|1|2}}"><div>
{{{list13|{{{내용13}}}}}}</div></td></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>}}
<td style="{{{liststyle|{{{내용모양|}}}}}}{{{evenstyle|}}}{{{list14style|}}}" colspan="{{#if:{{{group14|{{{묶음14|}}}}}}|1|2}}"><div>
{{{list14|{{{내용14}}}}}}</div></td></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>}}
<td style="{{{liststyle|{{{내용모양|}}}}}}{{{evenstyle|}}}{{{list15style|}}}" colspan="{{#if:{{{group15|{{{묶음15|}}}}}}|1|2}}"><div>
{{{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>}}<!--


=== 아랫글 (선택) ===
=== 아랫글 (선택) ===
116번째 줄: 66번째 줄:
   </tr>}}<!--
   </tr>}}<!--


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

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