Template:WPBannerMeta/doc: Difference between revisions

no edit summary
(Created page with '{{documentation subpage}} <includeonly></includeonly> {{tocleft}} '''WPBannerMeta''' is a meta-template, which can be used to create [[:Category:WikiProject banners|WikiProject …')
 
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:
{{tocleft}}
{{tocleft}}


'''WPBannerMeta''' is a meta-template, which can be used to create [[:Category:WikiProject banners|WikiProject banners]], enabling new projects to easily create a banner to place on article [[WP:TALK|talk pages]], ensuring standardisation between projects.  A list of all WikiProject banners using this meta-template can be found at [http://en.wikipedia.org/w/index.php?title=Special:WhatLinksHere&target=Template%3AWPBannerMeta&limit=50&namespace=10 What links here: WPBannerMeta]
'''WPBannerMeta''' is a meta-template, which can be used to create [[:Category:WikiProject banners|WikiProject banners]], enabling new projects to easily create a banner to place on article [[FamilySearch Wiki:TALK|talk pages]], ensuring standardisation between projects.  A list of all WikiProject banners using this meta-template can be found at [http://en.wikipedia.org/w/index.php?title=Special:WhatLinksHere&target=Template%3AWPBannerMeta&limit=50&namespace=10 What links here: WPBannerMeta]
{{clear}}
{{clear}}


Line 30: Line 30:
|MAIN_TEXT          =  
|MAIN_TEXT          =  
|MAIN_ARTICLE        =  
|MAIN_ARTICLE        =  
|PORTAL              =
|MAIN_CAT            =  
|MAIN_CAT            =  
|attention={{{attention|}}}
|attention={{{attention|}}}
Line 81: Line 80:
|MAIN_TEXT          =  
|MAIN_TEXT          =  
|MAIN_ARTICLE        =  
|MAIN_ARTICLE        =  
|PORTAL              =
|MAIN_CAT            =  
|MAIN_CAT            =  
|attention={{{**PARAMETER**|}}}
|attention={{{**PARAMETER**|}}}
Line 213: Line 211:
WPBannerMeta takes two different types of parameters, formatting and display. The formatting parameters customise the meta-template for a particular project, defining link targets, categories, images and text. All formatting parameters use UPPERCASE and underscores (_), instead of spaces (eg. <code><nowiki>|PROJECT=</nowiki></code> and <code><nowiki>|NOTE_1_CAT= </nowiki></code>). Display parameters customise the template output for each individual ''article'' that the banner is displayed on. These are the parameters which are entered on the talk page (<code><nowiki>|class=</nowiki></code>, <code><nowiki>|importance=</nowiki></code>, etc.) and they must be 'passed through' the project banner to the meta-template underneath. To 'pass' the parameter <code>foo</code>, you need to include the code {{nowrap|<code><nowiki>foo={{{foo|}}}</nowiki></code>}}.
WPBannerMeta takes two different types of parameters, formatting and display. The formatting parameters customise the meta-template for a particular project, defining link targets, categories, images and text. All formatting parameters use UPPERCASE and underscores (_), instead of spaces (eg. <code><nowiki>|PROJECT=</nowiki></code> and <code><nowiki>|NOTE_1_CAT= </nowiki></code>). Display parameters customise the template output for each individual ''article'' that the banner is displayed on. These are the parameters which are entered on the talk page (<code><nowiki>|class=</nowiki></code>, <code><nowiki>|importance=</nowiki></code>, etc.) and they must be 'passed through' the project banner to the meta-template underneath. To 'pass' the parameter <code>foo</code>, you need to include the code {{nowrap|<code><nowiki>foo={{{foo|}}}</nowiki></code>}}.


In the examples below, a WikiProject banner will be constructed for the (currently) nonexistent [[Wikipedia:WikiProject Tulips|WikiProject Tulips]].   
In the examples below, a WikiProject banner will be constructed for the [[FamilySearch Wiki:WikiProject Idaho|WikiProject Idaho]].   


===Simple options===
===Simple options===
*<code>'''PROJECT'''</code> ''(Required)''&nbsp;– the name of the project without the word "WikiProject", used in a variety of contexts; first letter should usually be capitalised. {{nowrap|''Eg: <code>'''Tulips'''</code>''}}
*<code>'''PROJECT'''</code> ''(Required)'' – the name of the project without the word "WikiProject", used in a variety of contexts; first letter should usually be capitalised. {{nowrap|''Eg: <code>'''Tulips'''</code>''}}
**<code>'''substcheck'''</code> &ndash; this allows the template to detect if it has been substituted instead of transcluded and give an error message. '''''<code><nowiki>substcheck=<includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly></nowiki></code>'''''
**<code>'''substcheck'''</code> &ndash; this allows the template to detect if it has been substituted instead of transcluded and give an error message. '''''<code><nowiki>substcheck=<includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly></nowiki></code>'''''
**<code>'''small'''</code> ''(Required)'' &ndash; the size parameter ''must'' be passed through the template to enable the correct display. {{nowrap|''Eg: '''<code><nowiki>small={{{small|}}}</nowiki></code>'''''}}
**<code>'''small'''</code> ''(Required)'' &ndash; the size parameter ''must'' be passed through the template to enable the correct display. {{nowrap|''Eg: '''<code><nowiki>small={{{small|}}}</nowiki></code>'''''}}
Line 223: Line 221:
**<code>'''<code><nowiki>BANNER_NAME={{subst:FULLPAGENAME}}</nowiki></code>'''</code> ''(Required)'' &ndash; the full page name of the banner. {{nowrap|''Eg: '''<code><nowiki>Template:WikiProject Tulips</nowiki></code>'''''}}
**<code>'''<code><nowiki>BANNER_NAME={{subst:FULLPAGENAME}}</nowiki></code>'''</code> ''(Required)'' &ndash; the full page name of the banner. {{nowrap|''Eg: '''<code><nowiki>Template:WikiProject Tulips</nowiki></code>'''''}}
*<code>'''PROJECT_LINK'''</code> &ndash; it is assumed that the project is located at '''<code>"Wikipedia:WikiProject &lt;PROJECT>"</code>'''. If this is not the case, then define the full link to the project page in this parameter. {{nowrap|''Eg: '''<code>Wikipedia:WikiProject Tulips</code>'''''}}
*<code>'''PROJECT_LINK'''</code> &ndash; it is assumed that the project is located at '''<code>"Wikipedia:WikiProject &lt;PROJECT>"</code>'''. If this is not the case, then define the full link to the project page in this parameter. {{nowrap|''Eg: '''<code>Wikipedia:WikiProject Tulips</code>'''''}}
*<code>'''IMAGE_LEFT'''</code> &ndash; the location of an image to use in the top-left corner of the banner. '''''Do not''''' include the "''Image:''" prefix. Images used on WikiProject banners '''''must''''' be free images&nbsp;– [[WP:FU|fair use]] images are '''''not''''' permitted. {{nowrap|''Eg: '''<code>[[:Image:Tulip - floriade canberra.jpg|Tulip - floriade canberra.jpg]]</code>'''''}}
*<code>'''IMAGE_LEFT'''</code> &ndash; the location of an image to use in the top-left corner of the banner. '''''Do not''''' include the "''Image:''" prefix. Images used on WikiProject banners '''''must''''' be free images – [[WP:FU|fair use]] images are '''''not''''' permitted. {{nowrap|''Eg: '''<code>[[:Image:Tulip - floriade canberra.jpg|Tulip - floriade canberra.jpg]]</code>'''''}}
**<code>'''IMAGE_LEFT_SMALL'''</code> &ndash; the size of <code>IMAGE_LEFT</code>, when the banner is displayed in 'small style'. Default is 40px. {{nowrap|''Eg: '''<code><nowiki>25px</nowiki></code>'''''}}
**<code>'''IMAGE_LEFT_SMALL'''</code> &ndash; the size of <code>IMAGE_LEFT</code>, when the banner is displayed in 'small style'. Default is 40px. {{nowrap|''Eg: '''<code><nowiki>25px</nowiki></code>'''''}}
**<code>'''IMAGE_LEFT_LARGE'''</code> &ndash; the size of <code>IMAGE_LEFT</code> in normal display. Default is 80px. {{nowrap|''Eg: '''<code><nowiki>50px</nowiki></code>'''''}}
**<code>'''IMAGE_LEFT_LARGE'''</code> &ndash; the size of <code>IMAGE_LEFT</code> in normal display. Default is 80px. {{nowrap|''Eg: '''<code><nowiki>50px</nowiki></code>'''''}}
*<code>'''IMAGE_RIGHT'''</code> &ndash; the location of an image to use in the top-right corner of the banner. '''''Do not''''' include the "''Image:''" prefix. Images used on WikiProject banners '''''must''''' be free images&nbsp;– [[WP:FU|fair use]] images are '''''not''''' permitted. {{nowrap|''Eg: '''<code>[[:Image:Tulip - floriade canberra.jpg|Tulip - floriade canberra.jpg]]</code>'''''}}
*<code>'''IMAGE_RIGHT'''</code> &ndash; the location of an image to use in the top-right corner of the banner. '''''Do not''''' include the "''Image:''" prefix. Images used on WikiProject banners '''''must''''' be free images – [[WP:FU|fair use]] images are '''''not''''' permitted. {{nowrap|''Eg: '''<code>[[:Image:Tulip - floriade canberra.jpg|Tulip - floriade canberra.jpg]]</code>'''''}}
**<code>'''IMAGE_RIGHT_SMALL'''</code> &ndash; the size of <code>IMAGE_RIGHT</code>, when the banner is displayed in 'small style'. Default is 40px. {{nowrap|''Eg: '''<code><nowiki>25px</nowiki></code>'''''}}
**<code>'''IMAGE_RIGHT_SMALL'''</code> &ndash; the size of <code>IMAGE_RIGHT</code>, when the banner is displayed in 'small style'. Default is 40px. {{nowrap|''Eg: '''<code><nowiki>25px</nowiki></code>'''''}}
**<code>'''IMAGE_RIGHT_LARGE'''</code> &ndash; the size of <code>IMAGE_RIGHT</code> in normal display. Default is 80px. {{nowrap|''Eg: '''<code><nowiki>50px</nowiki></code>'''''}}
**<code>'''IMAGE_RIGHT_LARGE'''</code> &ndash; the size of <code>IMAGE_RIGHT</code> in normal display. Default is 80px. {{nowrap|''Eg: '''<code><nowiki>50px</nowiki></code>'''''}}
*<code>'''MAIN_TEXT'''</code> &ndash; the default text is "''This article is within the scope of '''<nowiki>[[WikiProject {{{PROJECT_LINK}}}]]</nowiki>''', a collaborative effort to improve the coverage of '''<nowiki>{{{PROJECT or MAIN_ARTICLE}}}</nowiki>''' articles on Wikipedia. If you would like to participate, please visit the project page, where you can join the '''<nowiki>[[Talk:{{{PROJECT_LINK}}}]]</nowiki>''' discussion and see a list of open tasks.''" If defined, the alternate message will be displayed.
*<code>'''MAIN_TEXT'''</code> &ndash; the default text is "''This article is within the scope of '''<nowiki>[[WikiProject {{{PROJECT_LINK}}}]]</nowiki>''', a collaborative effort to improve the coverage of '''<nowiki>{{{PROJECT or MAIN_ARTICLE}}}</nowiki>''' articles on Wikipedia. If you would like to participate, please visit the project page, where you can join the '''<nowiki>[[Talk:{{{PROJECT_LINK}}}]]</nowiki>''' discussion and see a list of open tasks.''" If defined, the alternate message will be displayed.
**<code>'''MAIN_ARTICLE'''</code> &ndash; the default article is <code>PROJECT</code>; alternatively, the linked article can be changed to either a raw article title or more complicated text. {{nowrap|''Eg: (default) '''<code><nowiki>tulips</nowiki></code>''' &rarr; '''"...the coverage of [[tulip]]s on Wikipedia..."'''}} or (alternate) '''<code><nowiki>[[tulip]]s, [[liliaceae]] and related articles</nowiki></code>''' &rarr; '''"...the coverage of [[tulip]]s, [[liliaceae]] and related articles on Wikipedia..."'''
**<code>'''MAIN_ARTICLE'''</code> &ndash; the default article is <code>PROJECT</code>; alternatively, the linked article can be changed to either a raw article title or more complicated text. {{nowrap|''Eg: (default) '''<code><nowiki>tulips</nowiki></code>''' &rarr; '''"...the coverage of [[tulip]]s on Wikipedia..."'''}} or (alternate) '''<code><nowiki>[[tulip]]s, [[liliaceae]] and related articles</nowiki></code>''' &rarr; '''"...the coverage of [[tulip]]s, [[liliaceae]] and related articles on Wikipedia..."'''
*<code>'''PORTAL'''</code> &ndash; if the WikiProject maintains a [[WP:Portal|portal]], define this parameter with the portal name. The associated image is held centrally at [[Template:Portal/images]]. {{nowrap|''Eg: '''<code><nowiki>Tulips</nowiki></code>'''''}}
*<code>'''MAIN_CAT'''</code> &ndash; the default is ''no'' main category created; if defined, all pages displaying the template will be sorted into [[:Category:MAIN_CAT|Category:<code>MAIN_CAT</code>]]. {{nowrap|''Eg: '''<code><nowiki>WikiProject Idaho articles</nowiki></code>''' → [[:Category:WikiProject Idaho articles]]''}}
*<code>'''MAIN_CAT'''</code> &ndash; the default is ''no'' main category created; if defined, all pages displaying the template will be sorted into [[:Category:MAIN_CAT|Category:<code>MAIN_CAT</code>]]. {{nowrap|''Eg: '''<code><nowiki>WikiProject Tulips articles</nowiki></code>''' → [[:Category:WikiProject Tulips articles]]''}}
*<code>'''BOTTOM_TEXT'''</code> &ndash; if defined, contains text that will appear across the bottom of the banner and above the [[#Collapsed section|collapsed section]] (if one is present). Please '''''do not''''' use this parameter to '[[hooking|hook]]' extra code to the bottom of the template &ndash; see the [[#Hooks|''hooks'']] section below for a better solution.
*<code>'''BOTTOM_TEXT'''</code> &ndash; if defined, contains text that will appear across the bottom of the banner and above the [[#Collapsed section|collapsed section]] (if one is present). Please '''''do not''''' use this parameter to '[[hooking|hook]]' extra code to the bottom of the template &ndash; see the [[#Hooks|''hooks'']] section below for a better solution.
<br clear=all>
<br clear=all>
Line 240: Line 237:
|<pre style="font-size:85%">
|<pre style="font-size:85%">
{{WPBannerMeta
{{WPBannerMeta
|PROJECT          = Tulips
|PROJECT          = Idaho
  |BANNER_NAME    = Template:WikiProject Tulips
  |BANNER_NAME    = Template:WikiProject Idaho
  |substcheck=<includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
  |substcheck=<includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
  |small={{{small|}}}
  |small={{{small|}}}
  |category={{{category|¬}}}
  |category={{{category|¬}}}
  |listas={{{listas|}}}
  |listas={{{listas|}}}
|PROJECT_LINK    = Wikipedia:Somewhere about tulips
|PROJECT_LINK    = FamilySearch Wiki:WikiProject Idaho
|IMAGE_LEFT      = Tulip - floriade canberra.jpg
|IMAGE_LEFT      = Idaho.png
|IMAGE_LEFT_SMALL = 25px
|IMAGE_LEFT_SMALL = 25px
|IMAGE_LEFT_LARGE = 50px
|IMAGE_LEFT_LARGE = 50px
|MAIN_ARTICLE    = [[tulip]]s, [[liliaceae]] and related articles
|MAIN_ARTICLE    = [[Idaho]] and related articles
|PORTAL          = Tulips
}}</pre>
}}</pre>
|}
|}
:Produces:
:Produces:
{{WPBannerMeta
{{WPBannerMeta
|PROJECT          = Tulips
|PROJECT          = Idaho
  |BANNER_NAME    = Template:WikiProject Tulips
  |BANNER_NAME    = Template:WikiProject Idaho
|PROJECT_LINK    = Wikipedia:Somewhere about tulips
|PROJECT_LINK    = FamilySearch Wiki:WikiProject Idaho
|IMAGE_LEFT      = Tulip - floriade canberra.jpg
|IMAGE_LEFT      = Idaho.png
|IMAGE_LEFT_SMALL = 25px
|IMAGE_LEFT_SMALL = 25px
|IMAGE_LEFT_LARGE = 50px
|IMAGE_LEFT_LARGE = 50px
|MAIN_ARTICLE    = [[tulip]]s, [[liliaceae]] and related articles
|MAIN_ARTICLE    = [[Idaho]] and related articles
|PORTAL          = Tulips
|category=no
|category=no
}}
}}
Line 272: Line 267:
**<code>'''QUALITY_SCALE'''</code> &ndash; configures the quality scale; possible options are:
**<code>'''QUALITY_SCALE'''</code> &ndash; configures the quality scale; possible options are:
***standard &ndash; enables the 'standard' quality scale ([[WP:FA|FA]], [[WP:ACLASS|A]], [[WP:GA|GA]], [[WP:BCLASS|B]], C, Start, [[WP:STUB|Stub]], [[WP:FL|FL]], List, NA). (This is the default behaviour, if the ''class'' parameter is used.)
***standard &ndash; enables the 'standard' quality scale ([[WP:FA|FA]], [[WP:ACLASS|A]], [[WP:GA|GA]], [[WP:BCLASS|B]], C, Start, [[WP:STUB|Stub]], [[WP:FL|FL]], List, NA). (This is the default behaviour, if the ''class'' parameter is used.)
***extended &ndash; enables the 'standard' quality scale plus some additional values (Category, Disambig, Image, Portal, Project and Template).
***extended &ndash; enables the 'standard' quality scale plus some additional values (Category, Disambig, Image, Project and Template).
***inline &ndash; allows for a simple custom quality scale to be used, generally used with {{tl|Class mask}}.
***inline &ndash; allows for a simple custom quality scale to be used, generally used with {{tl|Class mask}}.
***subpage &ndash; allows for a more complex custom quality scale to be used using a subpage called ''/class''. See [[#Custom masks|custom masks]] below for further details.
***subpage &ndash; allows for a more complex custom quality scale to be used using a subpage called ''/class''. See [[#Custom masks|custom masks]] below for further details.
Line 279: Line 274:
**:<code><nowiki>|auto=inherit</nowiki></code>, to show that the class has automatically been inherited from other WikiProject's assessments on the same page;
**:<code><nowiki>|auto=inherit</nowiki></code>, to show that the class has automatically been inherited from other WikiProject's assessments on the same page;
**:<code><nowiki>|auto=length</nowiki></code>, to show that the class has automatically been deduced from the length of the article.
**:<code><nowiki>|auto=length</nowiki></code>, to show that the class has automatically been deduced from the length of the article.
***<code>'''AUTO_ASSESS_CAT'''</code>&nbsp;– if defined, all articles with the {{para|auto}} parameter will be categorised into [[:Category:AUTO_ASSESS_CAT|Category:<code>AUTO_ASSESS_CAT</code>]]. By default, they are categorised into [[:Category:Automatically assessed PROJECT articles|Category:Automatically assessed <code>PROJECT</code> articles]]. {{nowrap|''Eg: '''<code><nowiki>Automatically assessed Tulip and Daffodil articles</nowiki></code>''' → [[:Category:Automatically assessed Tulip and Daffodil articles]]''}}
***<code>'''AUTO_ASSESS_CAT'''</code> – if defined, all articles with the {{para|auto}} parameter will be categorised into [[:Category:AUTO_ASSESS_CAT|Category:<code>AUTO_ASSESS_CAT</code>]]. By default, they are categorised into [[:Category:Automatically assessed PROJECT articles|Category:Automatically assessed <code>PROJECT</code> articles]]. {{nowrap|''Eg: '''<code><nowiki>Automatically assessed Tulip and Daffodil articles</nowiki></code>''' → [[:Category:Automatically assessed Tulip and Daffodil articles]]''}}
**<code>'''b1'''</code>, <code>'''b2'''</code>, <code>'''b3'''</code>, <code>'''b4'''</code>, <code>'''b5'''</code>, <code>'''b6'''</code> &ndash; the six B-class criteria parameters should only be passed through if the [[Template:WPBannerMeta/hooks/bchecklist|B-class checklist hook]] is used.
**<code>'''b1'''</code>, <code>'''b2'''</code>, <code>'''b3'''</code>, <code>'''b4'''</code>, <code>'''b5'''</code>, <code>'''b6'''</code> &ndash; the six B-class criteria parameters should only be passed through if the [[Template:WPBannerMeta/hooks/bchecklist|B-class checklist hook]] is used.
*<code>'''importance'''</code>&ndash; if defined, enables the standard importance scale (Top, High, Mid, Low, NA, Unknown). {{nowrap|''Eg: '''<code><nowiki>importance={{{importance|}}}</nowiki></code>'''''}}
*<code>'''importance'''</code>&ndash; if defined, enables the standard importance scale (Top, High, Mid, Low, NA, Unknown). {{nowrap|''Eg: '''<code><nowiki>importance={{{importance|}}}</nowiki></code>'''''}}
Line 288: Line 283:
***subpage &ndash; allows for a more complex custom importance/priority scale to be used using a subpage called ''/importance''.
***subpage &ndash; allows for a more complex custom importance/priority scale to be used using a subpage called ''/importance''.
*<code>'''ASSESSMENT_LINK'''</code> &ndash; the link to a WikiProject-specific quality (and/or importance) scale. If there is a page at '''<code>"Wikipedia:WikiProject &lt;PROJECTLINK>/Assessment"</code>''' then this will be used by default. To override this, you can set this parameter to '''no'''. For more details, see [[Template:WPBannerMeta/Assessment link|here]].
*<code>'''ASSESSMENT_LINK'''</code> &ndash; the link to a WikiProject-specific quality (and/or importance) scale. If there is a page at '''<code>"Wikipedia:WikiProject &lt;PROJECTLINK>/Assessment"</code>''' then this will be used by default. To override this, you can set this parameter to '''no'''. For more details, see [[Template:WPBannerMeta/Assessment link|here]].
*<code>'''ASSESSMENT_CAT'''</code> &ndash; articles are sorted into categories based on their quality; so [[WP:FA|"Featured Articles"]] on Tulips would be categorised by default into [[:Category:FA-Class Tulips articles]]. If this parameter is defined, featured articles would instead be categorised into [[:Category:FA-Class ASSESSMENT_CAT|Category:FA-Class <code>ASSESSMENT_CAT</code>]]. {{nowrap|''Eg: '''<code><nowiki>Liliaceae articles</nowiki></code>''' → [[:Category:FA-Class Liliaceae articles]]''}}
*<code>'''ASSESSMENT_CAT'''</code> &ndash; articles are sorted into categories based on their quality; so [[WP:FA|"Featured Articles"]] on Idaho would be categorised by default into [[:Category:FA-Class Idaho articles]]. If this parameter is defined, featured articles would instead be categorised into [[:Category:FA-Class ASSESSMENT_CAT|Category:FA-Class <code>ASSESSMENT_CAT</code>]]. {{nowrap|''Eg: '''<code><nowiki>Liliaceae articles</nowiki></code>''' → [[:Category:FA-Class Liliaceae articles]]''}}
*<code>'''COMMENTS'''</code>&ndash; some projects may want to use a subpage of the article's talk page to post brief, assessment-related comments about the article. If these comments are placed in a "'''<code><nowiki>{{FULLPAGENAME}}/Comments</nowiki></code>'''" subpage, then this parameter will cause the banner to automatically display. {{nowrap|''Eg: '''<code><nowiki>yes</nowiki></code>'''''}}
*<code>'''COMMENTS'''</code>&ndash; some projects may want to use a subpage of the article's talk page to post brief, assessment-related comments about the article. If these comments are placed in a "'''<code><nowiki>{{FULLPAGENAME}}/Comments</nowiki></code>'''" subpage, then this parameter will cause the banner to automatically display. {{nowrap|''Eg: '''<code><nowiki>yes</nowiki></code>'''''}}
**<code>'''COMMENTS_CAT'''</code>&ndash; if this parameter is defined, articles which have comments are sorted into [[:Category:COMMENTS_CAT|Category:<code>COMMENTS_CAT</code>]]. By default, these pages are categorised into [[:Category:Project articles with comments|<tt>PROJECT</tt> articles with comments]]. {{nowrap|''Eg: (alternate) '''<code><nowiki>Tulip and Daffodil articles with comments</nowiki></code>''' → [[:Category:Tulip and Daffodil articles with comments]]}}''. A value of <code>none</code> results in no categorisation.
**<code>'''COMMENTS_CAT'''</code>&ndash; if this parameter is defined, articles which have comments are sorted into [[:Category:COMMENTS_CAT|Category:<code>COMMENTS_CAT</code>]]. By default, these pages are categorised into [[:Category:Project articles with comments|<tt>PROJECT</tt> articles with comments]]. {{nowrap|''Eg: (alternate) '''<code><nowiki>Tulip and Daffodil articles with comments</nowiki></code>''' → [[:Category:Tulip and Daffodil articles with comments]]}}''. A value of <code>none</code> results in no categorisation.
Line 296: Line 291:
|<pre style="font-size:85%">
|<pre style="font-size:85%">
{{WPBannerMeta
{{WPBannerMeta
|PROJECT            = Tulips
|PROJECT            = Idaho
  |BANNER_NAME        = Template:WikiProject Tulips
  |BANNER_NAME        = Template:WikiProject Idaho
  |substcheck=<includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
  |substcheck=<includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
  |small={{{small|}}}
  |small={{{small|}}}
  |category={{{category|¬}}}
  |category={{{category|¬}}}
  |listas={{{listas|}}}
  |listas={{{listas|}}}
|IMAGE_LEFT          = Tulip - floriade canberra.jpg
|IMAGE_LEFT          = Idaho.png
|QUALITY_SCALE      = extended
|QUALITY_SCALE      = extended
  |class={{{class|}}}
  |class={{{class|}}}
  |auto={{{auto|}}}
  |auto={{{auto|}}}
  |importance={{{importance|}}}
  |importance={{{importance|}}}
|ASSESSMENT_LINK    = Wikipedia:WikiProject Tulips/Article grading
|ASSESSMENT_LINK    = Wikipedia:WikiProject Idaho/Article grading
|COMMENTS            = yes
|COMMENTS            = yes
  |COMMENTS_CAT      =  
  |COMMENTS_CAT      =  
Line 314: Line 309:
:Produces:
:Produces:
{{WPBannerMeta
{{WPBannerMeta
|PROJECT          = Tulips
|PROJECT          = Idaho
  |BANNER_NAME    = Template:WikiProject Tulips
  |BANNER_NAME    = Template:WikiProject Idaho
  |small={{{small|}}}
  |small={{{small|}}}
  |category={{{category|¬}}}
  |category={{{category|¬}}}
  |listas={{{listas|}}}
  |listas={{{listas|}}}
|IMAGE_LEFT      = Tulip - floriade canberra.jpg
|IMAGE_LEFT      = Idaho.png
|QUALITY_SCALE    = extended
|QUALITY_SCALE    = extended
  |class  = GA
  |class  = GA
  |importance = Top
  |importance = Top
|ASSESSMENT_LINK  = Wikipedia:WikiProject Tulips/Article grading
|ASSESSMENT_LINK  = Wikipedia:WikiProject Idaho/Article grading
|COMMENTS            = yes
|COMMENTS            = yes
  |COMMENTS_CAT      =  
  |COMMENTS_CAT      =  
Line 351: Line 346:
|<pre style="font-size:85%">
|<pre style="font-size:85%">
{{WPBannerMeta
{{WPBannerMeta
|PROJECT            = Tulips
|PROJECT            = Idaho
  |BANNER_NAME      = Template:WikiProject Tulips
  |BANNER_NAME      = Template:WikiProject Idaho
  |substcheck=<includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
  |substcheck=<includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
  |small={{{small|}}}
  |small={{{small|}}}
Line 360: Line 355:
|QUALITY_SCALE      = extended
|QUALITY_SCALE      = extended
  |class={{{class|}}}
  |class={{{class|}}}
|ASSESSMENT_LINK    = Wikipedia:WikiProject Tulips/Article grading
|ASSESSMENT_LINK    = Wikipedia:WikiProject Idaho/Article grading
|attention={{{attention|}}}
|attention={{{attention|}}}
  |ATTENTION_CAT    =  
  |ATTENTION_CAT    =  
Line 373: Line 368:
  |NOTE_2_TEXT      = An [[audio file format|audio file]] has been created of this article.
  |NOTE_2_TEXT      = An [[audio file format|audio file]] has been created of this article.
  |NOTE_2_IMAGE      = Nuvola apps arts.png
  |NOTE_2_IMAGE      = Nuvola apps arts.png
  |NOTE_2_CAT        = Tulips articles with audio files
  |NOTE_2_CAT        = Idaho articles with audio files
}}</pre>
}}</pre>
|}
|}
:Produces:
:Produces:
{{WPBannerMeta
{{WPBannerMeta
|PROJECT            = Tulips
|PROJECT            = Idaho
  |BANNER_NAME        = Template:WikiProject Tulips
  |BANNER_NAME        = Template:WikiProject Idaho
|small  = {{{small|}}}
|small  = {{{small|}}}
  |category={{{category|¬}}}
  |category={{{category|¬}}}
  |listas = {{{listas|}}}
  |listas = {{{listas|}}}
|IMAGE_LEFT          = Tulip - floriade canberra.jpg
|IMAGE_LEFT          = Idaho.png
|QUALITY_SCALE      = extended
|QUALITY_SCALE      = extended
  |class  = C
  |class  = C
|ASSESSMENT_LINK    = Wikipedia:WikiProject Tulips/Article grading
|ASSESSMENT_LINK    = Wikipedia:WikiProject Idaho/Article grading
|attention=yes
|attention=yes
  |ATTENTION_CAT      =  
  |ATTENTION_CAT      =  
Line 404: Line 399:
WPBannerMeta can accommodate up to five [[task force]]s, each with its own image, links and importance scale, if desired. The following parameters are available:
WPBannerMeta can accommodate up to five [[task force]]s, each with its own image, links and importance scale, if desired. The following parameters are available:
*<code>'''tf 1'''</code> &ndash; this parameter ''must'' be passed through to enable and trigger the display of the task force section. {{nowrap|''Eg: '''<code><nowiki>tf 1={{{floridiae|}}}</nowiki></code>'''''}}
*<code>'''tf 1'''</code> &ndash; this parameter ''must'' be passed through to enable and trigger the display of the task force section. {{nowrap|''Eg: '''<code><nowiki>tf 1={{{floridiae|}}}</nowiki></code>'''''}}
**<code>'''TF_1_LINK'''</code> &ndash; the full page name of the task force's project page. {{nowrap|''Eg: '''<code><nowiki>Wikipedia:WikiProject Tulips/Task forces/Floridiae</nowiki></code>'''''}}
**<code>'''TF_1_LINK'''</code> &ndash; the full page name of the task force's project page. {{nowrap|''Eg: '''<code><nowiki>Wikipedia:WikiProject Idaho/Task forces/Floridiae</nowiki></code>'''''}}
**<code>'''TF_1_NAME'''</code> &ndash; the way the task force's name will appear in its piped link; redundant when {{para|TF_1_TEXT}} is used. {{nowrap|''Eg: '''<code><nowiki>the Floridiae task force</nowiki></code>'''''}}
**<code>'''TF_1_NAME'''</code> &ndash; the way the task force's name will appear in its piped link; redundant when {{para|TF_1_TEXT}} is used. {{nowrap|''Eg: '''<code><nowiki>the Floridiae task force</nowiki></code>'''''}}
**<code>'''TF_1_NESTED'''</code> &ndash; if defined, a link of the form "'''/ <nowiki>[[{{{TF_1_LINK}}}|{{{TF_1_NESTED}}}]]</nowiki>'''" is added after the main project's name when the banner is collapsed inside a {{tl|WikiProjectBannerShell}}. {{nowrap|''Eg: '''<code><nowiki>Floridiae</nowiki></code>'''''}}
**<code>'''TF_1_NESTED'''</code> &ndash; if defined, a link of the form "'''/ <nowiki>[[{{{TF_1_LINK}}}|{{{TF_1_NESTED}}}]]</nowiki>'''" is added after the main project's name when the banner is collapsed inside a {{tl|WikiProjectBannerShell}}. {{nowrap|''Eg: '''<code><nowiki>Floridiae</nowiki></code>'''''}}
**<code>'''TF_1_TEXT'''</code> &ndash; if defined, replaces the default "This page is supported by..." text. ''Eg:&nbsp;'''<code><nowiki>This page is within the scope of the [[Wikipedia:WikiProject Tulips/Task forces/Floridiae|Floridiae task force]]. New members are always welcome!</nowiki></code>''''' If defined to be "none", then no output will be displayed, although appropriate categories will still be added.
**<code>'''TF_1_TEXT'''</code> &ndash; if defined, replaces the default "This page is supported by..." text. ''Eg: '''<code><nowiki>This page is within the scope of the [[Wikipedia:WikiProject Idaho/Task forces/Floridiae|Floridiae task force]]. New members are always welcome!</nowiki></code>''''' If defined to be "none", then no output will be displayed, although appropriate categories will still be added.
**<code>'''TF_1_IMAGE'''</code> &ndash; an image can be defined for each task force. Remember that all images '''''must''''' be free, not fair-use. {{nowrap|''Eg: '''<code><nowiki>Tulipa florenskyi 4.jpg</nowiki></code>'''''}}
**<code>'''TF_1_IMAGE'''</code> &ndash; an image can be defined for each task force. Remember that all images '''''must''''' be free, not fair-use. {{nowrap|''Eg: '''<code><nowiki>Idaho.jpg</nowiki></code>'''''}}
**<code>'''TF_1_QUALITY'''</code> &ndash; if defined, enables the quality categorisations for the main project (eg: [[:Category:FA-Class Tulips articles]]) to be duplicated for the task force. The class arising from {{para|class}} and {{para|QUALITY_SCALE}} will be used; {{nowrap|''Eg: '''<code><nowiki>yes</nowiki></code>'''''}}
**<code>'''TF_1_QUALITY'''</code> &ndash; if defined, enables the quality categorisations for the main project (eg: [[:Category:FA-Class Idaho articles]]) to be duplicated for the task force. The class arising from {{para|class}} and {{para|QUALITY_SCALE}} will be used; {{nowrap|''Eg: '''<code><nowiki>yes</nowiki></code>'''''}}
**<code>'''tf 1 importance'''</code>&ndash; if defined, enables the use of a separate importance (or priority, if used) scale for the task force.{{nowrap|''Eg: '''<code><nowiki>tf 1 importance={{{floridiae-importance|}}}</nowiki></code>'''''}}
**<code>'''tf 1 importance'''</code>&ndash; if defined, enables the use of a separate importance (or priority, if used) scale for the task force.{{nowrap|''Eg: '''<code><nowiki>tf 1 importance={{{floridiae-importance|}}}</nowiki></code>'''''}}
**<code>'''TF_1_ASSESSMENT_CAT'''</code> ''(Required if quality or importance assessments are used)'' &ndash; the assessment category to be used for the task force-specific quality and importance assessments. Identical in syntax to {{para|ASSESSMENT_CAT}}. {{nowrap|''Eg: '''<code><nowiki>Floridiae articles</nowiki></code>''' → [[:Category:FA-Class Floridiae articles]]}}''
**<code>'''TF_1_ASSESSMENT_CAT'''</code> ''(Required if quality or importance assessments are used)'' &ndash; the assessment category to be used for the task force-specific quality and importance assessments. Identical in syntax to {{para|ASSESSMENT_CAT}}. {{nowrap|''Eg: '''<code><nowiki>Floridiae articles</nowiki></code>''' → [[:Category:FA-Class Floridiae articles]]}}''
Line 419: Line 414:
|<pre style="font-size:85%">
|<pre style="font-size:85%">
{{WPBannerMeta
{{WPBannerMeta
|PROJECT              = Tulips
|PROJECT              = Idaho
  |BANNER_NAME        = Template:WikiProject Tulips
  |BANNER_NAME        = Template:WikiProject Idaho
  |substcheck=<includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
  |substcheck=<includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
  |small={{{small|}}}
  |small={{{small|}}}
  |category={{{category|¬}}}
  |category={{{category|¬}}}
  |listas={{{listas|}}}
  |listas={{{listas|}}}
|IMAGE_LEFT          = Tulip - floriade canberra.jpg
|IMAGE_LEFT          = Idaho.png
|QUALITY_SCALE        = standard
|QUALITY_SCALE        = standard
  |class={{{class|}}}
  |class={{{class|}}}
|tf 1={{{floridiae|}}}
|tf 1={{{floridiae|}}}
  |TF_1_LINK          = Wikipedia:Wikiproject Tulips/Task forces/Floridiae
  |TF_1_LINK          = Wikipedia:Wikiproject Idaho/Task forces/Floridiae
  |TF_1_NAME          = the Floridiae task force
  |TF_1_NAME          = the Floridiae task force
  |TF_1_NESTED        = Floridiae
  |TF_1_NESTED        = Floridiae
  |TF_1_TEXT          =  
  |TF_1_TEXT          =  
  |TF_1_IMAGE          = Tulipa florenskyi 4.jpg
  |TF_1_IMAGE          = Idaho.png
  |tf 1 importance={{{floridiae-importance}}}
  |tf 1 importance={{{floridiae-importance}}}
  |TF_1_ASSESSMENT_CAT = Floridiae articles
  |TF_1_ASSESSMENT_CAT = Floridiae articles
Line 442: Line 437:
{{WikiProjectBannerShell|1=
{{WikiProjectBannerShell|1=
{{WPBannerMeta
{{WPBannerMeta
|PROJECT          = Tulips
|PROJECT          = Idaho
  |BANNER_NAME    = Template:WikiProject Tulips
  |BANNER_NAME    = Template:WikiProject Idaho
|IMAGE_LEFT      = Tulip - floriade canberra.jpg
|IMAGE_LEFT      = Idaho.png
|QUALITY_SCALE    = standard
|QUALITY_SCALE    = standard
  |class  = FA
  |class  = FA
|tf 1 = yes
|tf 1 = yes
  |TF_1_LINK      = Wikipedia:Wikiproject Tulips/Task forces/Floridiae
  |TF_1_LINK      = Wikipedia:Wikiproject Idaho/Task forces/Floridiae
  |TF_1_NAME      = the Floridiae task force
  |TF_1_NAME      = the Floridiae task force
  |TF_1_NESTED    = Floridiae
  |TF_1_NESTED    = Floridiae
  |TF_1_TEXT      =  
  |TF_1_TEXT      =  
  |TF_1_IMAGE      = Tulipa florenskyi 4.jpg
  |TF_1_IMAGE      = Idaho.png
  |tf 1 importance= Top
  |tf 1 importance= Top
  |TF_1_ASSESSMENT_CAT= Floridiae articles
  |TF_1_ASSESSMENT_CAT= Floridiae articles