Changes

Template:Documentation

975 bytes added, 18:40, 12 October 2010
Reducing transclusion depth per discussion on talk page
}}<!--
Start of green doc box.
-->{{documentation/core2core
| preload = {{{preload|}}} <!--Allow custom preloads-->
| heading = {{{heading|¬}}} <!--Empty but defined means no header-->
| link box = {{{link box|}}} <!--So "link box=off" works-->
| docpage = {{#if: {{{1|}}} | {{{1|}}} | {{#switch: {{SUBJECTSPACE}} | {{ns:0}} | {{ns:File}} | {{ns:MediaWiki}} | {{ns:Category}} = {{TALKSPACE}} | #default = {{SUBJECTSPACE}} }}:{{#switch: {{SUBPAGENAME}} | sandbox | testcases = {{BASEPAGENAME}} | #default = {{PAGENAME}} }}/doc }}| doc exist = {{#ifexist: {{#if: {{{1|}}} | {{{1|}}} <!--Some namespaces must have the /doc, /sandbox and /testcases in talk spaceOther docname fed--> | docspace = {{#switch: {{SUBJECTSPACE}}
| {{ns:0}}
| {{ns:File}}
| {{ns:Category}} = {{TALKSPACE}}
| #default = {{SUBJECTSPACE}}
}}:{{#switch: {{SUBPAGENAME}}
| sandbox
| testcases = {{BASEPAGENAME}}
| #default = {{PAGENAME}}
}}/doc
}}
| yes
}}
| docname fed =
{{#if: {{{1|}}}
| yes
}}
| 1 sandbox = {{#switch: {{SUBJECTSPACE}} | {{ns:0}} | {{ns:File}} | {{ns:MediaWiki}} | {{ns:Category}} = {{TALKSPACE}} | #default = {{SUBJECTSPACE}} }}:{{#switch: {{SUBPAGENAME}} | sandbox | testcases = {{BASEPAGENAME}} | #default = {{PAGENAME}} }}/sandbox| testcases = {{#switch: {{SUBJECTSPACE}} | {{ns:0}} | {{ns:File}} | {{ns:MediaWiki}} | {{ns:Category}} = {{TALKSPACE}} | #default = {{SUBJECTSPACE}} }}:{{#switch: {{1SUBPAGENAME}} |sandbox | testcases = {{BASEPAGENAME}} | #default = {{PAGENAME}} <!--Other docname, if fed-->}}/testcases
<!--The namespace is added in /core2-->
| template page =
{{NAMESPACE}}:{{#switch: {{SUBPAGENAME}}
| sandbox
| testcases = {{BASEPAGENAME}}
Anonymous user