Difference between revisions of "Template:Documentation subpage"

From Shadow of the Throne Wiki
Jump to: navigation, search
(...take 2: rm supracategory, +See also section, "template ends")
m (129 revisions: Multicol pages)
 
(101 intermediate revisions by 36 users not shown)
Line 1: Line 1:
{| class="messagebox standard-talk"
+
<includeonly>{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}}
|- style="vertical-align:top;"
+
  | <!-- doc page -->
| style="padding:1ex;width:60px;" align="center" | [[Image:Edit-paste.svg|none|40px]]
+
</includeonly>{{
| '''This is the [[w:Wikipedia:Template doc page pattern|template documentation page]] for {{tl|{{BASEPAGENAME}}}}.'''<br />It 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.
+
    #ifeq: {{{doc-notice|show}}} | show
|}<includeonly>[[Category:Template documentation|{{PAGENAME}}]]</includeonly>
+
    | {{mbox
----<noinclude>
+
      | type = notice
<center><small>''template ends''</small></center>
+
      | image = [[File:Edit-copy green.svg|40px]]
 
+
      | text =
<br/><br/>Ver: 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) {{-}}
+
'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br />It contains usage information, [[Wikipedia:Categorization|categories]], [[Help:Interlanguage links|interlanguage links]] and other content that is not part of the original {{ #if: {{{text2|}}} | {{{text2}}} | {{ #if: {{{text1|}}} | {{{text1}}} | {{ #ifeq: {{SUBJECTSPACE}} | {{ns:User}} | {{lc:{{SUBJECTSPACE}}}} template page | {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}.  
----
+
      }}
{{interwikitmp-grp|inhib=yes|SYS=yes|V=0}}
+
    }}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{
 
+
    #if: {{{inhibit|}}}
== See also ==
+
    | <!-- skip -->
* [[W:Wikipedia:Template doc page pattern|Wikipedia:Template doc page pattern]] for how this template is used.
+
    | <includeonly>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}|[[Category:{{
* Companion template {{tl|Template doc page transcluded}}
+
      #switch: {{SUBJECTSPACE}}
* {{lts|Interwiki doc page pattern}}
+
      | Template = Template
 
+
      | User      = User
 
+
      | #default  = Wikipedia
<!--Categories-->
+
    }} documentation pages]]|[[Category:Documentation subpages without corresponding pages]]}}</includeonly>
[[Category:Template documentation| ]]
+
  }}<includeonly>
 
+
| <!-- if not on a /doc subpage, do nothing -->
<!--Interwiki's in Other languages-->{{-}}
+
}}</includeonly><noinclude>
[[ja:Template:テンプレート文書直接表示]]
+
{{documentation}}
[[sl:Predloga:Neposredno prikazana dokumentacijska stran predloge]]
+
<!-- Add categories and interwikis to the /doc subpage, not here! -->
[[uk:Шаблон:Документація шаблона (безпосередня)]]
+
 
</noinclude>
 
</noinclude>

Latest revision as of 13:23, 21 November 2012

{{

   #ifeq: show | show
   | Template:Mbox
   }}{{
   #if: 
   | 
   | 
 }}

{{#ifeq: Documentation subpage | sandbox

|
Template:Template sandbox notice }}Template:Template other
{{#ifeq: ¬ |

|

|
{{
 #if: 
 | 
 | 
   {{
   #if: {{#ifexist: 
   {{#if: 
   |    
   | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:{{#switch: Documentation subpage | sandbox | testcases = Documentation subpage | #default = Documentation subpage }}/doc

   }}
 | yes
 }}
   | [[[{{#if: 
 | 
 | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:{{#switch: Documentation subpage | sandbox | testcases = Documentation subpage | #default = Documentation subpage }}/doc

 }}|view]]] [[{{fullurl:{{#if: 
 | 
 | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:{{#switch: Documentation subpage | sandbox | testcases = Documentation subpage | #default = Documentation subpage }}/doc

 }}|action=edit}} edit]] [[{{fullurl:{{#if: 
 | 
 | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:{{#switch: Documentation subpage | sandbox | testcases = Documentation subpage | #default = Documentation subpage }}/doc

 }}|action=history}} history]] [purge] 
   | 
     [[{{fullurl:{{#if: 
 | 
 | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:{{#switch: Documentation subpage | sandbox | testcases = Documentation subpage | #default = Documentation subpage }}/doc

 }}| action=edit&preload={{
       #if:  
       | 
       | {{#ifeq: Template | File
         | Template:Documentation/preload-filespace
         | Template:Documentation/preload
         }} }} }} create]]
   }}
 }} {{#switch: ¬
 | ¬ =   
   {{#switch: Template 
   | Template = 50px Template documentation
   | File = Summary
   | #default = Documentation
   }}
 | #default = 
   ¬
}}

}} {{#switch: {{#if:|1|0}}{{#if:|1|0}}{{#ifexist:|1|0}}{{#ifexist:{{#switch: Template

 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:{{#switch: Documentation subpage | sandbox | testcases = Documentation subpage | #default = Documentation subpage }}/doc|1|0}} | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | 1111 = | 0110 | 0111 = {{ {{{1}}} }} | 0001 | 0011 = {{ {{#switch: Template

 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:{{#switch: Documentation subpage | sandbox | testcases = Documentation subpage | #default = Documentation subpage }}/doc }} | 0000 | 0100 | 0010 | 0101 = }}

{{#if:
 {{#ifeq:  | off
 |
 | {{#ifexist: 
   {{#if: 
   |    
   | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:{{#switch: Documentation subpage | sandbox | testcases = Documentation subpage | #default = Documentation subpage }}/doc

   }}
 | yes
 }}{{
   #switch: Template
   | User
   | Template = yes
   }}
 }}
| {{#ifeq:none|none | | }} {{#if: |

}}

{{#switch:

| | warning | editnotice | system =

| #default =
This message box is using an invalid "type=" parameter and needs fixing.
[[Category:Wikipedia message box parameter needs fixing|Template:Main otherTemplate:Documentation subpage]]

}} }}{{#if:

 {{#switch: Documentation subpage
 | doc
 | testcases = strange
 }}

| [[Category:Wikipedia pages with strange ((documentation)) usage|Template:Main otherTemplate:Documentation subpage]]

}}