Template:Documentation subpage: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
imported>ConradPino
remove emitted new line
m →‎top: cleanup using AWB, replaced: <br/> → <br />
 
(37 intermediate revisions by 18 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{IsDocSubpage|override={{{override|doc}}}}}
<noinclude><!-- only show on documentation subpages --></noinclude><includeonly>{{
| <!--doc subpage--></includeonly>{{#ifeq:{{{doc-notice|show}}}|show
#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}} |
| {{Ombox|type=notice|image=[[File:Edit-copy green.svg|40px|link=]]
</includeonly><div class="messagebox" id="template_doc_page_viewed_directly" style="padding:1ex 1em;">'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for ''{{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}''.'''<br />It contains usage information, [[Wikipedia:Categories|categories]] and other content that is not part of the original {{lc:{{NAMESPACE}}}} page.<br /><span style="font-size: 0.9em;">To view the {{lc:{{NAMESPACE}}}} page itself, see {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}.</span></div>{{DEFAULTSORT:{{PAGENAME}}}}{{
|text='''This is a [[Help:Template documentation|documentation]] [[:mw:Help:Subpages|subpage]] for {{#if:{{{1|}}}
#if: {{{inhibit|}}}
| {{{1}}}
| <noinclude><!-- skip --></noinclude>
| [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]
| [[Category:Template documentation<noinclude>| </noinclude>]]
}}.'''<br /> It contains usage information, [[Categorization|categories]], and other content that is not part of the original<!--
}}<includeonly>}}</includeonly><noinclude>
--> {{#if: {{{text2|}}}
{{documentation}}
| {{{text2|}}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
| {{#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