Template:WikiProject Canada Roads/doc
This is a documentation subpage for Template:WikiProject Canada Roads. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]This template is used on approximately 2,900 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. |
The {{WikiProject Canada Roads}} project banner template should be added (not subst:ed) to the talk page of every article within the scope of the project. While the template does not require any additional parameters to use, it has a number of required ones for assessment and maps as well as optional ones that add various extra features to the banner. The full syntax of the template and the most commonly used parameters are as follows:
{{WikiProject Canada Roads |province= |class= |importance = |needs-map= |attention= }}
Unless the article is about a subject that encompasses multiple provinces, always specify the province with province=. Use the two letter abbreviation. To avoid needlessly cluttering up talk pages, it is usually appropriate to remove any unused parameters from the template.
The template is broken up display-wise into two sections: the main section that is shown all of the time and an article issues section that has hide/show enabled and hides if three or more issues are listed. If the latter group has no members, then that group is omitted entirely. All of the template's parameters are described below:
Parameters
[edit]Accepted values are case insensitive unless otherwise specified. Alternate values are in italics. All parameters are optional unless otherwise specified.
Parameter | Accepted values | Description | Adds articles to |
---|---|---|---|
Main section parameters | |||
class | Any listed here, plus: Category (Cat) Disambig (Dab) File Portal Project Redirect (Redir) Template |
Required. A rating of the article's quality. Use the quality scale here. | quality assessment categories |
importance | Any listed here | Required. A rating of the article's importance within the Canada Roads WikiProject. Use the importance scale here. | importance assessment categories |
ACR | yes | See the A-Class review page for usage and details. | — |
reassess | yes | Indicates the article may need a reassessment. | Category:Canada Roads project articles needing reassessment |
photo | yes | Requests photos for the article. | Category:Wikipedia requested photographs of roads in Canada |
merge | merge target | Indicates the article has been proposed to be merged to the specified article. If the merge discussion is on the same page where the merge parameter is used, add "merge-dl=same". Articles that use "merge=yes" (the old accepted value for this parameter) are added to Category:Canada Roads project articles to be merged without a target. | Category:Canada Roads project articles to be merged |
Article issues section parameters | |||
needs-shield | yes | Indicates the article is missing one or more shields. | Category:Canada Roads project articles needing shields |
needs-map | yes no NA |
Required. Indicates whether the article needs a map. If the article does not require a map, use NA. If this parameter is not specified, the article is added to Category:Canada Roads project articles without needs-map. Note that the map information is included in the main section if needs-map equals no. | Category:Canada Roads project articles needing maps if yes |
needs-infobox | yes | Indicates the article is missing an infobox. | Category:Canada road transport articles without infoboxes |
attention | yes | For articles requiring attention. A to-do list should be added to the talk page with the rationale for setting this parameter in the form of tasks. | Category:Canada road articles needing attention and a by-state sub-category if one exists for that state |
attention-rjl | yes | For articles with a junction list requiring attention. A to-do list should be added to the talk page with the rationale for setting this parameter in the form of tasks. | Category:Canada road articles with a junction list needing attention |
attention-mtf | yes | For articles with a map requiring attention. | Category:Canada road transport articles with a map needing attention |
needs-kml | yes no |
For articles lacking a KML file. Defaults to yes | Category:Canada road transport articles without KML |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
province | province province1 | no description | Unknown | required |