Template:WikiProject Canada/doc

About this template
This template is the project banner for WikiProject Canada and can also act as a banner for several of its child-projects. (Other banners exist for related projects like WikiProject Canadian football and WikiProject Canada Roads.)

The template is to be placed on talk pages (only) of the articles identified as being within the Project's scope (at or near the top of the talkpage).

This template automatically assigns the category Category:WikiProject Canada articles to the articles' talk pages. This category and other associated Project categories are used in various ways by the Project in the overall management of the Project's workload.

This template contains optional parameters, details of usage are given below.

Usage instructions
General syntax options for this template are as follows: The parameters are named, and (if used) must be entered exactly as-is (note, all are lowercase).

The class and importance parameters are associated with the Project's article assessment and rating scheme. These parameters add a category to the talkpage, which category depends on the values chosen.

Other parameters can be added to further identify the article or change its shape. Full syntax options for this template are as follows:

Class
This optional parameter records the Project quality assessment rating currently assigned to the particular article on whose talkpage the project banner appears.

If unassigned, or an invalid value is given, the parameter defaults to "unassigned" and the template places the talkpage into Category:Unassessed Canada-related articles.

Valid values for this parameter, their associated meanings and categories are given in the table below. Values should be typed as shown (e.g. |class=GA ):

Importance
This optional parameter records the Project priority assessment rating currently assigned to the particular article on whose talkpage the project banner appears.

If unassigned, or an invalid value is given, or the class parameter is set to "NA", the parameter defaults to "unassigned" and the template places the talkpage into Category:Unknown-importance Canada-related articles.

Valid values for this parameter, their associated meanings and categories are given in the table below. Values should be typed as shown (e.g. |importance=Mid ):

Workgroups
The template can also be used to add an article to one of WikiProject Canada's workgroups. Adding any of these parameters will put the article in assessment categories for both WikiProject Canada and the project selected, using the same quality and importance for both.

Workgroup parameters:

Cities
Four of the cities projects use their own importance ranking rather than adopting the general project importance ranking.

Needs photo
The parameter yes will add a tag indicating that a photo should be added to the article. If the article is also part of the music wikiproject or any of the city wikiprojects, it will also be put in a category for articles needing photos.

Auto
When an assessment is done by a bot, it will include yes. After double-checking the bot's assessment, a user should remove the parameter.

Example
Here is an example from the talk page of Speaker of the House of Commons (Canada):

