模板:WPBannerMeta

来自Positive WiKi
跳转到导航 跳转到搜索

{{#ifeq:¬|SUBST

|

}}{{#ifeq:Template|Template

|{{#if:{{#ifexpr:
  {{#ifeq:¬|¬| 1 | 0 }}  and not  {{#switch:Template:WPBannerMeta
   |Template:WPBannerMeta
   |{{#titleparts:Template:WPBannerMeta|1}} = 1
   |#default = 0
  }}  
|yes
|

}}

|

 }}

}}{{WPBannerMeta/{{#if:{{#ifexpr:

  {{#ifeq:¬|¬| 1 | 0 }}  and  {{#switch:{{{BANNER_NAME}}}
   |Template:WPBannerMeta
   |{{#titleparts:Template:WPBannerMeta|1}} = 1
   |#default = 0
  }}  
|yes
|

}}|templatepage|core}} |PROJECT = 专题

|BANNER_NAME        = 沙盒
|substcheck=¬
|small              = {{safesubst:#switch: 
|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = ¬
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

|category           = ¬
 | category_trad    = ¬
|listas             =  

|TARGETPAGETYPE = |PROJECT_LINK = {{#if:

                        |{{{PROJECT_LINK}}}
                        |WikiProject:專題
                      }}

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

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = 
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

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

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

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = 
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

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

|QUALITY_SCALE =

|is_portal_class    = {{{is_portal_class}}}
|class              = {{#ifeq:{{#ifeq:noinclude|noinclude|¬| unassessed{{#if:|{{#ifeq:{{safesubst:#switch: 
|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = 
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}|yes|级|级}}}}}}|¬

|¬ 
|{{{{#switch:
  |subpage  = {{#ifexist:/class
   |{{#ifexpr:0
    |/class
    |padleft:¬ 
   }}
   |padleft:¬ 
  }}
  |inline   = padleft:{{#ifeq:noinclude|noinclude|¬| unassessed{{#if:|{{#ifeq:{{safesubst:#switch: 
|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = 
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}|yes|级|级}}}}}}

  |extended = Class mask/extended
  |standard
  |#default = Class mask
 }}
 |class={{#ifeq:noinclude|noinclude|¬| unassessed{{#if:|{{#ifeq:{{safesubst:#switch: 
|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = 
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}|yes|级|级}}}}}}|1={{#ifeq:noinclude|noinclude|¬| unassessed{{#if:|{{#ifeq:{{safesubst:#switch:

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = 
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}|yes|级|级}}}}}}

 |b={{#if:
  |{{#ifexpr:
    {{#switch:Template:WPBannerMeta/b|y|x|¬=1|0}}*
    {{#switch:Template:WPBannerMeta/b|y|x|¬=1|0}}*
    {{#switch:Template:WPBannerMeta/b|y|x|¬=1|0}}*
    {{#switch:Template:WPBannerMeta/b|y|x|¬=1|0}}*
    {{#switch:Template:WPBannerMeta/b|y|x|¬=1|0}}*
    {{#switch:Template:WPBannerMeta/b|y|x|¬=1|0}}
   |乙 
   |丙 
  }}
  |乙
 }}
 |b1= 
 |b2=
 |b3=
 |b4=
 |b5=
 |b6=
}}

}}

|auto=¬
 |AUTO_ASSESS_CAT   = {{#switch:
                        |=自动评级{{{PROJECT}}}条目
                        |none=
                        |#default={{{AUTO_ASSESS_CAT}}}
                      }}
|B_CHECKLIST        = 
 |b1=
 |b2=
 |b3=
 |b4=
 |b5=
 |b6=

|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={{#ifeq:noinclude|noinclude|¬| unassessed{{#if:|{{#ifeq:{{safesubst:#switch: 
|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = 
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}|yes|级|级}}}}}}

   }}
   |¬ 
  }}
  |¬ 
 }}
 |inline   = ¬ 
 |#default = {{#ifeq:Template:::WPBannerMeta|Template:::importance
|Template:Importance mask/doc warning

}}{{#switch:¬

 |¬        = ¬
 |top|极高|極高      = 极高
 |high|高     = 高
 |mid|中      = 中
 |low|低      = 低
 |bottom|极低|極低   = 极低
 |no|无|無       = 无
 |na|不适用|不適用       = 不适用
 |#default = {{#ifeq:模板|條目
   |未知
   |不适用
 }}

}}

}}

}}

 |IMPN = {{#ifeq:¬|¬
  |{{#ifeq:¬|¬
   |重要度
   |优先度
  }}
  |重要度
 }}

