Template:Documentation subpage: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
imported>Da monster under your bed
m Reverted edits by 1user2user3 to last version by Malyctenar (using Huggle)
m →‎top: cleanup using AWB, replaced: <br/> → <br />
 
(19 intermediate revisions by 13 users not shown)
Line 1: Line 1:
<includeonly>{{
<includeonly>{{#if:{{IsDocSubpage|override={{{override|doc}}}}}
| <!--doc subpage--></includeonly>{{#ifeq:{{{doc-notice|show}}}|show
#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}}
| {{Ombox|type=notice|image=[[File:Edit-copy green.svg|40px|link=]]
| <!-- doc page -->
|text='''This is a [[Help:Template documentation|documentation]] [[:mw:Help:Subpages|subpage]] for {{#if:{{{1|}}}
</includeonly>{{
#ifeq: {{{doc-notice|show}}} | show
| {{{1}}}
| [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]
| <div class="messagebox" id="template_doc_page_viewed_directly" style="padding-left:1ex;">'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}''' <small>(see that page for the {{ #if: {{SUBJECTSPACE}} | {{lc:{{SUBJECTSPACE}}}} | article }} itself)</small>.<br />It contains usage information, [[Wikipedia:Categories|categories]] and other content that is not part of the original {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}. </div>
}}.'''<br /> It contains usage information, [[Categorization|categories]], and other content that is not part of the original<!--
}}{{DEFAULTSORT:{{PAGENAME}}}}{{
#if: {{{inhibit|}}}
--> {{#if: {{{text2|}}}
| <!-- skip -->
| {{{text2|}}}
| [[Category:{{
| {{#if: {{{text1|}}}
#if: {{SUBJECTSPACE}}
| {{{text1|}}}
| {{SUBJECTSPACE}}
| {{#ifeq: {{SUBJECTSPACE}} | {{ns:User}}
| {{lc:{{SUBJECTSPACE}}}} template page
| Article
| {{#if: {{SUBJECTSPACE}}
}} documentation<noinclude>| </noinclude>]]
| {{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>
|<!-- if not on a /doc subpage, do nothing -->
}}</includeonly><noinclude>{{Documentation}}<!--Add categories and interwikis to the /doc subpage, not here!--></noinclude>
}}</includeonly><noinclude>

{{pp-semi-template|small=yes}}
----
{{documentation}}<!--
Add categories and interwikis to the /doc subpage, not here!
--></noinclude>

Latest revision as of 01:55, 10 March 2024

Template documentation