TemplateData
{	"params": { "category": {}, "listas": {}, "auto": {}, "class": { "description": "Class rating of article" },		"importance": { "label": "Overall Canadian importance", "description": "Importance to knowledge of Canada", "example": "Low", "default": "Low", "autovalue": "Low" },		"selected-article": {}, "selected-bio": {}, "needs-photo": { "autovalue": "yes", "type": "boolean", "description": "If the article needs a photo Set to ['yes'], otherwise remove parameter.", "example": "yes", "default": "no", "label": "Needs photo?", "aliases": [ "photo-related" ]		},		"needs-image": { "autovalue": "yes", "type": "boolean" },		"image-needed": { "autovalue": "yes", "type": "boolean" },		"photo-needed": { "autovalue": "yes", "type": "boolean" },		"image-requested": { "autovalue": "yes", "type": "boolean" },		"montreal": { "description": "Whether this article's topic is Montreal-related. Set to ['yes'], otherwise remove parameter.", "autovalue": "yes", "type": "boolean", "label": "Montreal-related?", "example": "ye", "default": "no" },		"ottawa": { "description": "Whether the article's topic is Ottawa-related. Set to ['yes'], otherwise remove parameter.", "autovalue": "yes", "type": "boolean", "label": "Ottawa related?", "example": "yes", "default": "no" },		"stjohns": { "autovalue": "yes", "type": "boolean", "label": "St. Johns related?", "description": "Related to the city of St Johns, NFLD. Set to ['yes'], otherwise remove parameter.", "example": "yes", "default": "no" },		"toronto": { "description": "Whether the article's topic is Toronto-related. Set to ['yes'], otherwise remove parameter.", "default": "no", "autovalue": "yes", "type": "boolean", "example": "yes", "label": "Toronto related?" },		"vancouver": { "autovalue": "yes", "type": "boolean", "label": "Vancouver related?", "description": "Whether this article is Vancouver-related. Set to ['yes'], otherwise remove parameter.", "example": "yes", "default": "no" },		"ab": { "description": "Whether this topic is related to the province of Alberta. Set to ['yes'], otherwise remove parameter.", "autovalue": "yes", "type": "boolean", "label": "Alberta-related?", "example": "yes", "default": "no" },		"bc": { "autovalue": "yes", "type": "boolean", "label": "British Columbia related?", "description": "Topic is related to the province of British Columbia. Set to ['yes'], otherwise remove parameter.", "example": "yes", "default": "no" },		"on": { "description": "Whether the topic is related to the province of Ontario. Set to ['yes'], otherwise remove parameter.", "autovalue": "yes", "type": "boolean", "default": "no", "label": "Ontario related?", "example": "yes" },		"kawartha-lakes": { "label": "Kawartha Lakes related?", "description": "Kawartha Lakes work group. Set to ['yes'], otherwise remove parameter.", "example": "yes", "type": "boolean", "default": "no", "autovalue": "yes" },		"ns": { "autovalue": "yes", "type": "boolean", "label": "Nova Scotia related?", "description": "Topic is related to the province of Nova Scotia. Set to ['yes'], otherwise remove parameter.", "example": "yes", "default": "no" },		"nb": { "autovalue": "yes", "type": "boolean", "label": "New Brunswick related?", "description": "Topic is related to the province of New Brunswick. Set to ['yes'], otherwise remove parameter.", "example": "yes", "default": "no" },		"mb": { "autovalue": "yes", "type": "boolean", "label": "Manitoba related?", "description": "Topic is related to the province of Manitoba. Set to ['yes'], otherwise remove parameter.", "example": "yes", "default": "no" },		"nl": { "autovalue": "yes", "type": "boolean", "label": "Newfoundland and Labrador related?", "description": "Topic is related to the province of Newfoundland and Labrador. Set to ['yes'], otherwise remove parameter.", "example": "yes", "default": "no" },		"nt": { "autovalue": "yes", "type": "boolean", "label": "Northwest-Territories?", "description": "Related to Northwest Territories? Set to ['yes'], otherwise remove parameter.", "example": "yes", "default": "no" },		"nu": { "autovalue": "yes", "type": "boolean", "label": "Nunavut related?", "description": "Topic is related to the Territory of Nunavut. Set to ['yes'], otherwise remove parameter.", "example": "yes", "default": "no" },		"pe": { "autovalue": "yes", "type": "boolean", "label": "Prince Edward Island related?", "description": "Topic is related to the Province of Prince Edward Island. Set to ['yes'], otherwise remove parameter.", "example": "yes", "default": "no" },		"qc": { "autovalue": "yes", "type": "boolean", "label": "Quebec related?", "description": "Topic is related to the province of Quebec. Set to ['yes'], otherwise remove parameter." },		"sk": { "autovalue": "yes", "type": "boolean", "label": "Saskatchewan related?", "description": "Topic is related to the Province of Saskatchewan. Set to ['yes'], otherwise remove parameter.", "example": "yes", "default": "no" },		"yt": { "autovalue": "yes", "type": "boolean", "label": "Yukon?", "description": "Related to Yukon Territory? Set to ['yes'], otherwise remove parameter.", "example": "yes", "default": "no" },		"gatineau-importance": { "default": "Low", "label": "Importance to Gatineau?", "autovalue": "" },		"montreal-importance": { "description": "Importance to topic of Montreal.", "default": "Low", "label": "Importance to Montreal?", "autovalue": "" },		"ottawa-importance": { "description": "Importance to topic of Ottawa.", "autovalue": "", "label": "Importance to Ottawa?" },		"toronto-importance": { "description": "Indicates how important to Toronto the article's topic is.", "default": "Low", "label": "Importance to Toronto?", "autovalue": "" },		"vancouver-importance": { "description": "Importance to topic of Vancouver.", "default": "Low", "label": "Importance to Vancouver?", "autovalue": "" },		"cangov": { "description": "Article topic is about Canadian government. Set to ['yes'], otherwise remove parameter.", "autovalue": "yes", "type": "boolean", "label": "Government of Canada?", "example": "yes", "default": "no" },		"ppap": { "label": "People and Political Parties?", "description": "Topic is related to person or parties in Canadian politics. Set to ['yes'], otherwise remove parameter.", "example": "yes", "type": "boolean", "default": "no", "autovalue": "yes" },		"riding": { "label": "Election riding?", "description": "Topic is about a Canadian election riding. Set to ['yes'], otherwise remove parameter.", "example": "yes", "type": "boolean", "default": "no", "autovalue": "yes" },		"canlaw": { "autovalue": "yes", "type": "boolean", "label": "Law?", "description": "Topic is related to Canadian laws. Set to ['yes'], otherwise remove parameter.", "example": "yes", "default": "no" },		"cinema": { "autovalue": "yes", "type": "boolean", "label": "Canadian cinema?", "description": "Related to Canadian cinema. Set to ['yes'], otherwise remove parameter.", "example": "yes", "default": "no" },		"community": { "autovalue": "yes", "type": "boolean" },		"education": { "autovalue": "yes", "type": "boolean", "label": "Education related?", "description": "Topic is related to education in Canada. Set to ['yes'], otherwise remove parameter.", "example": "yes", "default": "no" },		"geography": { "autovalue": "yes", "type": "boolean", "label": "Geography related?", "description": "Topic is related to the geography of Canada. Set to ['yes'], otherwise remove parameter.", "example": "yes", "default": "no" },		"history": { "autovalue": "yes", "type": "boolean", "label": "History related?", "description": "Topic is related to the history of Canada. Set to ['yes'], otherwise remove parameter.", "example": "yes", "default": "no" },		"military": { "autovalue": "yes", "type": "boolean", "label": "Military related?", "description": "Topic is related to the military of Canada. Set to ['yes'], otherwise remove parameter.", "example": "yes", "default": "no" },		"music": { "description": "Whether this topic is related to Canadian music. Set to ['yes'], otherwise remove parameter.", "autovalue": "yes", "label": "Canadian music related?", "example": "yes", "type": "boolean", "default": "no" },		"road": { "autovalue": "yes", "type": "boolean", "label": "Canada Roads?", "description": "Related to Canadian roadways and highways. Set to ['yes'], otherwise remove parameter.", "example": "yes", "default": "no" },		"sport": { "autovalue": "yes", "type": "boolean", "label": "Sports related?", "description": "Topic is related to sports in Canada. Set to ['yes'], otherwise remove parameter.", "example": "yes", "default": "no" },		"tvshow": { "autovalue": "yes", "type": "boolean", "label": "Television related?", "description": "Topic is related to Canadian television. Set to ['yes'], otherwise remove parameter.", "example": "yes", "default": "no" }	},	"description": "Talk page banner for WikiProject Canada" }