Template:Documentation subpage: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
imported>ConradPino
full sandbox copy/paste support
m →‎top: cleanup using AWB, replaced: <br/> → <br />
 
(35 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=]]
<!-- Need noinclude here to support future full protection. -->
|text='''This is a [[Help:Template documentation|documentation]] [[:mw:Help:Subpages|subpage]] for {{#if:{{{1|}}}
{{ #ifeq: {{SUBPAGENAME}} | sandbox | {{Template sandbox notice}} }}
| {{{1}}}
</noinclude><includeonly>{{
| [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]
#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}} |
</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}}}}{{
}}.'''<br /> It contains usage information, [[Categorization|categories]], and other content that is not part of the original<!--
#if: {{{inhibit|}}}
--> {{#if: {{{text2|}}}
| {{{text2|}}}
| <noinclude><!-- skip --></noinclude>
| {{#if: {{{text1|}}}
| [[Category:Template documentation<noinclude>| </noinclude>]]
| {{{text1|}}}
}}<includeonly>}}</includeonly><noinclude>
{{ #ifeq: {{FULLPAGENAME}} | Template:Documentation subpage |
| {{#ifeq: {{SUBJECTSPACE}} | {{ns:User}}
| {{lc:{{SUBJECTSPACE}}}} template page
{{mergingfrom|Template doc page|date=November 2007}}
| {{#if: {{SUBJECTSPACE}}
{{mergingfrom|Template doc page transcluded|date=November 2007}}
| {{lc:{{SUBJECTSPACE}}}} page
{{mergingfrom|Template doc page viewed directly|date=November 2007}}
| article
}}
}}
{{documentation}}
}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
}}
</noinclude>
}}.
}}
<!--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