큰숲백과>동명성왕
내용을 "{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}"(으)로 바꿈
편집 요약 없음
 
(사용자 3명의 중간 판 38개는 보이지 않습니다)
1번째 줄: 1번째 줄:
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}
<onlyinclude><includeonly>{{#css:
.template-documentation {
    clear: both;
    margin: 1em 0 0 0;
    padding: 1em
}
/* 아래 상자 */
.mbox-text {
    clear: both;
    background-color: #e8ffe8;
}
 
.template-documentation-template-data .mw-templatedata-doc-desc {
    display: none;
}
}}<div class="template-documentation" style="background: {{{배경색|{{skin|2}}}}};"><!--
 
            >> 설명상자의 제목 <<
--><div class="template-documentation-title" style="padding-bottom: 3px; border-bottom: 1px solid #ddd; margin-bottom: 1ex;"><span style="font-weight: bold; font-size: 125%;">설명문서 </span><!--
 
            >> [편집](또는 [만들기]), [역사] 그리고 [새로고침] 링크 <<
-->{{#if:{{{내용|}}}||<span class="plainlinks" style="float: right">{{#ifexist: {{#if: {{{1|}}} | {{{1}}} | {{전체문서이름}}/설명문서}}<!--
 
            >> {{{1}}}(다른 설명문서) 또는 /설명문서 있음 <<
-->| <nowiki>[</nowiki>[[{{#if: {{{1|}}} | {{{1}}} | {{전체문서이름}}/설명문서 }}|보기]]<nowiki>]</nowiki> [[{{fullurl:{{#if: {{{1|}}}|{{{1}}}|{{전체문서이름}}/설명문서}}|action=edit}} 편집]] [[{{fullurl:{{#if: {{{1|}}}|{{{1}}}|{{전체문서이름}}/설명문서}}|action=history}} 역사]] [{{새로고침}}]<!--
 
            >> {{{1}}}(다른 설명문서) 또는 /설명문서 없음 <<
-->| [[{{fullurl:{{전체문서이름}}/설명문서|action=edit}} 만들기]]
  }}</span>}}</div><!--
 
            >> 설명문서 내용. {{{1}}} 또는 /설명문서 내용을 표시 <<
            >> 주석 아래의 줄바꿈이 있어야 문단이 제대로 표시됩니다. <<
-->
<div class="template-documentation-content">
{{#if: {{{내용|}}}
|{{{내용|}}}
|{{#if: {{{1|}}} | {{ {{{1}}} }} | {{ {{전체문서이름}}/설명문서 }} }}
}}<div style="clear: both;"></div>
<!--
-->{{#if:{{{틀 데이터|}}}|<div class="template-documentation-template-data"><h2>틀 데이터</h2>{{{틀 데이터|}}}</div>}}</div><!--
 
            >> 주석 위의 줄바꿈이 있어야 문단이 제대로 표시됩니다. <<
--><div style="clear: both;"></div>
</div><!--
 
            >> 설명문서와 관련된 정보를 보여주는 상자 <<
-->{{#if:{{{내용|}}}||<div class="template-documentation" style="background-color: {{{배경색|{{skin|2}}}}}; margin-top: 3px; padding: 0.5em 1em;">
<div>위 설명은 [[{{전체문서이름}}/설명문서]]의 내용을 가져와 보여주고 있습니다.</div>
<div>[[{{전체문서이름}}/연습장|연습장]]이나 사용자 문서에서 틀의 사용이나 수정을 연습할 수 있습니다.</div>
<div>분류는 [[{{#if: {{{1|}}}| {{{1}}}| {{전체문서이름}}/설명문서}}|/설명문서]]에 넣어주세요. [[특수:접두어찾기/{{전체문서이름}}/|이 틀의 하위문서]].</div></div>}}</includeonly></onlyinclude><noinclude>
{{설명문서|틀 데이터=<templatedata>
{
"params": {
"1": {
"description": "끼워넣을 설명문서의 이름을 입력합니다.",
"type": "wiki-page-name",
"default": "{{전체문서이름}}/설명문서"
},
"배경색": {
"description": "배경색을 지정합니다",
"type": "string",
"suggestedvalues": [
"#ddd",
"palegreen",
"rgb(221 221 221)",
"hsl(0deg 0% 86.67%)"
]
},
"틀 데이터": {
"description": "틀 데이터를 입력합니다.",
"example": "<templatedata>.....",
"type": "content"
},
"내용": {
"description": "틀 문서를 끼워넣는 대신 직접 내용을 입력합니다. 이때 설명문서가 끼워넣어지지 않으므로 편집 링크는 따로 나타나지 않습니다.",
"type": "content"
}
},
"description": "틀의 설명을 보여주는 틀입니다."
}
</templatedata>}}</noinclude>