편집 요약 없음 |
편집 요약 없음 |
||
6번째 줄: | 6번째 줄: | ||
↓접힌 문단↓ | ↓접힌 문단↓ | ||
--><div class="mw-customtoggle-{{{1|default}}} paragraph-folding" id="{{{anchor|{{{2|제목}}}}}}"><div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{1|default}}}" style="margin: .5rem 0 .6rem; padding: .5rem 0 calc(.6rem + 5px); border-bottom: 1px {{#ifeq:{{{type|}}}|namu|solid #ccc|dashed #e1e8ed}}; font-size: {{#switch:{{{단계|}}}|1=33|2=27|3=24|4=22.5|5=21.45|#default=27}}px; {{#ifeq:{{{type|}}}|namu|font-weight: bold;|}}">{{#ifeq:{{{번호|}}}|off||<span class="mw-headline-number">{{{번호|1}}}</span> }}{{{2|제목}}} <span style="color: #666; font-weight: normal;">ᐯ</span>{{#ifeq:{{{편집|}}}|off||<span style="{{#ifeq:{{{type|}}}|namu|float: right;|}} margin-left: 13px; font-size: 13px; font-weight: {{#ifeq:{{{type|}}}|namu|bold|normal}}; vertical-align: baseline;">[{{#ifeq:{{{type|}}}|namu||<span class="plainlinks" style="margin-left: 3.25px;">[{{fullurl:{{FULLPAGENAME}}|veaction=edit}} <span title="편집: {{{2|제목}}}">편집</span>]</span> {{!}} |}}<span class="plainlinks" {{#ifeq:{{{type|}}}|namu||style="margin-right: 3.25px;"}}>[{{fullurl:{{FULLPAGENAME}}|action=edit}} <span title="편집: {{{2|제목}}}">원본 편집</span>]</span>]</span>}}</div><!-- | --><div class="mw-customtoggle-{{{1|default}}} paragraph-folding" id="{{{anchor|{{{2|제목}}}}}}"><div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{1|default}}}" style="margin: .5rem 0 .6rem; padding: .5rem 0 calc(.6rem + 5px); border-bottom: 1px {{#ifeq:{{{type|}}}|namu|solid #ccc|dashed #e1e8ed}}; font-size: {{#switch:{{{단계|}}}|1=33|2=27|3=24|4=22.5|5=21.45|#default=27}}px; {{#ifeq:{{{type|}}}|namu|font-weight: bold;|}}">{{#ifeq:{{{번호|}}}|off||<span class="mw-headline-number">{{{번호|1}}}</span> }}{{{2|제목}}} <span class="folding-arrow" style="color: #666; font-weight: normal;">ᐯ</span>{{#ifeq:{{{편집|}}}|off||<span style="{{#ifeq:{{{type|}}}|namu|float: right;|}} margin-left: 13px; font-size: 13px; font-weight: {{#ifeq:{{{type|}}}|namu|bold|normal}}; vertical-align: baseline;">[{{#ifeq:{{{type|}}}|namu||<span class="plainlinks" style="margin-left: 3.25px;">[{{fullurl:{{FULLPAGENAME}}|veaction=edit}} <span title="편집: {{{2|제목}}}">편집</span>]</span> {{!}} |}}<span class="plainlinks" {{#ifeq:{{{type|}}}|namu||style="margin-right: 3.25px;"}}>[{{fullurl:{{FULLPAGENAME}}|action=edit}} <span title="편집: {{{2|제목}}}">원본 편집</span>]</span>]</span>}}</div><!-- | ||
↓펼친 문단↓ | ↓펼친 문단↓ | ||
--><div class="mw-collapsible" id="mw-customcollapsible-{{{1|default}}}" style="margin: .5rem 0 .6rem; padding: .5rem 0 calc(.6rem + 5px); border-bottom: 1px {{#ifeq:{{{type|}}}|namu|solid #ccc|dashed #e1e8ed}}; font-size: {{#switch:{{{단계|}}}|1=33|2=27|3=24|4=22.5|5=21.45|#default=27}}px; opacity: .5; {{#ifeq:{{{type|}}}|namu|font-weight: bold;|}}">{{#ifeq:{{{번호|}}}|off||<span class="mw-headline-number">{{{번호|1}}}</span> }}{{{2|제목}}} <span style="color: #666; font-weight: normal;">ᐳ</span>{{#ifeq:{{{편집|}}}|off||<span style="{{#ifeq:{{{type|}}}|namu|float: right;|}} margin-left: 13px; font-size: 13px; font-weight: {{#ifeq:{{{type|}}}|namu|bold|normal}}; vertical-align: baseline;">[{{#ifeq:{{{type|}}}|namu||<span class="plainlinks" style="margin-left: 3.25px;">[{{fullurl:{{FULLPAGENAME}}|veaction=edit}} <span title="편집: {{{2|제목}}}">편집</span>]</span> {{!}} |}}<span class="plainlinks" {{#ifeq:{{{type|}}}|namu||style="margin-right: 3.25px;"}}>[{{fullurl:{{FULLPAGENAME}}|action=edit}} <span title="편집: {{{2|제목}}}">원본 편집</span>]</span>]</span>}}</div></div><!-- | --><div class="mw-collapsible" id="mw-customcollapsible-{{{1|default}}}" style="margin: .5rem 0 .6rem; padding: .5rem 0 calc(.6rem + 5px); border-bottom: 1px {{#ifeq:{{{type|}}}|namu|solid #ccc|dashed #e1e8ed}}; font-size: {{#switch:{{{단계|}}}|1=33|2=27|3=24|4=22.5|5=21.45|#default=27}}px; opacity: .5; {{#ifeq:{{{type|}}}|namu|font-weight: bold;|}}">{{#ifeq:{{{번호|}}}|off||<span class="mw-headline-number">{{{번호|1}}}</span> }}{{{2|제목}}} <span class="folding-arrow" style="color: #666; font-weight: normal;">ᐳ</span>{{#ifeq:{{{편집|}}}|off||<span style="{{#ifeq:{{{type|}}}|namu|float: right;|}} margin-left: 13px; font-size: 13px; font-weight: {{#ifeq:{{{type|}}}|namu|bold|normal}}; vertical-align: baseline;">[{{#ifeq:{{{type|}}}|namu||<span class="plainlinks" style="margin-left: 3.25px;">[{{fullurl:{{FULLPAGENAME}}|veaction=edit}} <span title="편집: {{{2|제목}}}">편집</span>]</span> {{!}} |}}<span class="plainlinks" {{#ifeq:{{{type|}}}|namu||style="margin-right: 3.25px;"}}>[{{fullurl:{{FULLPAGENAME}}|action=edit}} <span title="편집: {{{2|제목}}}">원본 편집</span>]</span>]</span>}}</div></div><!-- | ||
↓실제 문단↓ | ↓실제 문단↓ |
2023년 7월 11일 (화) 17:44 판
틀:문단접기2 | |
---|---|
사용문서
|
|
넘겨주기
|
이동하기
|
[ 주요 업데이트 노트 ]
|
설명
기본적으로는 {{문단접기}}와 같지만 다음과 같은 장단점이 있습니다.
문단접기 | 문단접기2 | |
---|---|---|
장점 |
|
|
단점 |
|
|
사용법
{{문단접기}}보다 복잡합니다.
{{문단접기2|아이디|제목|단계=|번호=}}
위는 필수 변수들입니다. 번호 변수를 off로 하면 문단 번호 자체가 사라지며, 편집 변수를 off로 하면 제목 옆 편집 버튼들이 사라집니다.
단계 변수는 위키 문법에서 문단 제목 양옆에 붙는 등호의 개수를 말합니다. 예를 들어 단계=2
는 == 문단 ==
을 말합니다.
{{pf-c}}는 이 틀에도 똑같이 사용할 수 있습니다.
이 문단은 이 틀을 사용해 접은 문단입니다.
{{문단접기2|example|눌러보세요|단계=2|번호=3}} {{pf-c|example|이 문단은 이 틀을 사용해 접은 문단입니다.}}