Template:Documentation subpage: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
imported>Fabartus
Ooopsie ++* And {{lts|Interwiki doc page pattern}}
m →‎top: cleanup using AWB, replaced: <br/> → <br />
 
(120 intermediate revisions by 41 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{IsDocSubpage|override={{{override|doc}}}}}
{| class="messagebox standard-talk"
| <!--doc subpage--></includeonly>{{#ifeq:{{{doc-notice|show}}}|show
|- style="vertical-align:top;"
| {{Ombox|type=notice|image=[[File:Edit-copy green.svg|40px|link=]]
| style="padding:1ex;width:60px;" align="center" | [[Image:Edit-paste.svg|none|40px]]
|text='''This is a [[Help:Template documentation|documentation]] [[:mw:Help:Subpages|subpage]] for {{#if:{{{1|}}}
| '''This is the [[Wikipedia:Template doc page pattern|template documentation page]] for {{tl|{{BASEPAGENAME}}}}.'''<br />It is not necessarily 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.
| {{{1}}}
|}<includeonly>[[Category:Template documentation|{{PAGENAME}}]]]]</includeonly>
| [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]
----<noinclude>{{-}} {{interwikitmp-grp|inhib=yes}} [[Category:Template documentation|!{{PAGENAME}}]]
}}.'''<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|}}}
* See also the companion template {{tl|Template doc page transcluded}}
| {{{text2|}}}
* And {{lts|Interwiki doc page pattern}}
| {{#if: {{{text1|}}}
[[Category:Template templates|{{PAGENAME}}]]
| {{{text1|}}}

| {{#ifeq: {{SUBJECTSPACE}} | {{ns:User}}
[[ja:Template:テンプレート文書直接表示]]
| {{lc:{{SUBJECTSPACE}}}} template page
</noinclude>
| {{#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