Difference between revisions of "Template:Documentation"
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>...") |
|||
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> |