Template:Documentation: Difference between revisions
Content deleted Content added
imported>MSGJ hive off links to /sandbox and /testcases to subtemplate, so that same code can be used in Template:Category interwiki |
m 183 revisions from meta:Template:Documentation |
||
(25 intermediate revisions by 14 users not shown) | |||
Line 1:
{{documentation/core2
| heading = {{{heading|¬}}} <!--Empty but defined means no header-->
| heading-style = {{{heading-style|}}}
| 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:File}}
| {{ns:MediaWiki}}
Start of green doc box.▼
| {{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}}
}}
▲}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
|