Template:Documentation: Difference between revisions
Content deleted Content added
imported>Davidgothberg Adding the "link box = off" parameter. |
imported>Davidgothberg Calling /core2 for more parameter preprocessing, it in turn calls /core. Since adding smarter namespace handling, and stuff for debug-reporting to a category. See talk, "Subject space vs talk space". |
||
Line 15:
}}<!--
Start of green doc box.
-->{{documentation/
| 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
| {{{1|}}}▼
in talk space-->
| {{#switch: {{SUBPAGENAME}}▼
| docspace =
| #default = {{SUBJECTPAGENAME}}/doc▼
|
| {{ns:MediaWiki}}
| {{ns:Category}} = {{TALKSPACE}}
}}
<!--For debug purposes-->
| not-docspace =
{{#switch:
| #default =
}}
| 1 = {{{1|}}} <!--Other docname, if fed-->
<!--The namespace is added in /core2-->
| template page =
{{#switch: {{SUBPAGENAME}}
| sandbox
| testcases = {{
| #default = {{
}}
▲| link box = {{{link box|}}} <!--So "link box=off" works-->
}}<!--End of green doc box--><noinclude>
|