Anonymous user
Template:Documentation: Difference between revisions
m
some doc pages need a few parameters (e.g. for feeding categories in their includeonly section, or for the actual template name to document)
No edit summary |
m (some doc pages need a few parameters (e.g. for feeding categories in their includeonly section, or for the actual template name to document)) |
||
Line 1:
{{documentation/core2
-->{{#ifeq: {{SUBPAGENAME}} | sandbox |▼
▲| heading = {{{heading|¬}}}<!-- Empty but defined means no header -->
| heading-style = {{{heading-style|}}}
| template page =
<!--The namespace is added in /core2-->
| sandbox
| testcases = {{BASEPAGENAME}}
| #default = {{PAGENAME}}
}}
| docspace =
{{#switch: {{SUBJECTSPACE}}
| {{ns:0}}
| {{ns:File}}
| {{ns:MediaWiki}}
| {{ns:Category}} = {{TALKSPACE}}
| #default = {{SUBJECTSPACE}}
}}
| content = {{{content|}}}
▲| docspace = {{documentation/docspace}}<!-- Some namespaces must have the /doc, /sandbox and /testcases in talk space -->
|
| {{#if: {{{3|}}} | 3 | <!--dummy--> }} = {{{3|}}} <!--Other parameters for doc page, if fed-->
| {{#if: {{{4|}}} | 4 | <!--dummy--> }} = {{{4|}}} <!--Other parameters for doc page, if fed-->
}}<
<!-- Add categories and interwikis to the /doc subpage, not here! ??? -->▼
▲| link box = {{{link box|}}}<!-- So "link box=off" works -->
▲| 1 = {{{1|}}}<!-- Other docname, if fed -->
▲<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
|