1번째 줄: |
1번째 줄: |
| <!-- | | <!-- |
− | /연습장 문서에 대해서 자동으로 {{틀 연습장 안내}}를 붙인다. | + | Automatically add {{template sandbox notice}} when on a /sandbox page. |
− | -->{{#ifeq: {{하위문서이름}} | 연습장 | + | -->{{#ifeq: {{SUBPAGENAME}} | sandbox |
− | | <div style="clear: both;"></div>{{틀 연습장 안내}} | + | | <div style="clear: both;"></div>{{template sandbox notice}} |
| }}<!-- | | }}<!-- |
− | 보호된 틀에 자동으로 {{보호-틀}} 틀을 붙인다. | + | Automatically add {{pp-template}} to protected templates. |
− | -->{{틀 기타 | + | -->{{template other |
− | | {{#ifeq: {{보호수준:move}} | sysop | + | | {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop |
− | | {{보호-틀}} | + | | {{pp-template|docusage=yes}} |
− | | {{#if: {{보호수준:edit}} | + | | {{#if: {{PROTECTIONLEVEL:edit}} |
− | | {{보호-틀}} | + | | {{pp-template|docusage=yes}} |
− | | <!--비보호, 또는 이동-준보호--> | + | | <!--Not protected, or only semi-move-protected--> |
| }} | | }} |
| }} | | }} |
| }}<!-- | | }}<!-- |
− | 녹색 설명문서 상자 시작 | + | Start of green doc box. |
− | -->{{틀 설명문서/시작상자2 | + | -->{{documentation/start box2 |
− | | 미리싣기 = {{{미리싣기|}}} <!--사용자 미리싣기 지원--> | + | | preload = {{{preload|}}} <!--Allow custom preloads--> |
− | | 제목 = {{{제목|¬}}} <!--빈 값을 넣으면 헤더를 없앤다--> | + | | heading = {{{heading|¬}}} <!--Empty but defined means no header--> |
− | | 제목-모양 = {{{제목-모양|}}} | + | | heading-style = {{{heading-style|}}} |
− | | 내용 = {{{내용|}}} | + | | content = {{{content|}}} |
| | | |
− | <!--토론 공간에 /설명문서, /연습장, /시험장 등을 만들어야 하는 경우 처리 --> | + | <!--Some namespaces must have the /doc, /sandbox and /testcases |
− | | 설명공간 = {{틀 설명문서/설명공간}} | + | in talk space--> |
− | | 1 = {{{1|}}} <!--다른 설명문서 이름--> | + | | docspace = {{documentation/docspace}} |
| + | |
| + | | 1 = {{{1|}}} <!--Other docname, if fed--> |
| + | |
| + | <!--The namespace is added in /start box2--> |
| + | | template page = {{documentation/template page}} |
| | | |
− | <!-- /연습장, /시험장 등을 뗀 원래의 틀 이름을 돌려준다. -->
| + | }}<!-- Start content --><!-- |
− | | 틀문서 = {{틀 설명문서/틀문서}}
| + | Start load the /doc content: |
− | }}<!-- 내용 시작 --><!-- | + | Note: The line breaks between this comment and the next line are necessary |
− | /설명문서 내용 표시를 시작한다. | + | so "=== Headings ===" at the start and end of docs are interpreted. |
− | 알림: 이 주석 다음의 줄바꿈은 일부러 넣은 것입니다. | |
− | 줄바꿈이 있어야 "=== 제목 ===" 이 올바르게 표시됩니다. | |
| --> | | --> |
− | {{#switch: {{#if:{{{내용|}}}|1|0}}{{#if:{{{1|}}}|1|0}}{{#ifexist:{{{1|}}}|1|0}}{{#ifexist:{{틀 설명문서/설명공간}}:{{틀 설명문서/틀문서}}/설명문서|1|0}} | + | {{#switch: {{#if:{{{content|}}}|1|0}}{{#if:{{{1|}}}|1|0}}{{#ifexist:{{{1|}}}|1|0}}{{#ifexist:{{documentation/docspace}}:{{documentation/template page}}/doc|1|0}} |
| | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | | | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 |
− | | 1111 = {{{내용|}}} | + | | 1111 = {{{content|}}} |
| | 0110 | 0111 = {{ {{{1}}} }} | | | 0110 | 0111 = {{ {{{1}}} }} |
− | | 0001 | 0011 = {{ {{틀 설명문서/설명공간}}:{{틀 설명문서/틀문서}}/설명문서 }} | + | | 0001 | 0011 = {{ {{documentation/docspace}}:{{documentation/template page}}/doc }} |
| | 0000 | 0100 | 0010 | 0101 = | | | 0000 | 0100 | 0010 | 0101 = |
| }} | | }} |
| <!-- | | <!-- |
− | /설명문서 내용 표시를 마친다. | + | End load the /doc content: |
− | 알림: 이 주석 앞의 줄바꿈은 일부러 넣은 것입니다. | + | Note: The line breaks between this comment and the previous line are necessary |
− | 줄바꿈이 있어야 "=== 제목 ===" 이 올바르게 표시됩니다. | + | so "=== Headings ===" at the start and end of docs are interpreted. |
− | -->{{틀 설명문서/끝상자2 | + | -->{{documentation/end box2 |
− | | 미리싣기 = {{{미리싣기|}}} <!--사용자 미리싣기 지원--> | + | | preload = {{{preload|}}} <!--Allow custom preloads--> |
− | | 내용 = {{{내용|}}} | + | | content = {{{content|}}} |
− | | 연결상자 = {{{연결상자|}}} <!--So "연결상자=off" works--> | + | | link box = {{{link box|}}} <!--So "link box=off" works--> |
| | | |
− | <!--Some namespaces must have the /설명문서, /sandbox and /testcases | + | <!--Some namespaces must have the /doc, /sandbox and /testcases |
| in talk space--> | | in talk space--> |
− | | 설명공간 = {{틀 설명문서/설명공간}} | + | | docspace = {{documentation/docspace}} |
| | | |
− | | 1 = {{{1|}}} <!--다른 설명파일, if fed--> | + | | 1 = {{{1|}}} <!--Other docname, if fed--> |
| | | |
− | <!--The namespace is added in /끝상자2--> | + | <!--The namespace is added in /end box2--> |
− | | 틀문서 = {{틀 설명문서/틀문서}} | + | | template page = {{documentation/template page}} |
| | | |
| }}<!-- | | }}<!-- |
− | 녹색 설명문서 상자 끝 | + | End of green doc box |
| --><noinclude> | | --><noinclude> |
| | | |
− | <!-- Add categories and interwikis to the /설명문서 subpage, not here! --> | + | <!-- Add categories and interwikis to the /doc subpage, not here! --> |
| </noinclude> | | </noinclude> |