সাঁচ:WPBannerDoc

অসমীয়া ৱিকিপিডিয়াৰ পৰা
Jump to navigation Jump to search
  • WPBannerDoc error: required first parameter missing
Documentation icon সাঁচ নথিকৰণ

This template generates standardised parameter documentation for various parameters commonly used with WikiProject banner templates. For example output, see Template:WPBannerDoc/testcases.

Parameters

The first parameter is the name of the parameter for which documentation is required; some parameters are shared, as follows:

  • |PROJECT= – this should be the same as the |PROJECT= parameter passed into {{WPBannerMeta}} on the main template page

Other parameters vary according to the first one:

  • attention
    • |ATTENTION_CAT= – the category populated by the use of |attention=yes, if different from Category:{{{PROJECT}}} articles needing attention. Do not specify the Category: prefix.
  • Attention – variant capitalisation of the above.
  • auto
    • |AUTO_ASSESS_CAT= – the category populated by the use of the |auto= parameter, if different from Category:Automatically assessed {{{PROJECT}}} articles. Do not specify the Category: prefix.
  • category (no additional parameters)
  • class
    • |ASSESSMENT_LINK=
    • |PROJECT=
    • |PROJECT_LINK= – these three should be the same as the corresponding parameters passed into {{WPBannerMeta}} on the main template page. If any are omitted from the {{WPBannerMeta}}, omit the same ones from {{WPBannerDoc}} also.
  • importance (the parameters are the same as for class)
  • infobox – variant of needs-infobox.
  • listas
    • |last= – last portion of the example name (the primary sort key)
    • |first= – first portion of the example name (the secondary sort key)
  • needs-infobox
    • |INFOBOX_CAT= – the category populated by the use of |needs-infobox=yes, if different from Category:{{{PROJECT}}} articles needing infoboxes. Do not specify the Category: prefix.
  • priority (the parameters are the same as for class)
  • small (no additional parameters)

Example

{{WPBannerDoc|attention|PROJECT=Rock music}}
{{WPBannerDoc|auto|AUTO_ASSESS_CAT=Automatically assessed biography articles}}
{{WPBannerDoc|listas|first=John|last=Doe}}