Template:Documentation subpage: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
imported>TKD
m Reverted edits by SnakeBot (talk) to last version by Cryptic
m →‎top: cleanup using AWB, replaced: <br/> → <br />
 
(48 intermediate revisions by 22 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{IsDocSubpage|override={{{override|doc}}}}}
<!-- only show on documentation subpages -->
| <!--doc subpage--></includeonly>{{#ifeq:{{{doc-notice|show}}}|show
{{#ifeq:{{lc:{{SUBPAGENAME}}}}|{{{override|doc}}}|
| {{Ombox|type=notice|image=[[File:Edit-copy green.svg|40px|link=]]
<div class="messagebox" id="template_doc_page_viewed_directly" style="text-align: center">
This subpage contains [[Wikipedia:Template documentation|documentation]], [[Wikipedia:Categories|categories]] and other content that is not part of the template. <br/> <span style="font-size: 88%">To view the {{lc:{{NAMESPACE}}}} page itself, see {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}.</span></div>
|text='''This is a [[Help:Template documentation|documentation]] [[:mw:Help:Subpages|subpage]] for {{#if:{{{1|}}}
| {{{1}}}
{{DEFAULTSORT:{{PAGENAME}}}}{{#if:{{{inhibit|}}}|<!-- skip -->|[[Category:Documentation subpages<noinclude>| </noinclude>]]}}
| [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]
}}<noinclude>
}}.'''<br /> It contains usage information, [[Categorization|categories]], and other content that is not part of the original<!--
{{documentation}}
--> {{#if: {{{text2|}}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
| {{{text2|}}}
</noinclude>
| {{#if: {{{text1|}}}
| {{{text1|}}}
| {{#ifeq: {{SUBJECTSPACE}} | {{ns:User}}
| {{lc:{{SUBJECTSPACE}}}} template page
| {{#if: {{SUBJECTSPACE}}
| {{lc:{{SUBJECTSPACE}}}} page
| article
}}
}}
}}
}}.
}}
<!--If not on a doc subpage, do nothing-->}}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{#if: {{{inhibit|}}}
| <!--Skip-->
| <includeonly>{{#ifexist: {{NAMESPACE}}:{{BASEPAGENAME}}
| [[Category:{{#switch: {{SUBJECTSPACE}}
|Template=Template
|Module=Module
|User=User
|#default=Template
}} documentation pages{{#translation:}}]]
| [[Category:Documentation subpages without corresponding pages{{#translation:}}]]
}}</includeonly>
}}<includeonly>
}}</includeonly><noinclude>{{Documentation}}<!--Add categories and interwikis to the /doc subpage, not here!--></noinclude>

Latest revision as of 01:55, 10 March 2024

Template documentation