Template:WPBannerDoc: Difference between revisions
>Funandtrvl (format) |
WikiDwarfBOT (talk | contribs) m (→top: clean up, replaced: Wikipedia: → Bharatpedia: (7)) |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
|Attention|attention=set {{para|{{{1}}}|yes}} if the article needs immediate attention from experienced editors. Use only if another parameter does not cover the need for attention; this should be used sparingly. It is strongly encouraged to also add a section to the talk page explaining what needs attention. | |Attention|attention=set {{para|{{{1}}}|yes}} if the article needs immediate attention from experienced editors. Use only if another parameter does not cover the need for attention; this should be used sparingly. It is strongly encouraged to also add a section to the talk page explaining what needs attention. | ||
**<small>This parameter populates {{cl|{{#if:{{{ATTENTION_CAT|}}}|{{{ATTENTION_CAT}}}|{{{PROJECT|}}} articles needing attention}}}}.</small>{{#if:{{{ATTENTION_CAT|}}}{{{PROJECT|}}}||<span class=error>WPBannerDoc error: either {{para|PROJECT}} or {{para|ATTENTION_CAT}} must be specified with <code>{{{1}}}</code></span>}} | **<small>This parameter populates {{cl|{{#if:{{{ATTENTION_CAT|}}}|{{{ATTENTION_CAT}}}|{{{PROJECT|}}} articles needing attention}}}}.</small>{{#if:{{{ATTENTION_CAT|}}}{{{PROJECT|}}}||<span class=error>WPBannerDoc error: either {{para|PROJECT}} or {{para|ATTENTION_CAT}} must be specified with <code>{{{1}}}</code></span>}} | ||
|auto=This parameter is for the use of [[ | |auto=This parameter is for the use of [[Bharatpedia:Bots|bots]] and indicates that the article has been [[Bharatpedia:Types of bots#WikiProject tagging and auto-assessment bots|automatically rated]]: | ||
**{{para|auto|length}} – based on the length of the article | **{{para|auto|length}} – based on the length of the article | ||
**{{para|auto|inherit}} – because one or more other projects use this class | **{{para|auto|inherit}} – because one or more other projects use this class | ||
**{{para|auto|yes}} (or {{para|auto|stub}}), in conjunction with {{para|class|stub}} – as Stub-Class because it uses a [[ | **{{para|auto|yes}} (or {{para|auto|stub}}), in conjunction with {{para|class|stub}} – as Stub-Class because it uses a [[Bharatpedia:Stub|stub template]]{{#ifeq:{{{AUTO_ASSESS_CAT|}}}|none|| | ||
***<small>Use of the above values (or value combinations) with this parameter populates {{cl|{{{AUTO_ASSESS_CAT|Automatically assessed {{{PROJECT|}}} articles}}}}}.</small>{{#if:{{{AUTO_ASSESS_CAT|}}}{{{PROJECT|}}}||<span class=error>WPBannerDoc error: either {{para|PROJECT}} or {{para|AUTO_ASSESS_CAT}} must be specified with <code>{{{1}}}</code></span>}}}} | ***<small>Use of the above values (or value combinations) with this parameter populates {{cl|{{{AUTO_ASSESS_CAT|Automatically assessed {{{PROJECT|}}} articles}}}}}.</small>{{#if:{{{AUTO_ASSESS_CAT|}}}{{{PROJECT|}}}||<span class=error>WPBannerDoc error: either {{para|PROJECT}} or {{para|AUTO_ASSESS_CAT}} must be specified with <code>{{{1}}}</code></span>}}}} | ||
|category=set {{para|category|no}} if, and only if, a banner is being used for demonstration or testing purposes, to prevent unnecessary or undesirable categorization. Otherwise, omit this parameter. | |category=set {{para|category|no}} if, and only if, a banner is being used for demonstration or testing purposes, to prevent unnecessary or undesirable categorization. Otherwise, omit this parameter. | ||
Line 11: | Line 11: | ||
|<!--NULL--> = {{#ifexist:{{#if:{{{PROJECT_LINK|}}} | |<!--NULL--> = {{#ifexist:{{#if:{{{PROJECT_LINK|}}} | ||
|{{{PROJECT_LINK}}} | |{{{PROJECT_LINK}}} | ||
| | |Bharatpedia:WikiProject {{{PROJECT}}} | ||
}}/Assessment | }}/Assessment | ||
|{{#if:{{{PROJECT_LINK|}}} | |{{#if:{{{PROJECT_LINK|}}} | ||
|{{{PROJECT_LINK}}} | |{{{PROJECT_LINK}}} | ||
| | |Bharatpedia:WikiProject {{{PROJECT}}} | ||
}}/Assessment | }}/Assessment | ||
|<!--NULL--> | |<!--NULL--> | ||
Line 22: | Line 22: | ||
|#default = {{{ASSESSMENT_LINK}}} | |#default = {{{ASSESSMENT_LINK}}} | ||
}} |bpara={{{bpara|}}} |bmax={{{bmax|}}} |QUALITY_SCALE={{{QUALITY_SCALE|}}} |class_values={{{class_values|}}} |IMPORTANCE_SCALE={{{IMPORTANCE_SCALE|}}} |importance_values={{{importance_values|}}} |BANNER_NAME={{#if:{{{BANNER_NAME|}}}|{{{BANNER_NAME}}}|Template:WikiProject {{{PROJECT}}}}} }} | }} |bpara={{{bpara|}}} |bmax={{{bmax|}}} |QUALITY_SCALE={{{QUALITY_SCALE|}}} |class_values={{{class_values|}}} |IMPORTANCE_SCALE={{{IMPORTANCE_SCALE|}}} |importance_values={{{importance_values|}}} |BANNER_NAME={{#if:{{{BANNER_NAME|}}}|{{{BANNER_NAME}}}|Template:WikiProject {{{PROJECT}}}}} }} | ||
|listas=This parameter, which is the equivalent of the [[Help:Category#Default sort key|DEFAULTSORT sortkey]] that should be placed on all biographical articles, is a sortkey for the article talk page (e.g. for {{{first}}} {{{last}}}, use {{para|listas|{{ucfirst:{{{last}}}}}, {{{first}}}}} so that the talk page will show up in the {{uc:{{str index|{{{last}}}|1}}}}'s and not the {{str index|{{{first}}}|1}}'s of the various assessment and administrative categories{{#if:{{{last2|}}}|; similarly, for topics with titles beginning with an [[article (grammar)|article]] such as "the" or "a" - e.g. for {{{first2}}} {{{last2}}}, use {{para|listas|{{ucfirst:{{{last2}}}}}, {{{first2}}}}} so that the talk page will show up in the {{uc:{{str index|{{{last2}}}|1}}}}'s}}). This is important because it is one source used by those who set DEFAULTSORT on the article; consider also setting the DEFAULTSORT for the article when setting this parameter. For more information about this, please see {{section link| | |listas=This parameter, which is the equivalent of the [[Help:Category#Default sort key|DEFAULTSORT sortkey]] that should be placed on all biographical articles, is a sortkey for the article talk page (e.g. for {{{first}}} {{{last}}}, use {{para|listas|{{ucfirst:{{{last}}}}}, {{{first}}}}} so that the talk page will show up in the {{uc:{{str index|{{{last}}}|1}}}}'s and not the {{str index|{{{first}}}|1}}'s of the various assessment and administrative categories{{#if:{{{last2|}}}|; similarly, for topics with titles beginning with an [[article (grammar)|article]] such as "the" or "a" - e.g. for {{{first2}}} {{{last2}}}, use {{para|listas|{{ucfirst:{{{last2}}}}}, {{{first2}}}}} so that the talk page will show up in the {{uc:{{str index|{{{last2}}}|1}}}}'s}}). This is important because it is one source used by those who set DEFAULTSORT on the article; consider also setting the DEFAULTSORT for the article when setting this parameter. For more information about this, please see {{section link|Bharatpedia:Categorization of people|Ordering names in a category}}.<br />It is not required if another WikiProject template on the same page has its own {{para|listas}} set, since it not only affects categories used by the banner in which it is set, but it also affects the sortkey of all other banners and templates. {{#if:{{{last|}}}||<span class=error>WPBannerDoc error: {{para|last}} must be specified with <code>{{{1}}}</code></span>}} {{#if:{{{first|}}}||<span class=error>WPBannerDoc error: {{para|first}} must be specified with <code>{{{1}}}</code></span>}} {{#if:{{{last2|}}}|{{#if:{{{first2|}}}||<span class=error>WPBannerDoc error: {{para|first2}} must be specified with {{para|last2}}</span>}}|{{#if:{{{first2|}}}|<span class=error>WPBannerDoc error: {{para|last2}} must be specified with {{para|first2}}</span>}} }} | ||
|needs-infobox|infobox=set {{para|{{{1}}}|yes}} if the article needs an [[ | |needs-infobox|infobox=set {{para|{{{1}}}|yes}} if the article needs an [[Bharatpedia:Manual of Style/Infoboxes|infobox]]. Remember that infoboxes are not suitable for all articles, and can overwhelm short articles. | ||
**<small>This parameter populates {{cl|{{#if:{{{INFOBOX_CAT|}}}|{{{INFOBOX_CAT}}}|{{{PROJECT}}} articles needing infoboxes}}}}.</small>{{#if:{{{INFOBOX_CAT|}}}{{{PROJECT|}}}||<span class=error>WPBannerDoc error: either {{para|PROJECT}} or {{para|INFOBOX_CAT}} must be specified with <code>{{{1}}}</code></span>}} | **<small>This parameter populates {{cl|{{#if:{{{INFOBOX_CAT|}}}|{{{INFOBOX_CAT}}}|{{{PROJECT}}} articles needing infoboxes}}}}.</small>{{#if:{{{INFOBOX_CAT|}}}{{{PROJECT|}}}||<span class=error>WPBannerDoc error: either {{para|PROJECT}} or {{para|INFOBOX_CAT}} must be specified with <code>{{{1}}}</code></span>}} | ||
|small=this parameter is no longer supported and can safely be removed from the template. | |small=this parameter is no longer supported and can safely be removed from the template. |