Template:Cladex

From Awan

(Difference between revisions)
(fixed a bug; documentation to be updated)
m (1 revision)
 

Current revision as of 21:55, 24 June 2011

{{#if:| }} {{#if:| }} {{#if:| }} {{#if:| }} {{#if:| }} {{#if:| }} {{#if:| }} {{#if:| }} {{#if:| }} {{#if:| }} {{#if:| }} {{#if:| }} {{#if:| }} {{#if:| }} {{#if:| }} {{#if:| }}
double|{{#ifexpr:1<2|3px|{{{thickness}}}px}}|1px}} solid black; border-left: 0; border-top: 0; border-right: 0; padding:0 0.2em;" valign=bottom align=center | {{#if:|{{{label1}}}|
}}
2px|0px}} black; border-top: solid {{#if:|2px|0px}} black; border-bottom: {{#if:|2px|0px}} solid black" |

{{{1}}}{{#if:| |}}


double|{{#ifexpr:1<2|3px|1px}}|1px}} solid black;padding:0 0.2em;" valign=bottom align=center | {{#if:|{{{label2}}}|
}}
2px {{{bar2}}}|{{#if:|2px {{{barbegin2}}}|{{#if:|2px {{{barend2}}}|0px black}}}}}};border-top:solid {{#if:|2px {{{barbegin2}}}|0px black}};border-bottom:solid {{#if:|2px {{{barend2}}}|0px black}}" |

{{{2}}}{{#if:| |}}


double|{{#ifexpr:1<2|3px|1px}}|1px}} solid black;padding:0 0.2em;" valign=bottom align=center | {{#if:|{{{label3}}}|
}}
2px {{{bar3}}}|{{#if:|2px {{{barbegin3}}}|{{#if:|2px {{{barend3}}}|0px black}}}}}};border-top:solid {{#if:|2px {{{barbegin3}}}|0px black}};border-bottom:solid {{#if:|2px {{{barend3}}}|0px black}}" |

{{{3}}}{{#if:| |}}


double|{{#ifexpr:1<2|3px|1px}}|1px}} solid black;padding:0 0.2em;" valign=bottom align=center | {{#if:|{{{label4}}}|
}}
2px {{{bar4}}}|{{#if:|2px {{{barbegin4}}}|{{#if:|2px {{{barend4}}}|0px black}}}}}};border-top:solid {{#if:|2px {{{barbegin4}}}|0px black}};border-bottom:solid {{#if:|2px {{{barend4}}}|0px black}}" |

{{{4}}}{{#if:| |}}


double|{{#ifexpr:1<2|3px|1px}}|1px}} solid black;padding:0 0.2em;" valign=bottom align=center | {{#if:|{{{label5}}}|
}}
2px {{{bar5}}}|{{#if:|2px {{{barbegin5}}}|{{#if:|2px {{{barend5}}}|0px black}}}}}};border-top:solid {{#if:|2px {{{barbegin5}}}|0px black}};border-bottom:solid {{#if:|2px {{{barend5}}}|0px black}}" |

{{{5}}}{{#if:| |}}


double|{{#ifexpr:1<2|3px|1px}}|1px}} solid black;padding:0 0.2em;" valign=bottom align=center | {{#if:|{{{label6}}}|
}}
2px {{{bar6}}}|{{#if:|2px {{{barbegin6}}}|{{#if:|2px {{{barend6}}}|0px black}}}}}};border-top:solid {{#if:|2px {{{barbegin6}}}|0px black}};border-bottom:solid {{#if:|2px {{{barend6}}}|0px black}}" |

{{{6}}}{{#if:| |}}


double|{{#ifexpr:1<2|3px|1px}}|1px}} solid black;padding:0 0.2em;" valign=bottom align=center | {{#if:|{{{label7}}}|
}}
2px {{{bar7}}}|{{#if:|2px {{{barbegin7}}}|{{#if:|2px {{{barend7}}}|0px black}}}}}};border-top:solid {{#if:|2px {{{barbegin7}}}|0px black}};border-bottom:solid {{#if:|2px {{{barend7}}}|0px black}}" |

{{{7}}}{{#if:| |}}


double|{{#ifexpr:1<2|3px|1px}}|1px}} solid black;padding:0 0.2em;" valign=bottom align=center | {{#if:|{{{label8}}}|
}}
2px {{{bar8}}}|{{#if:|2px {{{barbegin8}}}|{{#if:|2px {{{barend8}}}|0px black}}}}}};border-top:solid {{#if:|2px {{{barbegin8}}}|0px black}};border-bottom:solid {{#if:|2px {{{barend8}}}|0px black}}" |

{{{8}}}{{#if:| |}}


double|{{#ifexpr:1<2|3px|1px}}|1px}} solid black;padding:0 0.2em;" valign=bottom align=center | {{#if:|{{{label9}}}|
}}
2px {{{bar9}}}|{{#if:|2px {{{barbegin9}}}|{{#if:|2px {{{barend9}}}|0px black}}}}}};border-top:solid {{#if:|2px {{{barbegin9}}}|0px black}};border-bottom:solid {{#if:|2px {{{barend9}}}|0px black}}" |

{{{9}}}{{#if:| |}}


double|{{#ifexpr:1<2|3px|1px}}|1px}} solid black;padding:0 0.2em;" valign=bottom align=center | {{#if:|{{{label10}}}|
}}
2px {{{bar10}}}|{{#if:|2px {{{barbegin10}}}|{{#if:|2px {{{barend10}}}|0px black}}}}}};border-top:solid {{#if:|2px {{{barbegin10}}}|0px black}};border-bottom:solid {{#if:|2px {{{barend10}}}|0px black}}" |

{{{10}}}{{#if:| |}}


double|{{#ifexpr:1<2|3px|1px}}|1px}} solid black;padding:0 0.2em;" valign=bottom align=center | {{#if:|{{{label11}}}|
}}
2px {{{bar11}}}|{{#if:|2px {{{barbegin11}}}|{{#if:|2px {{{barend11}}}|0px black}}}}}};border-top:solid {{#if:|2px {{{barbegin11}}}|0px black}};border-bottom:solid {{#if:|2px {{{barend11}}}|0px black}}" |

{{{11}}}{{#if:| |}}


double|{{#ifexpr:1<2|3px|1px}}|1px}} solid black;padding:0 0.2em;" valign=bottom align=center | {{#if:|{{{label12}}}|
}}
2px {{{bar12}}}|{{#if:|2px {{{barbegin12}}}|{{#if:|2px {{{barend12}}}|0px black}}}}}};border-top:solid {{#if:|2px {{{barbegin12}}}|0px black}};border-bottom:solid {{#if:|2px {{{barend12}}}|0px black}}" |

{{{12}}}{{#if:| |}}


double|{{#ifexpr:1<2|3px|1px}}|1px}} solid black;padding:0 0.2em;" valign=bottom align=center | {{#if:|{{{label13}}}|
}}
2px {{{bar13}}}|{{#if:|2px {{{barbegin13}}}|{{#if:|2px {{{barend13}}}|0px black}}}}}};border-top:solid {{#if:|2px {{{barbegin13}}}|0px black}};border-bottom:solid {{#if:|2px {{{barend13}}}|0px black}}" |

{{{13}}}{{#if:| |}}


double|{{#ifexpr:1<2|3px|1px}}|1px}} solid black;padding:0 0.2em;" valign=bottom align=center | {{#if:|{{{label14}}}|
}}
2px {{{bar14}}}|{{#if:|2px {{{barbegin14}}}|{{#if:|2px {{{barend14}}}|0px black}}}}}};border-top:solid {{#if:|2px {{{barbegin14}}}|0px black}};border-bottom:solid {{#if:|2px {{{barend14}}}|0px black}}" |

{{{14}}}{{#if:| |}}


double|{{#ifexpr:1<2|3px|1px}}|1px}} solid black;padding:0 0.2em;" valign=bottom align=center | {{#if:|{{{label15}}}|
}}
2px {{{bar15}}}|{{#if:|2px {{{barbegin15}}}|{{#if:|2px {{{barend15}}}|0px black}}}}}};border-top:solid {{#if:|2px {{{barbegin15}}}|0px black}};border-bottom:solid {{#if:|2px {{{barend15}}}|0px black}}" |

{{{15}}}{{#if:| |}}


double|{{#ifexpr:1<2|3px|1px}}|1px}} solid black;padding:0 0.2em;" valign=bottom align=center | {{#if:|{{{label16}}}|
}}
2px {{{bar16}}}|{{#if:|2px {{{barbegin16}}}|{{#if:|2px {{{barend16}}}|0px black}}}}}};border-top:solid {{#if:|2px {{{barbegin16}}}|0px black}};border-bottom:solid {{#if:|2px {{{barend16}}}|0px black}}" |

{{{16}}}{{#if:| |}}


double|{{#ifexpr:1<2|3px|1px}}|1px}} solid black;padding:0 0.2em;" valign=bottom align=center | {{#if:|{{{label17}}}|
}}
2px {{{bar17}}}|{{#if:|2px {{{barbegin17}}}|{{#if:|2px {{{barend17}}}|0px black}}}}}};border-top:solid {{#if:|2px {{{barbegin17}}}|0px black}};border-bottom:solid {{#if:|2px {{{barend17}}}|0px black}}" |

{{{17}}}{{#if:| |}}


{{#ifeq: Cladex | sandbox

|
{{#ifexpr:0+{{#ifeq:cladex|sandbox
 |1
 |0
}}
|{{#ifeq:|yes
| {{#ifeq:{{#if:| {{{smallimage}}} | File:Sandbox.png }}|none | | }} {{#if:{{#if: | {{{smallimageright}}} | }} | {{#ifeq:{{#if: | {{{smallimageright}}} | }}|none | |
 }}

}}

{{#switch:

| | speedy | delete | content | style | move | protection | notice =

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

}}

| {{#ifeq:File:Sandbox.png|none | | }} {{#if: | {{#ifeq:|none | |
 }}

}}

{{#switch:

| | speedy | delete | content | style | move | protection | notice =

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

}} }}{{#ifeq:cladex|testcases

 | 
 |
}}
| 

}} }}{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq: | sysop

 | {{#ifeq:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}
  |semi
  |autoconfirmed=semi
  |administrator
  |full
  |sysop=indef
  |move=move
  |#default=indef}}
 |move={{#ifeq:
     {{#switch:{{#ifeq:cladex/template|cladex/template|undefined|{{#ifeq:cladex|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |sysop|yes|no
   }}
 |create={{#if:
     {{#switch:{{#ifeq:cladex/template|cladex/template|undefined|{{#ifeq:cladex|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |yes|no
   }}

|#default={{#if:

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

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

| Template:Mbox }}|}}{{#ifeq:{{#ifeq:template|template|{{#switch:{{#ifeq:-|-sysop|move|}}

  |semi
  |autoconfirmed={{#ifeq:|sysop|}}
  |move=
  |administrator
  |full
  |sysop
  |#default=}}}}{{#ifeq:template|file|[[category:{{#switch:
  |semi
  |autoconfirmed=semi-protected
  |administrator
  |full
  |sysop
  |#default=protected}} images|cladex]]}}|no||{{#ifeq:Template|Template|{{#switch:{{#ifeq:-|-sysop|move|}}
  |semi
  |autoconfirmed={{#ifeq:|sysop|}}
  |move=
  |administrator
  |full
  |sysop
  |#default=}}}}{{#ifeq:Template|File|[[Category:{{#switch:
  |semi
  |autoconfirmed=Semi-protected
  |administrator
  |full
  |sysop
  |#default=Protected}} images|Cladex]]}}}}
 | {{#if: 
   | {{#ifeq:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}
  |semi
  |autoconfirmed=semi
  |administrator
  |full
  |sysop=indef
  |move=move
  |#default=indef}}
 |move={{#ifeq:
     {{#switch:{{#ifeq:cladex/template|cladex/template|undefined|{{#ifeq:cladex|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |sysop|yes|no
   }}
 |create={{#if:
     {{#switch:{{#ifeq:cladex/template|cladex/template|undefined|{{#ifeq:cladex|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |yes|no
   }}

|#default={{#if:

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

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

| Template:Mbox }}|}}{{#ifeq:{{#ifeq:template|template|{{#switch:{{#ifeq:-|-sysop|move|}}

  |semi
  |autoconfirmed={{#ifeq:|sysop|}}
  |move=
  |administrator
  |full
  |sysop
  |#default=}}}}{{#ifeq:template|file|[[category:{{#switch:
  |semi
  |autoconfirmed=semi-protected
  |administrator
  |full
  |sysop
  |#default=protected}} images|cladex]]}}|no||{{#ifeq:Template|Template|{{#switch:{{#ifeq:-|-sysop|move|}}
  |semi
  |autoconfirmed={{#ifeq:|sysop|}}
  |move=
  |administrator
  |full
  |sysop
  |#default=}}}}{{#ifeq:Template|File|[[Category:{{#switch:
  |semi
  |autoconfirmed=Semi-protected
  |administrator
  |full
  |sysop
  |#default=Protected}} images|Cladex]]}}}}
   | 
   }}
 }}

| other | #default =

}}
{{#ifeq: ¬ |

|

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

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

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

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

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

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

 }}| action=edit&preload={{
       #if:  
       | 
       | {{#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 = 
   ¬
}}

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

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

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

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

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

}} }}{{#if:

 {{#switch: Cladex
 | doc
 | testcases = strange
 }}

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

}}

Personal tools