Template:Documentation subpage: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
imported>David Kernow
m layout
m →‎top: cleanup using AWB, replaced: <br/> → <br />
 
(94 intermediate revisions by 33 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{IsDocSubpage|override={{{override|doc}}}}}
<center>
| <!--doc subpage--></includeonly>{{#ifeq:{{{doc-notice|show}}}|show
{| class="messagebox" style="width:80%; border:1px solid #c0c090; background:#f8eaba; margin:2px 4px 2px 4px;"
| {{Ombox|type=notice|image=[[File:Edit-copy green.svg|40px|link=]]
|- style="vertical-align:top;"
|text='''This is a [[Help:Template documentation|documentation]] [[:mw:Help:Subpages|subpage]] for {{#if:{{{1|}}}
|align="center" style="width:60px; padding:1ex;"| [[Image:Edit-paste.svg|none|40px]]
| {{{1}}}
| '''This is the [[Wikipedia:Template doc page pattern|template documentation page]] {{#if:{{{1|}}}|{{{1}}}|for [[{{NAMESPACE}}:{{BASEPAGENAME}}]].}}'''<br/><hr/>This page is not necessarily intended to be viewed directly. If it uses [[w:Help:Variable|variable]]s, some links may appear broken. Do not replace these variables with [[w:Hardcoded|hardcoded]] page names or URLs.
| [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]
|}<br/><hr/>
}}.'''<br /> It contains usage information, [[Categorization|categories]], and other content that is not part of the original<!--
</center>
--> {{#if: {{{text2|}}}
<includeonly>[[Category:Template documentation|{{PAGENAME}}]]</includeonly><!--
| {{{text2|}}}

| {{#if: {{{text1|}}}
--><noinclude>
| {{{text1|}}}
<center><small>''[[Template:Template doc page viewed directly]] template ends''</small></center>
| {{#ifeq: {{SUBJECTSPACE}} | {{ns:User}}
;Note: This template will take an alternative parameter <nowiki>{{{1}}}</nowiki> when it is applied as a X/doc style warning in a common usage page for several utility templates. (Such as are normally related by function or application and frequently list one another as ''see also'' pages.)
| {{lc:{{SUBJECTSPACE}}}} template page

| {{#if: {{SUBJECTSPACE}}
<br/><br/>Ver: fix up interwiki issues, class mesagebox 'standard-talk' not so standard, make links interwiki.// <b>[[User:Fabartus|Fra]]</b><font color="green">[[User talk:Fabartus|nkB]]</font> 21:47, 23 February 2007 (UTC)
| {{lc:{{SUBJECTSPACE}}}} page

| article
Org: Commons, IWTG perams adusts, (mn) <B>[[User:Fabartus|Fra]]</B><font color="green">[[User talk:Fabartus|nkB]]</font> 18:44, 12 February 2007 (UTC) {{-}}
}}
----
}}
{{interwikitmp-grp|inhib=yes|SYS=yes|V=0}}
}}

}}.
== See also ==
}}
* [[M:Meta:Template doc page pattern]] or [[W:Wikipedia:Template doc page pattern]] for how this template is used.
<!--If not on a doc subpage, do nothing-->}}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{#if: {{{inhibit|}}}
* Related templates:
| <!--Skip-->
# {{tlw| Template doc page transcluded}} (as redirect: ''{{tlw|Template doc page pattern}}'')
| <includeonly>{{#ifexist: {{NAMESPACE}}:{{BASEPAGENAME}}
# {{tlw| Interwiki doc page pattern}}
| [[Category:{{#switch: {{SUBJECTSPACE}}

|Template=Template

|Module=Module

|User=User
<!--Categories-->
|#default=Template
[[Category:Template documentation |!{{PAGENAME}}]]
}} documentation pages{{#translation:}}]]
[[Category:Template namespace templates|{{PAGENAME}}]]
| [[Category:Documentation subpages without corresponding pages{{#translation:}}]]

}}</includeonly>
<!--Interwiki's in Other languages-->{{-}}
}}<includeonly>
[[ja:Template:テンプレート文書直接表示]]
}}</includeonly><noinclude>{{Documentation}}<!--Add categories and interwikis to the /doc subpage, not here!--></noinclude>
[[sl:Predloga:Neposredno prikazana dokumentacijska stran predloge]]
[[uk:Шаблон:Документація шаблона (безпосередня)]]
[[zh:Template:Template doc page viewed directly]]

{{sprotected2}}
</noinclude>

Latest revision as of 01:55, 10 March 2024

Template documentation