Template:WPBannerMeta

From Embroidery Machine WIKI
Jump to navigation Jump to search

{{#ifeq:¬|SUBST

|Template:WPBannerMeta/substwarning

}}{{#ifeq:Template|Template

|{{#if:{{#ifexpr:{{safesubst:#switch: ¬
|no
|n
|0        = 0
|         = 1
|¬        = 1
|yes
|y
|1        = 1
|#default = 1

}} and not {{#switch:{{#if:Template:WPBannerMeta

  |Template:WPBannerMeta
  |Template:WikiProject {{{PROJECT}}}
 }}
 |Template:WPBannerMeta
 |{{#titleparts:Template:WPBannerMeta|1}} = 1
 |#default = 0
}}  
|yes
|

}}

 |Template:WPBannerMeta/locwarning
}}

}}{{WPBannerMeta/{{#if:{{#ifexpr:{{safesubst:#switch: ¬

|no
|n
|0        = 0
|         = 1
|¬        = 1
|yes
|y
|1        = 1
|#default = 1

}} and {{#switch:{{#if:

  |
  |Template:WikiProject {{{PROJECT}}}
 }}
 |Template:WPBannerMeta
 |{{#titleparts:Template:WPBannerMeta|1}} = 1
 |#default = 0
}}  
|yes
|

}}

 |templatepage
 |core
}}

|PROJECT = {{{PROJECT}}}

|BANNER_NAME={{#if:
 |{{{BANNER_NAME}}}
 |Template:WikiProject {{{PROJECT}}}
}}
|substcheck=¬
|small              = {{safesubst:#switch: 
|no
|n
|0        = 
|         = 
|¬        = ¬
|yes
|y
|1        = yes
|#default = yes

}}

|category           = {{safesubst:#switch: ¬
|no
|n
|0        = 
|         = ¬
|¬        = ¬
|yes
|y
|1        = ¬
|#default = ¬

}}

|listas             = 

|PROJECT_LINK = {{#if:

                        |{{{PROJECT_LINK}}}
                        |Wikipedia:WikiProject {{{PROJECT}}}
                      }}

|PROJECT_NAME = {{#if:

                        |{{{PROJECT_NAME}}}
                        |WikiProject {{{PROJECT}}}
                      }}