|ASSESSMENT_LINK = {{#switch:

 | = {{#ifexist:{{#if:
     |{{{PROJECT_LINK}}}
     |WikiProject:{{{PROJECT}}}
   }}/评级
   |{{#if:
     |{{{PROJECT_LINK}}}
     |WikiProject:{{{PROJECT}}}
   }}/评级
   |
 }}
 |no = 
 |#default = {{{ASSESSMENT_LINK}}}

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

                        |{{{ASSESSMENT_CAT}}}
                        |{{{PROJECT}}}条目
                      }}

|MAIN_TEXT = |MAIN_ARTICLE = |PORTAL = |PORTAL_IMG = {{#if:|{{{PORTAL_IMG}}}|Portal.svg}} |MAIN_CAT = |attention ={{safesubst:#switch: ¬

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = ¬
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

|ATTENTION_CAT      = {{#switch:
                        |=需要关注的{{{PROJECT}}}条目
                        |none=
                        |#default={{{ATTENTION_CAT}}}
                      }}

|infobox ={{safesubst:#switch: ¬

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = ¬
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

|INFOBOX_CAT        = {{#switch:
                        |=需要信息框的{{{PROJECT}}}条目
                        |none=
                        |#default={{{INFOBOX_CAT}}}
                      }}

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

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = ¬
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

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

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

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = ¬
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

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

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

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = ¬
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

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

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

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = ¬
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

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

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

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = ¬
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

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

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

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = ¬
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

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

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

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = ¬
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

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

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

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = ¬
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

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

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

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = ¬
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

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

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

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = ¬
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

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

|COMMENTS =

|COMMENTS_CAT       = {{#switch:
                        |=含有评论页的{{{PROJECT}}}条目
                        |none=
                        |#default=
                      }}
|COMMENTS_FORCE     = 

|BOTTOM_TEXT = |COLLAPSED = {{#iferror:{{#expr:0+¬*1}}|2}} |COLLAPSED_HEAD = {{#if:

                        |{{{COLLAPSED_HEAD}}}
                        |更多信息:
                      }}

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

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = ¬
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

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

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

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = ¬
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

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

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

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = ¬
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

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

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

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = ¬
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

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

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

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = ¬
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

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

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

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = ¬
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

|TF_6_LINK          =     |TF_6_NAME           = 
|TF_6_IMAGE         = 
|TF_6_SIZE          =     |TF_6_TEXT           = 
|TF_6_QUALITY       =  |TF_6_MAIN_CAT       = 
|tf 6 importance=¬  |TF_6_ASSESSMENT_CAT = 
|TF_6_PORTAL =          |tf_6_category_trad  = 

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

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = ¬
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

|TF_7_LINK          =     |TF_7_NAME           = 
|TF_7_IMAGE         = 
|TF_7_SIZE          =     |TF_7_TEXT           = 
|TF_7_QUALITY       =  |TF_7_MAIN_CAT       = 
|tf 7 importance=¬  |TF_7_ASSESSMENT_CAT = 
|TF_7_PORTAL =          |tf_7_category_trad  = 

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

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = ¬
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

|TF_8_LINK          =     |TF_8_NAME           = 
|TF_8_IMAGE         = 
|TF_8_SIZE          =     |TF_8_TEXT           = 
|TF_8_QUALITY       =  |TF_8_MAIN_CAT       = 
|tf 8 importance=¬  |TF_8_ASSESSMENT_CAT = 
|TF_8_PORTAL =          |tf_8_category_trad  = 

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

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = ¬
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

|TF_9_LINK          =     |TF_9_NAME           = 
|TF_9_IMAGE         = 
|TF_9_SIZE          =     |TF_9_TEXT           = 
|TF_9_QUALITY       =  |TF_9_MAIN_CAT       = 
|tf 9 importance=¬  |TF_9_ASSESSMENT_CAT = 
|TF_9_PORTAL =          |tf_9_category_trad  = 

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

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = ¬
|yes
|y
|true
|t
|是
|1        = yes
|#default = yes

}}

|TF_10_LINK         =     |TF_10_NAME           = 
|TF_10_IMAGE        = 
|TF_10_SIZE         =     |TF_10_TEXT           = 
|TF_10_QUALITY      =  |TF_10_MAIN_CAT       = 
|tf 10 importance=¬ |TF_10_ASSESSMENT_CAT = 
|TF_10_PORTAL =         |tf_10_category_trad  = 

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

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

|RAW_HOOK_COLLAPSED = }}{{#if:{{#ifexpr:

  {{#ifeq:¬|¬| 1 | 0 }}  and  {{#switch:{{{BANNER_NAME}}}
   |Template:WPBannerMeta
   |{{#titleparts:Template:WPBannerMeta|1}} = 1
   |#default = 0
  }}  
|yes
|

}}|{{safesubst:#switch: false

|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = 
|yes
|y
|true
|t
|是
|1        =
|#default = 

}}}}

文档图示 模板文档[创建]