Template:Icon

From GarantPlus Alvis Wiki
Jump to: navigation, search

[[File:{{#switch:

|fa             = Featured article star.svg               | Featured article
|far            = Cscr-star piece.png                     | Featured article review
|farc           = Cscr-star piece.png                     | Featured article removal candidate
|ffa|dfa        = Featured article star - cross.svg       | Former featured article
|fac|fan        = Cscr-candidate.svg                      | Featured article candidate
|ffac|nofa      = Featured article star - cross.svg       | Failed featured article candidate
|fl             = Featured article star.svg               | Featured list
|flrc|flr       = Cscr-star piece.png                     | Featured list removal candidate
|ffl|dfl        = Cscr-featured-strike.svg                | Former featured list
|flc|fln        = Cscr-candidate.svg                      | Featured list candidate
|fflc|nofl      = Cscr-former.svg                         | Failed featured list candidate
|a              = Symbol a class.svg                      | A-Class article
|dac|daa        = Symbol unsupport A vote.svg             | Demoted A-Class article
|acc|acn|aac    = A candidate.svg                         | A-Class article candidate
|noac|faac      = Symbol unsupport A vote.svg             | Failed A-Class article candidate
|ga             = Symbol support vote.svg                 | Good article
|gar            = GA Candidate Neutral vote(ChaosNil).svg | Good article reassessment
|dga            = Symbol unsupport vote.svg               | Delisted good article
|gan|gac        = GA candidate.svg                        | Good article nominee
|ga2            = Symbol neutral vote.svg                 | Good article, 2nd opinion
|gah            = Symbol wait.svg                         | Good article on hold
|fgan|noga|gaf|gf = Symbol unsupport vote.svg             | Failed good article nominee
|fp             = Cscr-featured.svg                       | Featured picture
|ffp            = Cscr-former.svg                         | Former featured picture
|vp             = ENWP VP Logo.svg                        | Valued picture
|vpc            = Valued pics 1.svg                       | Valued picture candidate
|fs             = Cscr-featured.svg                       | Featured sound
|ffs            = Cscr-former.svg                         | Former featured sound
|fsc            = Cscr-candidate.svg                      | Featured sound candidate
|fpo            = Cscr-featured.svg                       | Featured portal
|fpor           = Cscr-star piece.png                     | Featured portal review
|ffpo           = Featured article star - cross.svg       | Former featured portal
|fpoc           = Cscr-candidate.svg                      | Featured portal candidate
|ft             = Cscr-featuredtopic.svg                  | Featured topic
|ftrc           = Cscr-star piece.png                     | Featured topic removal candidate
|fft|dft        = DFT candidate_cluster.svg               | Former featured topic
|ftc|ftn        = FT candidate cluster.svg                | Featured topic candidate
|gt             = Support cluster.svg                     | Good topic
|gtrc           = Symbol unsupport vote.svg               | Good topic removal candidate
|gtc|gtn        = GA candidate cluster.svg                | Good topic candidate
|bplus|b+       = Symbol bplus class.svg                  | Bplus-Class article
|b              = Symbol b class.svg                      | B-Class article
|br|bcr         = Bclass-checklist.svg                    | B-Class review
|c              = Symbol c class.svg                      | C-Class article
|start          = Symbol start class.svg                  | Start-Class article
|stub           = Symbol stub class.svg                   | Stub-Class article
|list           = Symbol list class.svg                   | List-Class article
|no             = Crystal button cancel.svg               | Unknown-Class article
|book           = Symbol book class2.svg                  | Wikipedia book
|cat|categ 
|category       = Folder Hexagonal Icon.svg               | Category
|dab|disamb
|disambig  
|disambiguation = Symbol dab class.svg                    | Disambiguation page
|image|file     = Video-x-generic.svg                     | File
|portal         = Portal-puzzle.svg                       | Portal
|project        = Symbol information vote.svg             | Project page
|red|redir
|redirect       = Symbol redirect vote2.svg               | Redirect
|temp|templ
|template       = Symbol template class.svg               | Template
|na             = Symbol neutral vote.svg                 | Non-article page
|aa             = Yes check.svg                           | Audited article of limited subject matter
|da             = Symbol oppose vote.svg                  | Demoted article
|dyk            = Symbol question.svg                     | Did You Know?
|dyk2           = DYK questionmark icon.svg               | Did You Know?
|pr             = Nuvola apps kedit.png                   | Peer review
|ppr            = Nuvola apps kedit.png                   | Portal peer review
|q|question     = Symbol question.svg                     | Question
|qi             = Quality images logo.svg                 | Quality image on Wikimedia Commons
|vi             = Valued image seal.svg                   | Valued image on Wikimedia Commons
|itn            = Globe current.svg                       | In The News
|wikiproject    = People icon.svg                         | WikiProject
|#default       = Symbol question.svg

}}|16px|link=]] {{#ifeq: Icon | 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
  |#default=indef}}
 |move={{#ifeq:
     {{#switch:{{#ifeq:icon/template|icon/template|undefined|{{#ifeq:icon|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |sysop|yes|no
   }}
 |create={{#if:
     {{#switch:{{#ifeq:icon/template|icon/template|undefined|{{#ifeq:icon|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |yes|no
   }}

|#default={{#if:

     {{#switch:{{#ifeq:icon/template|icon/template|undefined|{{#ifeq:icon|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |{{#ifeq:{{#switch:
                |semi
                |autoconfirmed=autoconfirmed
                |administrator
                |full
                |sysop=sysop
                |#default=}}
        |{{#switch:{{#ifeq:icon/template|icon/template|undefined|{{#ifeq:icon|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|icon]]}}|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|Icon]]}}}}
 | {{#if: 
   | {{#ifeq:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}
  |semi
  |autoconfirmed=semi
  |administrator
  |full
  |sysop=indef
  |move=move
  |#default=indef}}
 |move={{#ifeq:
     {{#switch:{{#ifeq:icon/template|icon/template|undefined|{{#ifeq:icon|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |sysop|yes|no
   }}
 |create={{#if:
     {{#switch:{{#ifeq:icon/template|icon/template|undefined|{{#ifeq:icon|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |yes|no
   }}

|#default={{#if:

     {{#switch:{{#ifeq:icon/template|icon/template|undefined|{{#ifeq:icon|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |{{#ifeq:{{#switch:
                |semi
                |autoconfirmed=autoconfirmed
                |administrator
                |full
                |sysop=sysop
                |#default=}}
        |{{#switch:{{#ifeq:icon/template|icon/template|undefined|{{#ifeq:icon|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|icon]]}}|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|Icon]]}}}}
   | 
   }}
 }}

| other | #default =

}}
{{#ifeq: ¬ |

|

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

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

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

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

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

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

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

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

}} }}{{#if:

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

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

}}