Template:Documentation subpage: Difference between revisions

Content deleted Content added
m 1 revision imported
m m
 
(3 intermediate revisions by 3 users not shown)
Line 1:
<includeonly><!--
-->{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}}
| <!--(this template has been transcluded on a /doc or /{{{override}}} page)-->
| <!-- doc page -->
</includeonly>{{ <!--
 
-->{{#ifeq: {{{doc-notice|show}}} | show
| {{mbox
| type = notice | {{Mbox
| type = notice
| image = [[File:Edit-copy green.svg|40px|link=]]
| style = margin-bottom:1.0em;
| text = This is a [[Help:Template documentation|documentation]] [[mw:Help:Subpages|subpage]] for {{#if: {{{1|}}} | {{{1}}} | [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]] }}'''.<br />
| image = [[File:Edit-copy green.svg|40px|alt=|link=]]
It contains usage information, [[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 }} }} }} }}.
}} | text =
{{strong|This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]]}} for {{terminate sentence|{{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}}}<br />It containsmay contain 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 }} }} }} }}.
}}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{
#if: {{{inhibit|} }}
| <!-- skip }}<!-->
 
| <includeonly>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}|[[Category:{{
}} -->{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{<!--
#switch: {{SUBJECTSPACE}}
 
| Template = Template
-->{{#if:{{{inhibit|}}} |<!--(don't categorize)-->
| Module = Module
| User | = User <includeonly><!--
| <includeonly -->{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}|[[Category:{{
| #default = Wikidata
| [[Category:{{#switch:{{SUBJECTSPACE}} |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
}} documentation pages]] | [[Category:Documentation subpages without corresponding pages]]}}</includeonly>
}}<includeonly>
| <!-- if not on a /doc subpage, do nothing }}<!-->
}} --></includeonly><noinclude>
}}<!--
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
(completing initial #ifeq: at start of template:)
</noinclude>
}}--><includeonly>
| <!--(this template has not been transcluded on a /doc or /{{{override}}} page)-->
}}<!--
--></includeonly><noinclude>{{Documentation}}</noinclude>