Difference between revisions of "Template:Documentation subpage"
(add support for module categories) |
m |
||
Line 7: | Line 7: | ||
| image = [[File:Edit-copy green.svg|40px]] | | image = [[File:Edit-copy green.svg|40px]] | ||
| text = | | text = | ||
− | '''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br />It contains usage information, [[Wikipedia:Categorization|categories]] and other content that is not part of the original {{ #if: {{{text2|}}} | {{{text2}}} | {{ #if: {{{text1|}}} | {{{text1}}} | {{ #ifeq: {{SUBJECTSPACE}} | {{ns:User}} | {{lc:{{SUBJECTSPACE}}}} template page | {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}. | + | '''This is a [[w:Wikipedia:Template documentation|documentation]] [[w:Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br />It contains usage information, [[w:Wikipedia:Categorization|categories]] and other content that is not part of the original {{ #if: {{{text2|}}} | {{{text2}}} | {{ #if: {{{text1|}}} | {{{text1}}} | {{ #ifeq: {{SUBJECTSPACE}} | {{ns:User}} | {{lc:{{SUBJECTSPACE}}}} template page | {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}. |
}} | }} | ||
}}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{ | }}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{ | ||
Line 14: | Line 14: | ||
| <includeonly>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}|[[Category:{{ | | <includeonly>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}|[[Category:{{ | ||
#switch: {{SUBJECTSPACE}} | #switch: {{SUBJECTSPACE}} | ||
− | | Template | + | | Template = Template |
− | | Module | + | | Module = Module |
− | | User | + | | User = User |
− | | #default | + | | #default = Wikisource |
}} documentation pages]]|[[Category:Documentation subpages without corresponding pages]]}}</includeonly> | }} documentation pages]]|[[Category:Documentation subpages without corresponding pages]]}}</includeonly> | ||
}}<includeonly> | }}<includeonly> | ||
Line 23: | Line 23: | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
− | <!-- Add categories to the /doc subpage, not here! --> | + | <!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! --> |
</noinclude> | </noinclude> |
Revision as of 04:31, 2 February 2014
40px | This is a documentation subpage for Template:Documentation subpage. It contains usage information, categories and other content that is not part of the original template page. |
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |