Template talk:Infobox Canadian provincial riding

From Wikipedia, the free encyclopedia

How to use this template:

{{Infobox Canadian Provincial Riding

| name = name of riding, <br> French name (if applicable)

| province = province in which the riding is located

| legislature = name of the legislature to which the district returns a member

| image = riding map.whatever

| member-type = Member of [the Legislative Assembly] [Provincial Parliament] [the National Assembly] [the House of Assembly] (whichever is appropriate to that particular province)

| party-colour = Party colours can be found here

| member = current elected representitive

| member-party = current elected representitive's affiliated party

| census-date = date of census upon which population data is based.

| pop = population, using latest census data

| election-date = last election date

| electors = number of voters elegible for the last election

| area = area of riding

| popdens = population divided by area

| created = year the riding was created, and from what ridings did it arise

| cdivision = census division(s) for the riding (counties, districts, division #s, etc.)

| muns = CMAs, cities, towns, villages, unincorporated places

}}

[edit] Structure notes

A few notes for functions that should be added to this template:

  • There should be a function to flag a riding as defunct, and to include the year in which it was dissolved and what ridings it was merged into. Party-colour, member and member-party fields should be hidden if a riding is defunct. We have the functionality to do it in the same template; it shouldn't be necessary to create a separate template for defunct electoral districts.
  • If a map isn't already available at the expected filename, the template actually displays the text [[Image:{{{image}}}|200px]] in the map slot. This needs to be hidden.
  • Instead of just "Province electoral district", perhaps the template should actually link directly to the appropriate Legislative Assembly instead.

- Bearcat 20:38, 1 November 2007 (UTC)

[edit] Federal District

Is it possible to add a variable to include the federal riding(s) that would also be associated with the provincial riding? --HJKeats (talk) 16:43, 29 March 2008 (UTC)