Template:Sidebar

From Vampire V5

Revision as of 08:10, 30 December 2013 by Keira Kelly (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{#ifeq:|yes||

}}{{#ifeq:|yes||{{#if: |}}}}{{#ifeq:|yes||{{#if: | }}}}{{#ifeq:|yes||{{#if: | }}}}{{#if: |{{#ifeq:|yes|| }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#ifeq:|yes||{{#switch:off |none |off= |#default=}}
{{{outertitle}}}
{{{topimage}}}{{#if: |
{{{topcaption}}}
}}
{{{pretitle}}}
}}{{{title}}}
{{{image}}}{{#if: |
{{{caption}}}
}}
{{{above}}}
{{{heading1}}}
{{{content1}}}
{{{heading2}}}
{{{content2}}}
{{{heading3}}}
{{{content3}}}
{{{heading4}}}
{{{heading5}}}
{{{content5}}}
{{{heading6}}}
{{{content6}}}
{{{heading7}}}
{{{content7}}}
{{{heading8}}}
{{{content8}}}
{{{heading9}}}
{{{content9}}}
{{{heading10}}}
{{{content10}}}
{{{heading11}}}
{{{content11}}}
{{{heading12}}}
{{{content12}}}
{{{heading13}}}
{{{content13}}}
{{{heading14}}}
{{{content14}}}
{{{heading15}}}
{{{content15}}}
{{{heading16}}}
{{{content16}}}
{{{heading17}}}
{{{content17}}}
{{{heading18}}}
{{{content18}}}
{{{heading19}}}
{{{content19}}}
{{{heading20}}}
{{{content20}}}
{{{heading21}}}
{{{content21}}}
{{{heading22}}}
{{{content22}}}
{{{heading23}}}
{{{content23}}}
{{{heading24}}}
{{{content24}}}
{{{heading25}}}
{{{content25}}}
{{{heading26}}}
{{{content26}}}
{{{heading27}}}
{{{content27}}}
{{{heading28}}}
{{{content28}}}
{{{heading29}}}
{{{content29}}}
{{{heading30}}}
{{{content30}}}
{{{heading31}}}
{{{content31}}}
{{{heading32}}}
{{{content32}}}
{{{heading33}}}
{{{content33}}}
{{{heading34}}}
{{{content34}}}
{{{heading35}}}
{{{content35}}}
{{{below}}}

}}{{#ifeq: Sidebar | sandbox |

Template:Template sandbox notice

}}{{#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
  |templateeditor=template
  |#default=template}}
 |move={{#ifeq:
     {{#switch:{{#ifeq:sidebar/template|sidebar/template|undefined|{{#ifeq:sidebar|sandbox|sysop|undefined}}}}
       |semi |autoconfirmed           = autoconfirmed
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |sysop|yes|no
   }}
 |create={{#if:
     {{#switch:{{#ifeq:sidebar/template|sidebar/template|undefined|{{#ifeq:sidebar|sandbox|sysop|undefined}}}}
       |semi |autoconfirmed           = autoconfirmed
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |yes|no
   }}
 |template={{#if:
     {{#switch:{{#ifeq:sidebar/template|sidebar/template|undefined|{{#ifeq:sidebar|sandbox|sysop|undefined}}}}
       |templateeditor |template      = templateeditor
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |yes|no
   }}
 |pc1 ={{#ifeq:
     {{#switch:{{#ifeq:sidebar/template|sidebar/template|undefined|{{#ifeq:sidebar|sandbox|sysop|undefined}}}}
       |pc1                           = autoconfirmed 
       |undefined                     = Template:PENDINGCHANGELEVEL
       |#default                      = }}
     |autoconfirmed
     |yes|no
   }}
 |pc2 ={{#ifeq:
     {{#switch:{{#ifeq:sidebar/template|sidebar/template|undefined|{{#ifeq:sidebar|sandbox|sysop|undefined}}}}
       |pc2                           = review 
       |undefined                     = Template:PENDINGCHANGELEVEL
       |#default                      = }}
     |review
     |yes|no
   }}

|#default={{#if:

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

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

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

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

|#default={{#if:

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

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

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

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

| other | #default =

}}

{{#ifeq: ¬ |

|

|
{{#switch: ¬
 | ¬ =   
   {{#switch: Template 
   | Template = Documentation icon Template documentation
   | Template:Ns:Module = Documentation icon Module documentation
   | File = Summary
   | #default = Documentation
   }}
 | #default = 
   ¬
 }}{{
 #if: 
 | 
 | 
   {{
   #if: {{#ifexist: 
   {{#if: 
   |    
   | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

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

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

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

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

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

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

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

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

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

 }}| action=edit&preload={{
       #if:  
       | 
       | {{#ifeq: Template | File
         | Template:Documentation/preload-filespace
         | Template:Documentation/preload
         }} }} }} create]]
   }}
}}

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

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

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

{{#if:

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

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

   }}
 | yes
 }}{{
   #switch: Template
   | User
   | Template:Ns:Module
   | 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:Sidebar]]

}} }}{{#if:

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

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

}}