Difference between revisions of "Template:Documentation"
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 | -->{{#ifeq: {{SUBPAGENAME}} | sandbox | ||
Line 20: | Line 20: | ||
| content = {{{content|}}} | | content = {{{content|}}} | ||
| link box = {{{link box|}}} <!--So "link box=off" works--> | | link box = {{{link box|}}} <!--So "link box=off" works--> | ||
− | |||
<!--Some namespaces must have the /doc, /sandbox and /testcases | <!--Some namespaces must have the /doc, /sandbox and /testcases | ||
in talk space--> | in talk space--> | ||
| docspace = | | docspace = | ||
{{#switch: {{SUBJECTSPACE}} | {{#switch: {{SUBJECTSPACE}} | ||
+ | | {{ns:0}} | ||
+ | | {{ns:File}} | ||
+ | | {{ns:MediaWiki}} | ||
+ | | {{ns:Category}} = {{TALKSPACE}} | ||
+ | | #default = {{SUBJECTSPACE}} | ||
+ | }} | ||
+ | |||
+ | | 1 = {{{1|}}} <!--Other docname, if fed--> | ||
+ | |||
+ | <!--The namespace is added in /core2--> | ||
+ | | template page = | ||
+ | {{#switch: {{SUBPAGENAME}} | ||
+ | | sandbox | ||
+ | | testcases = {{BASEPAGENAME}} | ||
+ | | #default = {{PAGENAME}} | ||
+ | }} | ||
+ | |||
+ | }}<!--End of green doc box--><noinclude> | ||
+ | |||
+ | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
+ | </noinclude> |
Revision as of 09:30, 4 June 2010
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. |