Template:Documentation subpage: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
imported>Gurch
m format more
m →‎top: cleanup using AWB, replaced: <br/> → <br />
 
(89 intermediate revisions by 32 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{IsDocSubpage|override={{{override|doc}}}}}
{| class="messagebox standard-talk" style="text-align: center"
| <!--doc subpage--></includeonly>{{#ifeq:{{{doc-notice|show}}}|show
| style="width: 60px" | [[Image:Edit-paste.svg|40px]]
| {{Ombox|type=notice|image=[[File:Edit-copy green.svg|40px|link=]]
| This is the [[Wikipedia:Template doc page pattern|template documentation page]] {{{1|for [[{{NAMESPACE}}:{{BASEPAGENAME}}]].}}}<br/><span style="font-size: 88%">This page is not intended to be viewed directly. Links using [[Help:Variable|variable]]s may appear broken; do not replace these with [[hardcoded]] page names or URLs.</span>
|text='''This is a [[Help:Template documentation|documentation]] [[:mw:Help:Subpages|subpage]] for {{#if:{{{1|}}}
|}
| {{{1}}}
----
| [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]
<includeonly>[[Category:Template documentation|{{PAGENAME}}]]</includeonly><noinclude>
}}.'''<br /> It contains usage information, [[Categorization|categories]], and other content that is not part of the original<!--
{{{{FULLPAGENAME}}/doc}}
--> {{#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