Template talk:WikiProject Canada

From Wikipedia, the free encyclopedia

This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.

Contents

[hide]


[edit] Parameters

I didn't like how I couldn't mention that an article was FA-class and List-class at the same time. So, I made a third grouping: type=Article, type=List, type=Template, or type=Cat. If you don't add one of these types on a page, it will not show a type, but it will still put the page in Category:WikiProject Canada articles. If you add type=list or type=template, it will put it in Category:WikiProject Canada lists or Category:WikiProject Canada templates and not in the articles category. --Arctic Gnome 02:29, 25 November 2006 (UTC)

Can we have a list of possible parameters and switches (eventually as a "Usage" paragraph in the noinclude section of the template, such as in {{Vancouverproject}})? --69.19.14.25 05:01, 25 November 2006 (UTC)
That'd take some work. I'll work on it some other time. AQu01rius (User • Talk) 07:25, 25 November 2006 (UTC)
Done. --Arctic Gnome 01:03, 27 November 2006 (UTC)

[edit] Wierd categories

Can someone who knows about templates help me out with this. I added the option of adding cangov=Yes to the template, and the template looks fine after it's added. However, when I try to put the articles into the right category (for example Category:WikiProject Canada templates) the lable at the bottom of the talk page has the right category, be it article, template, or whatever. But when I actualy go to the category pages, the page is just placed in the general Category:WikiProject Canada rather than in the right type.

What in the template is making the category tag on the page not match up with what category it is put in? Look at Talk:Prime Minister of Canada. The page thinks that it is in Category:WikiProject Government of Canada articles, but it is realy in the general Category:WikiProject Government of Canada. Thanks. --Arctic Gnome 21:52, 26 November 2006 (UTC)

For the first part, I really don't see your problem. Can you list another example? Because for Talk:Prime Minister of Canada, the page IS supposed to be in Category:WikiProject Government of Canada articles according to this part of the code:

<includeonly>[[Category:WikiProject Government of Canada {{ #switch: {{{type|}}} | List | list = lists | Dab | dab = disambiguation page | Template | template = templates | NA | na = pages | Article | article = articles |#default = articles}}]]</includeonly>

Where Prime Minister of Canada is an article, so the code {{ #switch: {{{type}}} | automatically substituted its category to Category:WikiProject Government of Canada articles AQu01rius (User • Talk) 22:48, 26 November 2006 (UTC)
It is supposed to be in Category:WikiProject Government of Canada articles, and at the bottom of the talk page it says that it is in that category. However, when I go to the category it isn't there, but it is in the general Category:WikiProject Government of Canada, even though that category isn't listed on the talk page. I've refreshed my browser and empied by cache, so it isn't just my computer. Something very odd is going on. --Arctic Gnome 23:00, 26 November 2006 (UTC)
Talk:Prime Minister of Canada is definetly listed in Category:WikiProject Government of Canada articles. Have you tried to reboot? AQu01rius (User • Talk) 23:38, 26 November 2006 (UTC)
The reboot didn't do it, but changing the talk page and then changing it back does. It tooks like my computer doesn't notice that a page has changed categories until I edit the template on the talk page for a second time after changing the master template here. I've been changing the capitalisation and changing it back, and that solves the problem. This is very wierd. I just added startPAGENAMEend to the template so that they all won't be listed under "T", and I'm having the same problem; I have to edit the talk page a second time after changing the master template here before my computer notices the difference. Anyway, thanks for your help. --Arctic Gnome 00:28, 27 November 2006 (UTC)

[edit] Type variable

This template has a variable "type", which allows the item to be labeled a temple/list/category. But it doesn't work if its assessed NA-class. See Talk:Lieutenant Governors of Nova Scotia for it working, and Template talk:St. John's landmarks for it not working. Any ideas? - Trevor MacInnis (Contribs) 01:05, 13 January 2007 (UTC)

  • I saw that myself. I can't figure out what's wrong, and we may have to find an expert on templates. For now you can make it categorise templates properly by putting the "na" in lower case. However, this will mark the impartance as being unclassified, so you'll have to mark it as na as well. So, in full it would be WikiProject Canada|class=na|importance=na|type=template. --Arctic Gnome 19:34, 21 January 2007 (UTC)

[edit] Order of provinces

Putting them west-to-east seems a bit arbitrary. I originally had them arranged according to their order of precedence, which is the only "official" order. Putting them in any other order seems to be WP:OR. --Arctic Gnome (talkcontribs) 02:29, 26 November 2007 (UTC)

Sounds good, haven't realize the logic, thanks (although geography isn't OR, it's just a point of view). --Qyd (talk) 03:15, 26 November 2007 (UTC)
I'll switch it back. West to east is probably a more common system, but it seems to me that we should go with the official one. --Arctic Gnome (talkcontribs) 03:25, 26 November 2007 (UTC)

[edit] {{WikiProject Electoral districts in Canada}}

Should {{WikiProject Electoral districts in Canada}} be included as a sub-project here? or woudl it be part of the Government of Canada WikiProject? --Qyd (talk) 03:15, 26 November 2007 (UTC)

There are going to be several hundred articles in that topic, so I think it deserves its own wikiproject. I'll add that functionality to the template. --Arctic Gnome (talkcontribs) 03:23, 26 November 2007 (UTC)

[edit] Territories sub-projects

Considering the low population in the Territories, I suppose it makes better sense to have just one wikiproject to cover all three territories. I directed the banner switches to Wikipedia:WikiProject Canadian Territories. --Qyd 02:20, 3 December 2007 (UTC)

[edit] Should cities automaticly be added to provinces?

I'm going to be adding city projects to this template, and I was wondering whether people think that adding an article to a city project should automatically add it to that city's province's project as well. The same goes for wikiproject Canadian football; if we add it to this template, should articles added to the Canadian football project automatically be also added to the Canadian sports project? --Arctic Gnome (talkcontribs) 17:08, 4 February 2008 (UTC)

The difficulty would be the Ottawa Wikiproject, which covers articles related to areas of the National Capital Region in two different provinces. Skeezix1000 (talk) 14:41, 11 April 2008 (UTC)

[edit] Problem with the template

I don't know how to fix this problem, but featured lists for Education in Canada (and perhaps other wikiprojects) aren't sorted into a project-specific category like their FA counterparts. GreenJoe 18:50, 7 February 2008 (UTC)

The 1.0 assessment project does not recognized FL as an assessment category. Anything in WP:CANADA tagged as being FL will show up as such on the template, but will be categorized with the FAs. The only FL for the education project, List of Athabasca University people, will show up as an FA when the table is next updated. --Arctic Gnome (talkcontribs) 20:16, 7 February 2008 (UTC)

[edit] rating

Shouldn't each sub-project have a separate assessment of quality and importance? The overall quality may be higher than the quality in relation to a specific task force's purview, and the importance is definitely different. 70.55.88.176 (talk) 07:00, 10 May 2008 (UTC)

[edit] Canadian Military History wikiproject

Someone should add a switch for military history

milhist=yes

And link it to Wikipedia:WikiProject Military history/Canadian military history task force

70.55.88.176 (talk) 07:30, 10 May 2008 (UTC)