Template:Documentation subpage: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
simplified, provide more information, link to subjectspace (for weird cases)
m →‎top: cleanup using AWB, replaced: <br/> → <br />
 
(65 intermediate revisions by 25 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{IsDocSubpage|override={{{override|doc}}}}}
{| style="width:100%; border:1px solid #CCC;"
| <!--doc subpage--></includeonly>{{#ifeq:{{{doc-notice|show}}}|show
|- style="vertical-align:top;"
| style="width:30px;" | [[Image:Edit-paste.svg|30px]]
| {{Ombox|type=notice|image=[[File:Edit-copy green.svg|40px|link=]]
| This is a [[Wikipedia:Template documentation|documentation subpage]], where instructions, categories, or other information is stored for [[Project:Transclusion costs and benefits|technical reasons]]. To view the {{SUBJECTSPACE}} page itself, see {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}.
|text='''This is a [[Help:Template documentation|documentation]] [[:mw:Help:Subpages|subpage]] for {{#if:{{{1|}}}
| {{{1}}}
|} <includeonly>{{#if: {{{inhib|{{{inhibit|}}}}}} |<!-- skip -->|[[Category:Documentation subpages|{{PAGENAME}}]]}}</includeonly><noinclude>
| [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]
{{pp-semi-template|small=yes}}
}}.'''<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