Template:WikiProject Category Suppression

From Embroidery Machine WIKI
(Redirected from Template:WPCATSUP)
Jump to navigation Jump to search

{{#ifeq:|SUBST

|Template:WPBannerMeta/substwarning

}}{{#ifeq:Template|Template

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

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

  |
  |Template:WikiProject Category Suppression
 }}
 |Template:WikiProject Category Suppression
 |{{#titleparts:Template:WikiProject Category Suppression|1}} = 1
 |#default = 0
}}  
|yes
|

}}

 |Template:WPBannerMeta/locwarning
}}

}}{{WPBannerMeta/{{#if:{{#ifexpr:{{safesubst:#switch: {{#ifeq: false | false || no }}

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

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

  |
  |Template:WikiProject Category Suppression
 }}
 |Template:WikiProject Category Suppression
 |{{#titleparts:Template:WikiProject Category Suppression|1}} = 1
 |#default = 0
}}  
|yes
|

}}

 |templatepage
 |core
}}

|PROJECT = Category Suppression

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

}}

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

}}

|listas             = 

|PROJECT_LINK = {{#if:

                        |{{{PROJECT_LINK}}}
                        |Wikipedia:WikiProject Category Suppression
                      }}

|PROJECT_NAME = {{#if:

                        |{{{PROJECT_NAME}}}
                        |WikiProject Category Suppression
                      }}

|IMAGE_LEFT = Nuvola filesystems folder important.svg |IMAGE_RIGHT = |IMAGE_LEFT_SIZE = {{#if:{{safesubst:#switch:

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

}}

                        |{{#if:||40px}}
                        |{{#if:||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 Category Suppression}}/class
 |{{#ifexpr:0
  |{{{{#if:|{{{BANNER_NAME}}}|Template:WikiProject Category Suppression}}/class
   |class=¬
   |b1=¬|b2=¬|b3=¬|b4=¬|b5=¬|b6=¬
  }}
  |¬ 
 }}
 |¬ 
}}
|extended
|standard
|#default = {{#ifeq:Template:::WikiProject Category Suppression|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 Category Suppression articles
                        |none=
                        |#default={{{AUTO_ASSESS_CAT}}}
                      }}

|IMPORTANCE_SCALE =

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

}}

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

|ASSESSMENT_LINK = {{#switch:

 | = {{#ifexist:{{#if:
     |{{{PROJECT_LINK}}}
     |Wikipedia:WikiProject Category Suppression
   }}/Assessment
   |{{#if:
     |{{{PROJECT_LINK}}}
     |Wikipedia:WikiProject Category Suppression
   }}/Assessment
   |
 }}
 |no = 
 |#default = 

}} |RAW_ASSESSMENT_LINK = |ASSESSMENT_CAT = {{#if:category suppression support pages

                        |category suppression support pages
                        |Category Suppression articles
                      }}

|MAIN_TEXT = This {{#switch:

|Talk          = {{#switch:
 |disambiguation|disambig|disamb|dab
 |redirect|redir
 |na                  = page
 |#default            = article
}}
|User talk
|MediaWiki talk
|Help talk
|Template:Ns:TimedText talk
|Template:Ns:Module talk
|Template:Ns:Portal talk
|Embroidery Machine WIKI talk  = page
|Template:Ns:Book talk     = book
|File talk     = file
|Template talk = template
|Category talk = category
|#default             = {{#switch:
 |portal
 |project
 |disambig|disamb|dab
 |redirect|redir
 |na                  = page
 |book                = book
 |image|file          = file
 |template|temp|templ = template
 |category|cat|categ  = category
 |#default            = article
}}

}} is within the scope of WikiProject Category Suppression, a collaborative effort to improve template design and function on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussions and see a list of open tasks. |MAIN_ARTICLE = |PORTAL = |MAIN_CAT = {{

  1. switch: Template

| Template:Ns:Media talk | File talk | File talk = WikiProject Category Suppression media | User | User talk = WikiProject Category Suppression participants | Template talk = WikiProject Category Suppression{{#if: Template:Catsup} | {{#if: | {{{method}}} }} supporting templates}} | Help talk = WikiProject Category Suppression help | Talk | Embroidery Machine WIKI talk | MediaWiki talk | Category talk | Template:Ns:Portal talk = WikiProject Category Suppression pages | #default = WikiProject Category Suppression pages }} |attention ={{safesubst:#switch: ¬

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

}}

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

|infobox ={{safesubst:#switch: ¬

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

}}

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

|note 1 ={{safesubst:#switch:

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

}}

|N_1_TEXT           = {{#switch:
  |-1|never         = This template does not, and will not, support category suppression.{{
  1. ifeq: Template | Template talk | }}
  | 0|no            = This template does not support category suppression currently, but it could.{{
  1. ifeq: Template | Template talk | }}
  | 1|yes           = This template supportscategory suppression.{{
  1. ifeq: Template | Template talk | }}
  | 2|need|needs    = This template needs category suppression support added.{{
  1. ifeq: Template | Template talk | }}
  | 3|req|requested = Category suppression support has been requested for this template.{{
  1. ifeq: Template | Template talk | }}
  |#default         = The catsup parameter is not set or is set to an incorrect value.{{
  1. ifeq: Template | Template talk | }}

}} |N_1_IMAGE = {{#switch:

  |-1|f|false|never     = Red x.svg
  | 0|n|no              = Red check.svg
  | 1|y|yes             = Yes check.svg
  | 2|t|true|need|needs = Yes check lines.svg
  |#default             = Pictogram voting comment.png}}
|N_1_CAT            =     |N_1_FORMAT     = 

|note 2 ={{safesubst:#switch:

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

}}

|N_2_TEXT           = {{
  1. switch:

| namespace = This template uses namespace-based category suppression. Categorization is automatic and applied based on the namespace where the template is used. | attribute | multi = This template uses attribute-based category suppression. It will automatically categorize any article or page where the template is used unless suppressed using the appropriate attribute. Refer to the template documentation for instructions. | nocat = This template uses the nocat attribute-based category suppression method. It automatically categorizes every article or page where the template is used unless |nocat=true is added as an attribute of the template. (example: {{{{#if: |subst:}}WikiProject Category Suppression{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}}) | categories = This template uses the categories attribute-based category suppression method. It automatically categorizes every article or page where the template is used unless |categories=no is added as an attribute of the template. (example: {{{{#if: |subst:}}WikiProject Category Suppression{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}}) | category = This template uses the category= attribute-based category suppression method. It automatically categorizes every article or page where the template is used unless |category= is added as an attribute of the template. (example: {{{{#if: |subst:}}WikiProject Category Suppression{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}}) | blended = This template uses blended category suppression. It uses a combination of namespace-based and attribute-based categorization. Based on the namespace where the template is used, it may automatically categorize the article or page unless suppressed using the appropriate attribute. Refer to the template documentation for instructions. | #default = The method parameter is not set or is set to an incorrect value.{{

  1. ifeq: Template | Template talk | }}

}} |N_2_IMAGE = Curly Brackets.svg

|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:
                        |=Category Suppression articles with comments
                        |none=
                        |#default=
                      }}
|COMMENTS_SHOW_INLINE = 

|BOTTOM_TEXT = A how-to on category suppression support is available. Also, WikiProject Category Suppression may be able to assist if you leave a message on the project's talk page. |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}}}}}}