Template:Documentation subpage and Template:Documentation subpage/sandbox: Difference between pages
(Difference between pages)
m (1 revision imported) |
m (1 revision imported) |
||
Line 1: | Line 1: | ||
<includeonly | <includeonly>{{#switch:{{lc:{{SUBPAGENAME}}}} | ||
| Documentation subpage <!--(allow template to operate on its own page --> | |||
| {{{override|doc}}} = <!-- else only on an /{{{override}}} or /doc page) | |||
</includeonly><!-- | --></includeonly><!-- | ||
-->{{#ifeq:{{{doc-notice|show}}}|show <!-- | |||
-- | --------------------------- Message box ---------------------------- | ||
-->| {{Mbox | |||
| type = notice | |||
| style = margin-bottom:1.0em; | |||
| image = [[File:Edit-copy green.svg|40px|alt=|link=]] | |||
| 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 <!-- | |||
-->{{first nonempty |{{{text2|}}} |{{{text1|}}} | |||
| {{#ifeq:{{SUBJECTSPACE}}|{{ns:User}} |{{lc:{{SUBJECTSPACE}}}} template page | |||
| {{#if:{{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page |article}} | |||
}}.}} }} }}<!-- | |||
---------------- Categorization (unless {{{inhibit}}}ed) ----------------- | |||
-->{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}<!-- | |||
-->{{#if:{{{inhibit|}}} | | |||
| <includeonly><!-- | |||
-->{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}} | |||
| [[Category:{{#switch:{{SUBJECTSPACE}} |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | |||
| [[Category:Documentation subpages without corresponding pages]] | |||
}}<!-- | |||
--></includeonly> | |||
}}<!-- | |||
---- If template not on a /doc, /{{{override}}} or its own page: ----> | |||
<includeonly> | #default = | |||
}}</includeonly><noinclude>{{Documentation}}</noinclude> | |||