Template:WikiProject U.S. Roads/sandbox
Appearance
U.S. Roads NA‑class | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
This WikiProject banner template uses Module:WikiProject banner, a meta-template for easily creating and maintaining project banners. Please report any errors or feature requests to Module talk:WikiProject banner. Information or warnings about the template are below:
|
This is the template sandbox page for Template:WikiProject U.S. Roads (diff). See also the companion subpage for test cases. |
This template is used on approximately 34,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. |
This template uses Lua: |
This is the WikiProject banner used by WikiProject U.S. Roads to keep track of articles within its scope.
Basic usage
[edit]Place this on the talk page of relevant articles:
{{WikiProject U.S. Roads |state= |type= |class= |importance= |needs-jctint= |needs-map= }}
Full usage
[edit]It is usual to remove any unused parameters from the template call.
{{WikiProject U.S. Roads
|state=
|type=
|class=
|importance=
|listas=
|attention=
|needs-infobox=
|needs-map=
|needs-kml=
|needs-jctint=
|needs-shield=
|ACR=
|photo=
|attention-rjl=
|attention-mtf=
|reassess=
}}
Parameters
[edit]- state – valid values are the two-letter postal abbreviation for each state. Use
|state=AL
for Alabama. Use|state1= |state2= |...|state20=
for multiple states.
- The parameter
|state1=
is recognised as an alias for|state=
. If both|state=
and|state1=
are present,|state1=
is ignored. - type – valid values are I, US, SH, CR, Trail, Junction, or US66. Use
|type1= |type2= |...|type5=
for multiple types.
- The parameter
|type1=
is recognised as an alias for|type=
. If both|type=
and|type1=
are present,|type1=
is ignored. - 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.
Optional parameters
[edit]- 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 Dwight D. Eisenhower, use
|listas=Eisenhower, Dwight D.
so that the talk page will show up in the E's and not the D'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.
- The parameter
|sort=
is recognised as an alias for|listas=
. If both|listas=
and|sort=
are present,|sort=
is ignored. - 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 U.S. road transport 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.
Notes and alerts
[edit]- 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:U.S. road articles needing attention.
- 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:U.S. road articles without infoboxes.
- needs-map – set
|needs-map=
depending if the article has a map or not:
|needs-map=yes
if the article has no map at all. Output: This article does not have a map. Please work with the Maps department to create and add a map to this article.
- This value populates Category:U.S. Roads project articles needing maps.
|needs-map=no
if the article has a map. Output: None.|needs-map=NA
if the article does not require a map. Output: This article does not require a map.|needs-map=
the default behavior. Output: This article may or may not have a map. Please check, then add|needs-map=
to this template accordingly.
- This value populates Category:U.S. Roads project articles without needs-map.
- needs-jctint – set
|needs-jctint=
depending if the article has a properly-formatted junction list or not:
|needs-jctint=yes
if the article has a hard-coded junction list. Output: This article's junction list should be converted to the {{jctint}} series of templates.
- This value populates Category:U.S. Roads project articles with a hardcoded junction list
|needs-jctint=no
if the article has a properly-formatted junction list. Output: None.|needs-jctint=missing
if the article is missing a junction list. Output: This article does not currently have a junction list.
- This value populates Category:U.S. Roads project articles needing a junction list.
|needs-jctint=bulleted
if the article has a bulleted junction list. Output: This article has a bulleted junction list.
- This value populates Category:U.S. Roads project articles with a bulleted junction list.
|needs-jctint=NA
if the article does not require a junction list. Output: This article does not require a junction list.|needs-jctint=
the default behavior. Output: This article may or may not contain a hardcoded junction list. Please check, then add|needs-jctint=
to this template accordingly.
- This value populates Category:U.S. Roads project articles without needs-jctint.
- needs-kml – set
|needs-kml=yes
if the KML file would not be in the default location. This template automatically checks if the KML file is located at Template:Attached_KML/</nowiki>WikiProject U.S. Roads/sandbox</nowiki>:
|needs-kml=yes
if the article has a KML file. Output: This article does not have a KML file. Please work with the Maps department to create and add a file for this article.|needs-kml=no
if the article has a KML file. Output: None.|needs-kml=NA
if the article does not require a KML file. Output: This article does not require a KML file.|needs-kml=
the default behavior. Output: This article does not have a KML file. Please work with the Maps department to create and add a file for this article.
- This parameter populates Category:U.S. road articles needing KML.
- needs-shield – set
|needs-shield=yes
if the article is missing at least one route marker.- This parameter populates Category:U.S. Roads project articles needing shields.
- The parameter
|needs-shields=
is recognised as an alias for|needs-shield=
. If both|needs-shield=
and|needs-shields=
are present,|needs-shields=
is ignored. - ACR – set
|ACR=yes
and follow the directions to initiate an A-Class Review at WikiProject Highways/Assessment/A-Class Review - photo – set
|photo=<Location>
to populate Category:Wikipedia requested photographs in Location. - attention-rjl – set
|attention-rjl=yes
if the article's junction list needs immediate attention from experienced editors.- This parameter populates Category:U.S. road articles with a junction list needing attention.
- attention-mtf – set
|attention-mtf=yes
if the article's map needs immediate attention from experienced editors.- This parameter populates Category:U.S. road articles with a map needing attention.
- reassess – set
|reassess=yes
to nominate the article for reassessment- This parameter populates Category:U.S. Roads project articles needing reassessment.
Article recognition parameters
[edit]- PUSRD-SA – set
|PUSRD-SA=<Month Year>
to indicate the article is a current or former selected article of the U.S. Roads Portal.- This parameter populates Category:U.S. Roads portal selected articles.
- PUSRD-SA – set
|PUSRD-SA=<Month Year>
to indicate the article is a current or former selected picture of the U.S. Roads Portal.- This parameter populates Category:U.S. Roads portal selected pictures.
- PUSRD-DYK – set
|PUSRD-DYK=<Month Year>
to indicate a fact from the article was featured in the U.S. Roads Portal's Did you know? section. - CASH-SA – set
|CASH-SA=<Month Year>
to indicate the article is a current or former selected article of the California task force.- This parameter populates Category:WikiProject U.S. Roads subproject selected articles.
- MISH-SA – set
|MISH-SA=<Month Year>
to indicate the article is a current or former selected article of the Michigan Highways Portal.- This parameter populates Category:WikiProject U.S. Roads subproject selected articles.
- MISH-SP – set
|MISH-SP=<Month Year>
to indicate the article is a current or former selected article of the Michigan Highways Portal.- This parameter populates Category:WikiProject U.S. Roads subproject selected articles.
- NJSCR-SA – set
|NJSCR-SA=<Month Year>
to indicate the article is a current or former selected article of the New Jersey task force.- This parameter populates Category:WikiProject U.S. Roads subproject selected articles.
- PNYRD-SA – set
|PNYRD-SA=<Month Year>
to indicate the article was a selected article of the New York Roads Portal.- This parameter populates Category:WikiProject U.S. Roads subproject selected articles.
- PARD-SA – set
|PARD-SA=<Month Year>
to indicate the article is a current or former selected article of the Pennsylvania task force.- This parameter populates Category:WikiProject U.S. Roads subproject selected articles.
Adding or removing topics
[edit]If the need arises to add or remove topics, the appropriate entries must be added or removed to these templates:
- Template:WikiProject U.S. Roads/shield – controls the topic image
- Template:WikiProject U.S. Roads/link – points to the correct U.S. Roads WikiProject subpage
- Template:WikiProject U.S. Roads/names – controls the topic name displayed in the template
- Template:WikiProject U.S. Roads/collapsed – controls the topic name displayed when the project is nested within
{{WPBS}}
- Template:WikiProject U.S. Roads/overcat – points to the correct topic category (i.e. the U.S. road transport in Category:U.S. road transport articles)
- Template:WikiProject U.S. Roads/categories – nearly identical to overcat, but New York is different
- Template:WikiProject U.S. Roads/cat – points to the correct
|needs-kml=
category - Template:WikiProject U.S. Roads/map – points to the correct
|needs-map=
category
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
state | state state1 | no description | Unknown | suggested |
type | type type1 | no description | Unknown | suggested |
needs-map | needs-map | no description | Unknown | suggested |
needs-jctint | needs-jctint | no description | Unknown | suggested |