Difference between revisions of "Template:Documentation/sandbox"
Jump to navigation
Jump to search
test>Plastikspork (sync with template) |
test>Plastikspork (Refactoring to reduce transclusion depth) |
||
| Line 15: | Line 15: | ||
}}<!-- | }}<!-- | ||
Start of green doc box. | Start of green doc box. | ||
| − | -->{{documentation/ | + | -->{{documentation/start box2 |
| preload = {{{preload|}}} <!--Allow custom preloads--> | | preload = {{{preload|}}} <!--Allow custom preloads--> | ||
| heading = {{{heading|¬}}} <!--Empty but defined means no header--> | | heading = {{{heading|¬}}} <!--Empty but defined means no header--> | ||
| Line 43: | Line 43: | ||
}} | }} | ||
| − | }}<!--End of green doc box--><noinclude> | + | }}<!-- Start content -->{{documentation/mid box2 |
| + | | preload = {{{preload|}}} <!--Allow custom preloads--> | ||
| + | | heading = {{{heading|¬}}} <!--Empty but defined means no header--> | ||
| + | | heading-style = {{{heading-style|}}} | ||
| + | | content = {{{content|}}} | ||
| + | | link box = {{{link box|}}} <!--So "link box=off" works--> | ||
| + | |||
| + | <!--Some namespaces must have the /doc, /sandbox and /testcases | ||
| + | in talk space--> | ||
| + | | docspace = | ||
| + | {{#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-->{{documentation/end box2 | ||
| + | | preload = {{{preload|}}} <!--Allow custom preloads--> | ||
| + | | heading = {{{heading|¬}}} <!--Empty but defined means no header--> | ||
| + | | heading-style = {{{heading-style|}}} | ||
| + | | content = {{{content|}}} | ||
| + | | link box = {{{link box|}}} <!--So "link box=off" works--> | ||
| + | |||
| + | <!--Some namespaces must have the /doc, /sandbox and /testcases | ||
| + | in talk space--> | ||
| + | | docspace = | ||
| + | {{#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}} | ||
| + | }} | ||
| + | |||
| + | }}<noinclude> | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||
Revision as of 23:11, 13 November 2010
| 50px | This is the template sandbox page for Template:Documentation (diff). See also the companion subpage for test cases. |
| The above documentation is transcluded from Template:Documentation/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |