Template:Documentation: Difference between revisions
Jump to navigation
Jump to search
Created page with "<!-- Automatically add {{template sandbox notice}} when on a /sandbox page. -->{{#ifeq: {{SUBPAGENAME}} | sandbox | <div style="clear: both;"></div>..." |
No edit summary |
||
Line 1: | Line 1: | ||
<!-- | |||
Automatically add {{template sandbox notice}} when on a /sandbox page. | Automatically add {{template sandbox notice}} when on a /sandbox page. | ||
-- | -->{{#ifeq: {{SUBPAGENAME}} | sandbox | ||
| | | <div style="clear: both;"></div>{{template sandbox notice}} | ||
}} | }}<!-- | ||
Automatically add {{pp-template}} to protected templates. | Automatically add {{pp-template}} to protected templates. | ||
-- | -->{{template other | ||
| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop | | {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop | ||
| {{pp-template}} | | {{pp-template}} | ||
| {{#if: {{PROTECTIONLEVEL:edit}} | | {{#if: {{PROTECTIONLEVEL:edit}} | ||
| {{pp-template}} | | {{pp-template}} | ||
| | | <!--Not protected, or only semi-move-protected--> | ||
}} | }} | ||
}} | }} | ||
}} | }}<!-- | ||
Start of green doc box. | Start of green doc box. | ||
-- | -->{{documentation/core2 | ||
| heading = {{{heading|¬}}} | | heading = {{{heading|¬}}} <!--Empty but defined means no header--> | ||
| heading-style = {{{heading-style|}}} | | heading-style = {{{heading-style|}}} | ||
| content = {{{content|}}} | | content = {{{content|}}} | ||
| link box = {{{link box|}}} | | link box = {{{link box|}}} <!--So "link box=off" works--> | ||
<!--Some namespaces must have the /doc, /sandbox and /testcases | |||
in talk space-- | in talk space--> | ||
| docspace = | | docspace = | ||
{{#switch: {{SUBJECTSPACE}} | {{#switch: {{SUBJECTSPACE}} | ||
Line 32: | Line 32: | ||
}} | }} | ||
| 1 = {{{1|}}} | | 1 = {{{1|}}} <!--Other docname, if fed--> | ||
<!--The namespace is added in /core2--> | |||
| template page = | | template page = | ||
{{#switch: {{SUBPAGENAME}} | {{#switch: {{SUBPAGENAME}} | ||
Line 42: | Line 42: | ||
}} | }} | ||
}} | }}<!--End of green doc box--><noinclude> | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | |||
</noinclude> |
Latest revision as of 16:04, 10 October 2010
[create] File:Template-info.svg Template documentation
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |