Template:WikiProject Highways/doc
This is a documentation subpage for Template:WikiProject Highways. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 16,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
[edit]When you create or find a new page within the scope of WikiProject Highways please add any of the following to the top of its talk page:
{{WikiProject Highways |class= |importance= }}
{{WikiProject Highways |class= |importance= |needs-infobox= |attention-rjl= |ACR= |africa= |asia= |europe= |latin-america= |oceania= |UK= |Hong_Kong= |streets= |attention= |listas= }}
{{WikiProject Highways
|class =
|importance =
|needs-infobox =
|attention-rjl =
|ACR =
|africa =
|asia =
|europe =
|latin-america =
|oceania =
|UK =
|Hong_Kong =
|streets =
|attention =
|listas =
}}
Unused parameters may be omitted. This template automatically adds articles to Category:WikiProject Highways articles.
Optional parameters
[edit]- ACR – set
|ACR=yes
if an A-Class review is underway, or to provide a link that will initiate one. - attention – set
|attention=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.- This parameter populates Category:Highways articles needing attention.
- attention-rjl – set
|attention-rjl=yes
to mark the article's junction list as needing attention.- This parameter populates Category:Highways articles with a junction list needing attention.
- class – valid values are listed in the custom class mask. See the project's quality scale for details. Setting an explicit value of NA is rarely necessary; for this, either leave
|class=
blank or omit the parameter. - importance – valid values are: top, high, mid, low, na (case-insensitive). See the project's importance scale for details. Setting an explicit value of NA is rarely necessary; for this, either leave
|importance=
blank or omit the parameter.- for articles, this defaults to Mid if the parameter is omitted
- listas – This parameter, which is the equivalent of the DEFAULTSORT sortkey that should be placed on all biographical articles, is a sortkey for the article talk page (e.g. for John Loudon McAdam, use
|listas=McAdam, John Loudon
so that the talk page will show up in the M's and not the J's of the various assessment and administrative categories). 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 Wikipedia:Categorization of people § Ordering names in a category.
If the article is using {{WikiProject banner shell}} then it is preferable to add|listas=
to that template instead of a project banner template. Putting the parameter on more than one template is not required. - needs-infobox – set
|needs-infobox=yes
if the article needs an infobox. Remember that infoboxes are not suitable for all articles, and can overwhelm short articles.- This parameter populates Category:Highways articles needing infoboxes.
- auto – This parameter is for the use of bots and indicates that the article has been automatically rated:
|auto=length
– based on the length of the article|auto=inherit
– because one or more other projects use this class|auto=yes
(or|auto=stub
), in conjunction with|class=stub
– as Stub-Class because it uses a stub template- Use of the above values (or value combinations) with this parameter populates Category:Automatically assessed Highways articles.
- category – set
|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.
In addition, the taskforce of the highway should be specified by using one of the following:
- africa – set
|africa=yes
if if the article is supported by the African Highways Task Force..- This parameter populates Category:Africa road transport articles, and the relevant subcategory of Category:Africa road transport articles by quality based upon the
|class=
parameter. - This parameter uses
|importance=
to populate the relevant subcategory of Category:Africa road transport articles by importance.
- This parameter populates Category:Africa road transport articles, and the relevant subcategory of Category:Africa road transport articles by quality based upon the
- asia – set
|asia=yes
if if the article is supported by the Asian Highways Task Force..- This parameter populates Category:Asia road transport articles, and the relevant subcategory of Category:Asia road transport articles by quality based upon the
|class=
parameter. - This parameter uses
|importance=
to populate the relevant subcategory of Category:Asia road transport articles by importance.
- This parameter populates Category:Asia road transport articles, and the relevant subcategory of Category:Asia road transport articles by quality based upon the
- europe – set
|europe=yes
if if the article is supported by the European Highways Task Force..- This parameter populates Category:Europe road transport articles, and the relevant subcategory of Category:Europe road transport articles by quality based upon the
|class=
parameter. - This parameter uses
|importance=
to populate the relevant subcategory of Category:Europe road transport articles by importance.
- This parameter populates Category:Europe road transport articles, and the relevant subcategory of Category:Europe road transport articles by quality based upon the
- Hong_Kong – set
|Hong_Kong=yes
if if the article is supported by the Hong Kong Roads Task Force..- This parameter populates Category:WikiProject Hong Kong Roads, and the relevant subcategory of Category:Hong Kong road transport articles by quality based upon the
|class=
parameter. - This parameter uses
|importance=
to populate the relevant subcategory of Category:Hong Kong road transport articles by importance.
- This parameter populates Category:WikiProject Hong Kong Roads, and the relevant subcategory of Category:Hong Kong road transport articles by quality based upon the
- latin-america – set
|latin-america=yes
if if the article is supported by the Latin American Highways Task Force..- This parameter populates Category:Latin America road transport articles, and the relevant subcategory of Category:Latin America road transport articles by quality based upon the
|class=
parameter. - This parameter uses
|importance=
to populate the relevant subcategory of Category:Latin America road transport articles by importance.
- This parameter populates Category:Latin America road transport articles, and the relevant subcategory of Category:Latin America road transport articles by quality based upon the
- oceania – set
|oceania=yes
if if the article is supported by the Oceania Highways Task Force..- This parameter populates Category:Oceania road transport articles, and the relevant subcategory of Category:Oceania road transport articles by quality based upon the
|class=
parameter. - This parameter uses
|importance=
to populate the relevant subcategory of Category:Oceania road transport articles by importance.
- This parameter populates Category:Oceania road transport articles, and the relevant subcategory of Category:Oceania road transport articles by quality based upon the
- streets – set
|streets=yes
if if the article is supported by the Streets Task Force.. - UK – set
|UK=yes
if if the article is supported by the United Kingdom Roads Task Force..- This parameter populates Category:WikiProject UK Roads, and the relevant subcategory of Category:UK road transport articles by quality based upon the
|class=
parameter. - This parameter uses
|importance=
to populate the relevant subcategory of Category:UK road transport articles by importance.
- This parameter populates Category:WikiProject UK Roads, and the relevant subcategory of Category:UK road transport articles by quality based upon the
Aliases
[edit]- The parameter
|Africa=
is recognised as an alias for|africa=
. If both|africa=
and|Africa=
are present,|Africa=
is ignored.
- The parameter
|Asia=
is recognised as an alias for|asia=
. If both|asia=
and|Asia=
are present,|Asia=
is ignored.
- The parameter
|Europe=
is recognised as an alias for|europe=
. If both|europe=
and|Europe=
are present,|Europe=
is ignored.
- The parameter
|Latin-America=
is recognised as an alias for|latin-america=
. If both|latin-america=
and|Latin-America=
are present,|Latin-America=
is ignored.
- The parameter
|Oceania=
is recognised as an alias for|oceania=
. If both|oceania=
and|Oceania=
are present,|Oceania=
is ignored.
- The parameter
|United_Kingdom=
is recognised as an alias for|UK=
. If both|UK=
and|United_Kingdom=
are present,|United_Kingdom=
is ignored.
- The parameter
|HK=
is recognised as an alias for|Hong_Kong=
. If both|Hong_Kong=
and|HK=
are present,|HK=
is ignored.
See also
[edit]{{WikiProject Australian Roads}}
{{WikiProject Canada Roads}}
{{WikiProject Indian roads}}
{{WikiProject U.S. Roads}}
Project banner for WikiProject Highways.
Parameter | Description | Type | Status | |
---|---|---|---|---|
class | class | Valid values: fa, a, ga, b, c, start, stub, fl, list, future, category, disambig, draft, fm, file, portal, project, redirect, template, na | String | required |
importance | importance | Valid values: top, high, mid, low, na | String | required |
africa | africa | To categorize African articles | String | optional |
asia | asia | To categorize Asian articles | String | optional |
europe | europe | To categorize European articles | String | optional |
latin-america | latin-america | To categorize Latin American articles | String | optional |
oceania | oceania | To categorize Oceania articles | String | optional |
UK | UK United_Kingdom | To categorize UK articles | String | optional |
Hong_Kong | Hong_Kong HK | To categorize Hong Kong articles | String | optional |
attention | attention | To flag articles that require attention | String | optional |
attention-rjl | attention-rjl | To flag articles that have deficient route junction lists | String | optional |
needs-infobox | needs-infobox | To categorize articles that do not have an infobox | String | optional |