Template:MW version

From RARForge
Jump to navigation Jump to search
MediaWiki version{{#if:|s}}: style="padding: .1em .3em; border: 5px solid #{{#switch: 1.1 = FFA0A0 1.2 = FF9090 1.3 = FF8080 1.4 = FF6868 1.5 = FF5050 1.6 = FF0000 1.7 = FFE0A0 1.8 = FFD898 1.9 = FFD484 1.10 = FFCC70 1.11 = FFC060 1.12 = FFB650 1.13 = FFAC38 1.14 = FF981C 1.15 = FF8000 1.16 = FF8000 1.17 = 50A050 1.18 = 408040 1.19 = C0C0C0 trunk = FFFFFF #default = EEEEEE

}}; {{#if: | border-color: #{{#switch:

1.1 = FFA0A0 1.2 = FF9090 1.3 = FF8080 1.4 = FF6868 1.5 = FF5050 1.6 = FF0000 1.7 = FFE0A0 1.8 = FFD898 1.9 = FFD484 1.10 = FFCC70 1.11 = FFC060 1.12 = FFB650 1.13 = FFAC38 1.14 = FF981C 1.15 = FF8000 1.16 = FF8000 1.17 = 50A050 1.18 = 408040 1.19 = C0C0C0 trunk = FFFFFF #default = EEEEEE

}}; border-bottom-color: #{{#switch:

1.1 = FFA0A0 1.2 = FF9090 1.3 = FF8080 1.4 = FF6868 1.5 = FF5050 1.6 = FF0000 1.7 = FFE0A0 1.8 = FFD898 1.9 = FFD484 1.10 = FFCC70 1.11 = FFC060 1.12 = FFB650 1.13 = FFAC38 1.14 = FF981C 1.15 = FF8000 1.16 = FF8000 1.17 = 50A050 1.18 = 408040 1.19 = C0C0C0 trunk = FFFFFF #default = EEEEEE

}};}} text-align: center;" | {{#switch:

and earlier= and later=

}} X.X{{#if:| – {{{version2}}}}}{{#if: |
{{#ifeq: {{{r}}} | ?

r? {{#if: }} [[Special:Code/MediaWiki/{{{r}}}|{{#if:r{{#if:{{{r}}}|{{{r}}}}}|r{{#if:{{{r}}}|{{{r}}}}}}}]]

}}}}{{#switch:

and after|and earlier|and later|= #default= {{{comment}}}

}}

{{#ifeq: ¬ |

|

|
{{
 #if: 
 | 
 | 
   {{
   #if: {{#ifexist: 
   {{#if: 
   |    
   | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: MW version
 | sandbox
 | testcases = MW version
 | #default = MW version
 }}/doc
   }}
 | yes
 }}
   | [[{{fullurl:{{#if: 
 | 
 | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: MW version
 | sandbox
 | testcases = MW version
 | #default = MW version
 }}/doc
 }}|action=edit}} edit]] [purge] 
   | 
     [[{{fullurl:{{#if: 
 | 
 | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: MW version
 | sandbox
 | testcases = MW version
 | #default = MW version
 }}/doc
 }}| action=edit&preload={{
       #ifeq: Template | File
       | Template:Documentation/preload-filespace
       | Template:Documentation/preload
       }} }} create]]
   }}
 }} {{#switch: ¬
 | ¬ =   
   {{#switch: Template 
   | Template = File:Template-info.svg Template documentation
   | File = Summary
   | #default = Documentation
   }}
 | #default = 
   ¬
}}

}} {{#if: | | {{#if: {{#ifexist:

   {{#if: 
   |    
   | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: MW version
 | sandbox
 | testcases = MW version
 | #default = MW version
 }}/doc
   }}
 | yes
 }}
 | {{ {{#if: 
 | 
 | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: MW version
 | sandbox
 | testcases = MW version
 | #default = MW version
 }}/doc
 }} }}
 }}

}}

{{#if:

 {{#ifeq:  | off
 |
 | {{#ifexist: 
   {{#if: 
   |    
   | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: MW version
 | sandbox
 | testcases = MW version
 | #default = MW version
 }}/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:MW version]]

}} }}{{#if:

 {{#switch: MW version
 | doc
 | testcases = strange
 }}

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

}}