"틀:틀 설명문서"의 두 판 사이의 차이
둘러보기로 이동
검색으로 이동
(125.186.13.155 (토론) 의 12692 판 편집을 되돌림) |
|||
(사용자 2명의 중간 판 2개는 보이지 않습니다) | |||
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: {{ | + | | {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop |
− | | {{ | + | | {{pp-template|docusage=yes}} |
− | | {{#if: {{ | + | | {{#if: {{PROTECTIONLEVEL:edit}} |
− | | {{ | + | | {{pp-template|docusage=yes}} |
− | | <!-- | + | | <!--Not protected, or only semi-move-protected--> |
}} | }} | ||
}} | }} | ||
}}<!-- | }}<!-- | ||
− | + | Start of green doc box. | |
− | -->{{ | + | -->{{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:{{{ | + | {{#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. | |
− | -->{{ | + | -->{{documentation/end box2 |
− | | | + | | preload = {{{preload|}}} <!--Allow custom preloads--> |
− | | | + | | content = {{{content|}}} |
− | | | + | | link box = {{{link box|}}} <!--So "link box=off" works--> |
− | <!--Some namespaces must have the / | + | <!--Some namespaces must have the /doc, /sandbox and /testcases |
in talk space--> | in talk space--> | ||
− | | | + | | docspace = {{documentation/docspace}} |
− | | 1 = {{{1|}}} <!-- | + | | 1 = {{{1|}}} <!--Other docname, if fed--> |
− | <!--The namespace is added in / | + | <!--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 / | + | <!-- Add categories and interwikis to the /doc subpage, not here! --> |
</noinclude> | </noinclude> |
2011년 10월 11일 (화) 01:08 기준 최신판
[편집] [ ]
틀 설명

위 설명은 틀:틀 설명문서/설명문서에서 내용을 가져와 설명하고 있습니다. (편집 | 역시) 이 틀을 사용하기 전에 수정 연습 및 시험은 연습장 (만들기) 및 시험장 (만들기) 에서 해 보실 수 있습니다. 분류는 /설명문서에 넣어주세요. 이 틀에 딸린 문서. |