Difference between revisions of "Template:Pp-meta"

From Shadow of the Throne Wiki
Jump to: navigation, search
(can't use relative links if we transclude)
(rm symbols)
Line 58: Line 58:
 
}}|yes|{{#ifeq:{{lc:{{{small|}}}}}|yes|
 
}}|yes|{{#ifeq:{{lc:{{{small|}}}}}|yes|
 
<div class="metadata topicon" id="protected-icon" style="display:none; right:55px;">[[Image:{{{image|{{#switch:{{lc:{{{type}}}}}
 
<div class="metadata topicon" id="protected-icon" style="display:none; right:55px;">[[Image:{{{image|{{#switch:{{lc:{{{type}}}}}
  |full=Padlock-dash.svg
+
  |full=Padlock.svg
  |semi=Padlock-silver-slash.svg
+
  |semi=Padlock-silver.svg
  |move=Padlock-olive-arrow.svg
+
  |move=Padlock-olive.svg
  |indef=Padlock-red-inf.svg
+
  |indef=Padlock-red.svg
 
  |office=Padlock-black.svg
 
  |office=Padlock-black.svg
  |create=Padlock-skyblue-plus.svg
+
  |create=Padlock-skyblue.svg
 
  |#default=Transparent.gif
 
  |#default=Transparent.gif
 
}}}}}|20px|link={{{icon-link|Wikipedia:Protection policy#{{lc:{{{type}}}}}}}}|{{{icon-text|This {{pp-meta/pagetype}} is {{#switch:{{lc:{{{type}}}}}
 
}}}}}|20px|link={{{icon-link|Wikipedia:Protection policy#{{lc:{{{type}}}}}}}}|{{{icon-text|This {{pp-meta/pagetype}} is {{#switch:{{lc:{{{type}}}}}
Line 87: Line 87:
 
| type = protection
 
| type = protection
 
| image = [[Image:{{{image|{{#switch:{{lc:{{{type}}}}}
 
| image = [[Image:{{{image|{{#switch:{{lc:{{{type}}}}}
  |full=Padlock-dash.svg
+
  |full=Padlock.svg
  |semi=Padlock-silver-slash.svg
+
  |semi=Padlock-silver.svg
  |move=Padlock-olive-arrow.svg
+
  |move=Padlock-olive.svg
  |indef=Padlock-red-inf.svg
+
  |indef=Padlock-red.svg
 
  |office=Padlock-black.svg
 
  |office=Padlock-black.svg
  |create=Padlock-skyblue-plus.svg
+
  |create=Padlock-skyblue.svg
 
  |#default=Transparent.gif
 
  |#default=Transparent.gif
 
}}}}}|40px|{{{icon-text|This page is {{#switch:{{lc:{{{type}}}}}
 
}}}}}|40px|{{{icon-text|This page is {{#switch:{{lc:{{{type}}}}}

Revision as of 18:10, 29 January 2011

{{#ifeq:{{#switch:{{{type}}}

 |move={{#ifeq:
     {{#switch:undefined
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |sysop|yes|no
   }}
 |create={{#if:
     {{#switch:undefined
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |yes|no
   }}

|#default={{#if:

     {{#switch:undefined
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |{{#ifeq:{{#switch:
                |semi
                |autoconfirmed=autoconfirmed
                |administrator
                |full
                |sysop=sysop
                |#default=}}
        |{{#switch:undefined
           |semi
           |autoconfirmed=autoconfirmed
           |administrator
           |full
           |sysop=sysop
           |undefined=
           |#default=}}
        |no|yes
      }}
  |no}}

}}|yes|{{#ifeq:|yes|

| Template:Mbox }}|}}

{{#ifeq: Pp-meta | sandbox

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

|

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

}}:{{#switch: Pp-meta | sandbox | testcases = Pp-meta | #default = Pp-meta }}/doc

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

}}:{{#switch: Pp-meta | sandbox | testcases = Pp-meta | #default = Pp-meta }}/doc

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

}}:{{#switch: Pp-meta | sandbox | testcases = Pp-meta | #default = Pp-meta }}/doc

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

}}:{{#switch: Pp-meta | sandbox | testcases = Pp-meta | #default = Pp-meta }}/doc

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

}}:{{#switch: Pp-meta | sandbox | testcases = Pp-meta | #default = Pp-meta }}/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: Pp-meta | sandbox | testcases = Pp-meta | #default = Pp-meta }}/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: Pp-meta | sandbox | testcases = Pp-meta | #default = Pp-meta }}/doc }} | 0000 | 0100 | 0010 | 0101 = }}

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

}}:{{#switch: Pp-meta | sandbox | testcases = Pp-meta | #default = Pp-meta }}/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:Pp-meta]]

}} }}{{#if:

 {{#switch: Pp-meta
 | doc
 | testcases = strange
 }}

| [[Category:Wikipedia pages with strange ((documentation)) usage|Template:Main otherTemplate:Pp-meta]]

}}