Template:Documentation subpage: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
imported>Freakofnurture
No edit summary
m →‎top: cleanup using AWB, replaced: <br/> → <br />
 
(133 intermediate revisions by 46 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{IsDocSubpage|override={{{override|doc}}}}}
{| class="messagebox" style="max-width: 45em; background: #FFF0D9;"
| <!--doc subpage--></includeonly>{{#ifeq:{{{doc-notice|show}}}|show
|-
| [[Image:Edit-paste.svg|none|50px]]
| {{Ombox|type=notice|image=[[File:Edit-copy green.svg|40px|link=]]
|text='''This is a [[Help:Template documentation|documentation]] [[:mw:Help:Subpages|subpage]] for {{#if:{{{1|}}}
|<center>'''This is the [[Wikipedia:Template doc page pattern|template documentation page]] for {{tl|{{BASEPAGENAME}}}}.'''<br>It is not intended to be viewed directly. If it uses [[Help:Variable|variable]]s, some links may appear broken. Do not replace these variables with [[hardcoded]] page names or URLs.</center>
| {{{1}}}
|}<noinclude>
| [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]
----
}}.'''<br /> It contains usage information, [[Categorization|categories]], and other content that is not part of the original<!--
See [[Wikipedia:Template doc page pattern]] for how this template is used.
--> {{#if: {{{text2|}}}
| {{{text2|}}}
[[Category:Template templates|{{PAGENAME}}]]
| {{#if: {{{text1|}}}
</noinclude>
| {{{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