|IMAGE_LEFT = |IMAGE_RIGHT = |IMAGE_LEFT_SIZE = {{#if:{{safesubst:#switch:

|no
|n
|0        = 
|         = 
|¬        = 
|yes
|y
|1        = yes
|#default = yes

}}

                        |{{#if:|{{{IMAGE_LEFT_SMALL}}}|40px}}
                        |{{#if:|{{{IMAGE_LEFT_LARGE}}}|80px}} 
                      }}

|IMAGE_RIGHT_SIZE = {{#if:{{safesubst:#switch:

|no
|n
|0        = 
|         = 
|¬        = 
|yes
|y
|1        = yes
|#default = yes

}}

                        |{{#if:|{{{IMAGE_RIGHT_SMALL}}}|40px}}
                        |{{#if:|{{{IMAGE_RIGHT_LARGE}}}|80px}} 
                      }}

|QUALITY_SCALE =

|class              = {{#switch:
|inline   = ¬ 
|subpage  = {{#ifexist:{{#if:|{{{BANNER_NAME}}}|Template:WikiProject {{{PROJECT}}}}}/class
 |{{#ifexpr:0
  |{{{{#if:|{{{BANNER_NAME}}}|Template:WikiProject {{{PROJECT}}}}}/class
   |class=¬
   |b1=¬|b2=¬|b3=¬|b4=¬|b5=¬|b6=¬
  }}
  |¬ 
 }}
 |¬ 
}}
|extended
|standard
|#default = {{#ifeq:Template:::WPBannerMeta|Template:::class
|Template:Class mask/doc warning

}}{{#switch:¬

|fa
|fl
|a
|ga
|c        = {{#ifeq:|no||¬ }}
|b        = {{#ifeq:¬¬¬¬¬¬|¬¬¬¬¬¬
 |{{#ifeq:{{{b}}}|no||B}}
 |{{#ifexpr:
   {{#switch:Template:Class mask/b|y|x|¬=1|0}}*
   {{#switch:Template:Class mask/b|y|x|¬=1|0}}*
   {{#switch:Template:Class mask/b|y|x|¬=1|0}}*
   {{#switch:Template:Class mask/b|y|x|¬=1|0}}*
   {{#switch:Template:Class mask/b|y|x|¬=1|0}}*
   {{#switch:Template:Class mask/b|y|x|¬=1|0}}
  |B
  |C
 }}
}}
|start
|stub
|list     = {{#ifeq:|no||¬ }}
|na       = {{#ifeq:{{{forceNA}}}|yes
 |{{#switch:Template
  |File talk      = {{#ifeq:{{#ifeq:|extended|yes|no}}|yes|File|NA}}
  |Category talk  = {{#ifeq:{{#ifeq:|extended|yes|no}}|yes|Category|NA}}
  |Portal talk    = {{#ifeq:{{#ifeq:|extended|yes|no}}|yes|Portal|NA}}
  |Template talk  = {{#ifeq:{{#ifeq:|extended|yes|no}}|yes|Template|NA}}
  |Wikipedia talk = {{#ifeq:{{#ifeq:|extended|yes|no}}|yes|Project|NA}}
  |Book talk      = {{#ifeq:{{{book}}}|yes|Book|NA}}
  |#default       = NA
 }}
 |NA
}}
|image
|img
|file     = {{#ifeq:{{#ifeq:|extended|yes|no}}|yes|File|NA}}
|category
|cat
|categ    = {{#ifeq:{{#ifeq:|extended|yes|no}}|yes|Category|NA}}
|disambiguation
|disambig
|disamb
|dab      = {{#ifeq:{{#ifeq:|extended|yes|no}}|yes|Disambig|NA}}
|portal   = {{#ifeq:{{#ifeq:|extended|yes|no}}|yes|Portal|NA}}
|redirect
|red
|redir    = {{#ifeq:{{{redirect}}}|yes|Redirect|NA}}
|template
|temp
|tpl
|templ    = {{#ifeq:{{#ifeq:|extended|yes|no}}|yes|Template|NA}}
|project  = {{#ifeq:{{#ifeq:|extended|yes|no}}|yes|Project|NA}}
|book     = {{#ifeq:{{{book}}}|yes|Book|NA}}
|fm       = {{#ifeq:{{{fm}}}|yes|FM|{{#ifeq:{{#ifeq:|extended|yes|no}}|yes|File|NA}}}}
|¬        = ¬
|#default = {{#if:{{#ifeq:|yes|¬}}
 |{{#ifeq:|yes|¬}}
 |{{#switch:Template
  |User talk
  |Mediawiki talk
  |TimedText talk
  |Module talk
  |Help talk      = NA
  |File talk      = {{#ifeq:{{#ifeq:|extended|yes|no}}|yes|File|NA}}
  |Category talk  = {{#ifeq:{{#ifeq:|extended|yes|no}}|yes|Category|NA}}
  |Portal talk    = {{#ifeq:{{#ifeq:|extended|yes|no}}|yes|Portal|NA}}
  |Template talk  = {{#ifeq:{{#ifeq:|extended|yes|no}}|yes|Template|NA}}
  |Wikipedia talk = {{#ifeq:{{#ifeq:|extended|yes|no}}|yes|Project|NA}}
  |Book talk      = {{#ifeq:{{{book}}}|yes|Book|NA}}
 }}
}}

}} }}

|auto=¬
 |AUTO_ASSESS_CAT   = {{#switch:
                        |=Automatically assessed {{{PROJECT}}} articles
                        |none=
                        |#default={{{AUTO_ASSESS_CAT}}}
                      }}

|IMPORTANCE_SCALE =

|importance         = {{#ifeq:¬|¬
|¬ 
|{{#switch:
 |subpage  = {{#ifexist:{{#if:|{{{BANNER_NAME}}}|Template:WikiProject {{{PROJECT}}}}}/importance
  |{{#ifexpr:0
   |{{{{#if:|{{{BANNER_NAME}}}|Template:WikiProject {{{PROJECT}}}}}/importance
    |1=¬
    |importance=¬
    |class=¬
   }}
   |¬ 
  }}
  |¬ 
 }}
 |inline   = ¬ 
 |#default = Template:Importance mask
}}

}}

 |IMPN = {{#ifeq:¬|¬
  |{{#ifeq:¬|¬
   |importance
   |priority
  }}
  |importance
 }}

|ASSESSMENT_LINK = {{#switch:

 | = {{#ifexist:{{#if:
     |{{{PROJECT_LINK}}}
     |Wikipedia:WikiProject {{{PROJECT}}}
   }}/Assessment
   |{{#if:
     |{{{PROJECT_LINK}}}
     |Wikipedia:WikiProject {{{PROJECT}}}
   }}/Assessment
   |
 }}
 |no = 
 |#default = {{{ASSESSMENT_LINK}}}

}} |RAW_ASSESSMENT_LINK = |ASSESSMENT_CAT = {{#if:

                        |{{{ASSESSMENT_CAT}}}
                        |{{{PROJECT}}} articles
                      }}

|MAIN_TEXT = |MAIN_ARTICLE = |PORTAL = |MAIN_CAT = |attention ={{safesubst:#switch: ¬

|no
|n
|0        = 
|         = 
|¬        = ¬
|yes
|y
|1        = yes
|#default = yes

}}

|ATTENTION_CAT      = {{#switch:
                        |={{{PROJECT}}} articles needing attention
                        |none=
                        |#default={{{ATTENTION_CAT}}}
                      }}

|infobox ={{safesubst:#switch: ¬

|no
|n
|0        = 
|         = 
|¬        = ¬
|yes
|y
|1        = yes
|#default = yes

}}

|INFOBOX_CAT        = {{#switch:
                        |={{{PROJECT}}} articles needing infoboxes
                        |none=
                        |#default={{{INFOBOX_CAT}}}
                      }}

|note 1 ={{safesubst:#switch: ¬

|no
|n
|0        = 
|         = 
|¬        = ¬
|yes
|y
|1        = yes
|#default = yes

}}

|N_1_TEXT           =    |N_1_IMAGE      = 
|N_1_CAT            =     |N_1_FORMAT     = 

|note 2 ={{safesubst:#switch: ¬

|no
|n
|0        = 
|         = 
|¬        = ¬
|yes
|y
|1        = yes
|#default = yes

}}

|N_2_TEXT           =    |N_2_IMAGE      = 
|N_2_CAT            =     |N_2_FORMAT     = 

|note 3 ={{safesubst:#switch: ¬

|no
|n
|0        = 
|         = 
|¬        = ¬
|yes
|y
|1        = yes
|#default = yes

}}

|N_3_TEXT           =    |N_3_IMAGE      = 
|N_3_CAT            =     |N_3_FORMAT     = 

|note 4 ={{safesubst:#switch: ¬

|no
|n
|0        = 
|         = 
|¬        = ¬
|yes
|y
|1        = yes
|#default = yes

}}

|N_4_TEXT           =    |N_4_IMAGE      = 
|N_4_CAT            =     |N_4_FORMAT     = 

|note 5 ={{safesubst:#switch: ¬

|no
|n
|0        = 
|         = 
|¬        = ¬
|yes
|y
|1        = yes
|#default = yes

}}

|N_5_TEXT           =    |N_5_IMAGE      = 
|N_5_CAT            =     |N_5_FORMAT     = 

|note 6 ={{safesubst:#switch: ¬

|no
|n
|0        = 
|         = 
|¬        = ¬
|yes
|y
|1        = yes
|#default = yes

}}

|N_6_TEXT           =    |N_6_IMAGE      = 
|N_6_CAT            =     |N_6_FORMAT     = 

|note 7 ={{safesubst:#switch: ¬

|no
|n
|0        = 
|         = 
|¬        = ¬
|yes
|y
|1        = yes
|#default = yes

}}

|N_7_TEXT           =    |N_7_IMAGE      = 
|N_7_CAT            =     |N_7_FORMAT     = 

|note 8 ={{safesubst:#switch: ¬

|no
|n
|0        = 
|         = 
|¬        = ¬
|yes
|y
|1        = yes
|#default = yes

}}

|N_8_TEXT           =    |N_8_IMAGE      = 
|N_8_CAT            =     |N_8_FORMAT     = 

|note 9 ={{safesubst:#switch: ¬

|no
|n
|0        = 
|         = 
|¬        = ¬
|yes
|y
|1        = yes
|#default = yes

}}

|N_9_TEXT           =    |N_9_IMAGE      = 
|N_9_CAT            =     |N_9_FORMAT     = 

|note 10 ={{safesubst:#switch: ¬

|no
|n
|0        = 
|         = 
|¬        = ¬
|yes
|y
|1        = yes
|#default = yes

}}

|N_10_TEXT          =   |N_10_IMAGE     = 
|N_10_CAT           =    |N_10_FORMAT    = 

|NOTE_SIZE = {{#if:

 |{{{NOTE_1_SIZE}}}
 |x25px

}} |COMMENTS =

|COMMENTS_CAT       = {{#switch:
                        |={{{PROJECT}}} articles with comments
                        |none=
                        |#default=
                      }}
|COMMENTS_SHOW_INLINE = 

|BOTTOM_TEXT = |COLLAPSED = ¬ |COLLAPSED_HEAD = {{#if:

                        |{{{COLLAPSED_HEAD}}}
                        |More information:
                      }}

|tf 1={{safesubst:#switch: ¬

|no
|n
|0        = 
|         = 
|¬        = ¬
|yes
|y
|1        = yes
|#default = yes

}}

|TF_1_LINK          =     |TF_1_NAME           = 
|TF_1_NESTED        =   |TF_1_IMAGE          = 
|TF_1_TEXT          = 
|TF_1_QUALITY       =  |TF_1_MAIN_CAT       = 
|tf 1 importance=¬  |TF_1_ASSESSMENT_CAT = 

|tf 2={{safesubst:#switch: ¬

|no
|n
|0        = 
|         = 
|¬        = ¬
|yes
|y
|1        = yes
|#default = yes

}}

|TF_2_LINK          =     |TF_2_NAME           = 
|TF_2_NESTED        =   |TF_2_IMAGE          = 
|TF_2_TEXT          = 
|TF_2_QUALITY       =  |TF_2_MAIN_CAT       = 
|tf 2 importance=¬  |TF_2_ASSESSMENT_CAT = 

|tf 3={{safesubst:#switch: ¬

|no
|n
|0        = 
|         = 
|¬        = ¬
|yes
|y
|1        = yes
|#default = yes

}}

|TF_3_LINK          =     |TF_3_NAME           = 
|TF_3_NESTED        =   |TF_3_IMAGE          = 
|TF_3_TEXT          = 
|TF_3_QUALITY       =  |TF_3_MAIN_CAT       = 
|tf 3 importance=¬  |TF_3_ASSESSMENT_CAT = 

|tf 4={{safesubst:#switch: ¬

|no
|n
|0        = 
|         = 
|¬        = ¬
|yes
|y
|1        = yes
|#default = yes

}}

|TF_4_LINK          =     |TF_4_NAME           = 
|TF_4_NESTED        =   |TF_4_IMAGE          = 
|TF_4_TEXT          = 
|TF_4_QUALITY       =  |TF_4_MAIN_CAT       = 
|tf 4 importance=¬  |TF_4_ASSESSMENT_CAT = 

|tf 5={{safesubst:#switch: ¬

|no
|n
|0        = 
|         = 
|¬        = ¬
|yes
|y
|1        = yes
|#default = yes

}}

|TF_5_LINK          =     |TF_5_NAME           = 
|TF_5_NESTED        =   |TF_5_IMAGE          = 
|TF_5_TEXT          = 
|TF_5_QUALITY       =  |TF_5_MAIN_CAT       = 
|tf 5 importance=¬  |TF_5_ASSESSMENT_CAT = 

|TF_SIZE = {{#if:

 |{{{TF_1_SIZE}}}
 |x25px

}} |HOOK_NESTED = |HOOK_ASSESS = |HOOK_IMPORTANCE = |HOOK_TF = |HOOK_NOTE = |HOOK_BOTTOM = |HOOK_COLLAPSED = {{#iferror:{{#expr:0+¬*1}}

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

|RAW_HOOK_COLLAPSED = }} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}