Template:Documentation subpage: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
imported>ConradPino
merging: copy from sandbox; add semi-protection
m →‎top: cleanup using AWB, replaced: <br/> → <br />
 
(29 intermediate revisions by 18 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{IsDocSubpage|override={{{override|doc}}}}}
<noinclude>
| <!--doc subpage--></includeonly>{{#ifeq:{{{doc-notice|show}}}|show
<!-- only show on documentation subpages -->
| {{Ombox|type=notice|image=[[File:Edit-copy green.svg|40px|link=]]
{{ #ifeq: {{SUBPAGENAME}} | sandbox
|text='''This is a [[Help:Template documentation|documentation]] [[:mw:Help:Subpages|subpage]] for {{#if:{{{1|}}}
| {{Template sandbox notice}}
| {{pp-semi-template|small=yes}}
| {{{1}}}
| [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]
}}
}}.'''<br /> It contains usage information, [[Categorization|categories]], and other content that is not part of the original<!--
</noinclude><includeonly>{{
#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}} |
--> {{#if: {{{text2|}}}
| {{{text2|}}}
</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 {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}.<br /><span style="font-size: 0.9em;">To view the {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}} itself, see {{{1|[[{{ #if: {{SUBJECTSPACE}} |{{SUBJECTSPACE}}:}}{{BASEPAGENAME}}]]}}}.</span></div>{{DEFAULTSORT:{{PAGENAME}}}}{{
#if: {{{inhibit|}}}
| {{#if: {{{text1|}}}
| {{{text1|}}}
| <!-- skip -->
| [[Category:{{ #if: {{SUBJECTSPACE}} |{{SUBJECTSPACE}}|Article}} documentation<noinclude>| </noinclude>]]
| {{#ifeq: {{SUBJECTSPACE}} | {{ns:User}}
| {{lc:{{SUBJECTSPACE}}}} template page
}}<includeonly>}}</includeonly><noinclude>
| {{#if: {{SUBJECTSPACE}}
{{ #ifeq: {{FULLPAGENAME}} | Template:Documentation subpage |
| {{lc:{{SUBJECTSPACE}}}} page
{{mergingfrom|Template doc page|date=November 2007}}
| article
{{mergingfrom|Template doc page transcluded|date=November 2007}}
}}
<!-- Merge completed: [[User:ConradPino]] 13:00, 9 November 2007 (UTC)
}}
{{mergingfrom|Template doc page viewed directly|date=November 2007}}
}}
-->
}}.
{{documentation}}
}}
}}
<!--If not on a doc subpage, do nothing-->}}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{#if: {{{inhibit|}}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
| <!--Skip-->
</noinclude>
| <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