Template:Documentation subpage: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
imported>Mr.Z-man
m Changed protection level for "Template:Documentation subpage": Heavily used template [edit=sysop:move=sysop]
m →‎top: cleanup using AWB, replaced: <br/> → <br />
 
(15 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{#if:{{{Original-recipe|}}}{{{Orig|}}}
<includeonly>{{#if:{{IsDocSubpage|override={{{override|doc}}}}}
| <!--doc subpage--></includeonly>{{#ifeq:{{{doc-notice|show}}}|show
|<!-- reconstruction of original Template:Template doc page pattern (now the redirected to " Template:Documentation subpage") template... ca mid-November 2007 -->
| {{Ombox|type=notice|image=[[File:Edit-copy green.svg|40px|link=]]
<table class="messagebox" style="line-height:1.1em;" style=" background:#f9f9b7;">
|text='''This is a [[Help:Template documentation|documentation]] [[:mw:Help:Subpages|subpage]] for {{#if:{{{1|}}}
<tr> <td rowspan="3" style="width:60px;text-align:center;" > [[Image:Edit-paste.svg|40px]]</td>
| {{{1}}}
<td> This is the [[Wikipedia:Template documentation|template documentation]]<!--
--> page for [[{{NAMESPACE}}:{{{1|{{BASEPAGENAME}}}}}]].</td></tr>
| [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]
}}.'''<br /> It contains usage information, [[Categorization|categories]], and other content that is not part of the original<!--
<tr><td><small>This page may not be intended to be viewed directly. <br/
--> {{#if: {{{text2|}}}
>Links using [[Help:Variable|variable]]s may appear broken; do not replace these with [[hardcoded]] page names or URLs.</small></td></tr>
| {{{text2|}}}
</table>{{#if:{{{inhib|x}}}{{{inhibit|}}}|<!-- skip --->|<includeonly>[[Category:Template documentation|{{PAGENAME}}]]</includeonly>
| {{#if: {{{text1|}}}
}}<!-- Please retain the above original template...
| {{{text1|}}}

| {{#ifeq: {{SUBJECTSPACE}} | {{ns:User}}
There are templates formulated to [[WP:DPP]] that need this.
| {{lc:{{SUBJECTSPACE}}}} template page

| {{#if: {{SUBJECTSPACE}}
Of course, if you all want to start updating all the interwiki exported templates, go on making things more incompatible... queries to User:Fabartus.
| {{lc:{{SUBJECTSPACE}}}} page

| article
--->
}}
|<includeonly>{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}}
| <!-- doc page -->
}}
}}
</includeonly>{{
}}.
#ifeq: {{{doc-notice|show}}} | show
}}
| <div class="messagebox" id="template_doc_page_viewed_directly" style="padding-left:1ex;">'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}''' <small>(see that page for the {{ #if: {{SUBJECTSPACE}} | {{lc:{{SUBJECTSPACE}}}} | article }} itself)</small>.<br />It contains usage information, [[Wikipedia:Categories|categories]] and other content that is not part of the original {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}. </div>
}}{{DEFAULTSORT:{{PAGENAME}}}}{{
<!--If not on a doc subpage, do nothing-->}}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{#if: {{{inhibit|}}}
| <!--Skip-->
#if: {{{inhibit|}}}
| <includeonly>{{#ifexist: {{NAMESPACE}}:{{BASEPAGENAME}}
| <!-- skip -->
| [[Category:{{
| [[Category:{{#switch: {{SUBJECTSPACE}}
#if: {{SUBJECTSPACE}}
|Template=Template
| {{SUBJECTSPACE}}
|Module=Module
| Article
|User=User
|#default=Template
}} documentation<noinclude>| </noinclude>]]
}} documentation pages{{#translation:}}]]
| [[Category:Documentation subpages without corresponding pages{{#translation:}}]]
}}</includeonly>
}}<includeonly>
}}<includeonly>
|<!-- if not on a /doc subpage, do nothing -->
}}</includeonly><noinclude>{{Documentation}}<!--Add categories and interwikis to the /doc subpage, not here!--></noinclude>
}}</includeonly><noinclude>

{{pp-semi-template|small=yes}}
----
{{documentation}}<!--
Add categories and interwikis to the /doc subpage, not here!
--></noinclude>}}

Latest revision as of 01:55, 10 March 2024

Template documentation