Template:Infobox Education in Canada/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Infobox Education in Canada (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Contents

[edit] How to use this template

Note that there are only two required fields:

  1. city=
  2. province=

All other fields are optional. If optional fields are not assigned a value then they are not displayed (It might be good to leave these fields in for future changes). However, the name field should be included if the title of the article contains disambiguating information. For example, for Brookfield High School (Ottawa, Ontario), set the name parameter like so:

|name              = Brookfield High School

[edit] Basic usage

Copy and paste the following into the top of the article, after any {{Otheruses templates}}. See the Field listing below for sample values.
Note: Please do not subst this or any other infobox

{{Infobox Education in Canada
|name              = 
|image             = 
|imagesize         = 
|motto             = 
|motto_translation = 
|streetaddress     = 
|city              = 
|province          = 
|postalcode        = 
|coordinates       = 
|schoolnumber      = 
|schoolboard       = 
|affiliation       = 
|superintendent    = 
|trustee           = 
|principal         = 
|viceprincipal     = 
|administrator     = 
|schooltype        = 
|grades            = 
|language          = 
|area              = 
|mascot            = 
|teamname          = 
|colours           = 
|founded           = 
|enrollment        = 
|enrollment_as_of  = 
|homepage          = 
|bgcolor_section   = overrides background colour of section title, default colour #f5deb3
|bgcolor_label     = overrides background colour of label, default colour #efefef
|bgcolor_value     = overrides background colour of field value, default colour #f8f8ff
|bgcolor_image     = overrides background colour of image
|bgcolor_address   = overrides background colour of address
}}

[edit] Notes

  • if the image= field is shown, the motto= field is shown under the image; otherwise the motto= field is shown between the Area and the Mascot
  • motto_translation= appears only if motto= appears
  • If there is a street address, the label is Address; otherwise, it is Location
  • website= is ignored if url= is defined
  • type= is ignored if fundingtype= is defined
  • religious_affiliation= is ignored if affiliation= is defined

[edit] Field Listing

Here is a full listing of the fields and some possible values:

{{Infobox Education in Canada
|name              = Name of school
|image             = image.png (image of school or perhaps logo)
|imagesize         = (if the image in "image=" is too large for the infobox, try 300px for this field)
|image1             = image1.png (use image= as a logo if using image of school)
|imagesize1         = (if the image in "image1=" is too large for the infobox, try 300px for this field)
|motto             =  Text
|motto_translation = Motto translation, if not in English
|streetaddress     = 123 Main Street
|city              = [[City, Province|City]]
|province          = [[Province]]
|postalcode        = A1B 2C3
|coordinates       = {{coord|latitude|longitude|display=inline,title}} (where latitude and longitude are decimal values)
|publictransit     = [[Name of subway station or bus route]]
|url               = http://school.web.site.at.school.board.ca/ (deprecated, "use homepage=") 
|website           = http://school.web.site.at.school.board.ca/ (deprecated, "use homepage=") 
|homepage          = http://school.web.site.at.school.board.ca/
|schoolnumber      = 12345
|schoolboard       = [[Name Of School Board]]
|district          = [[Name Of School District]]
|oversight         = [[Name of oversight organization]]
|religious_affiliation = religious affiliation such as: none or [[Catholic_school#Canada|Catholic]] or ... (deprecated, use "affiliation")
|affiliation       = religious affiliation such as: none or [[Catholic_school#Canada|Catholic]] or ...
|superintendent    = Name
|trustee           = Name
|principal         = Name
|principal_label   = Alternate label for Principal (e.g., Headmistress or Head of School)
|assistant_principals = Name1, Name2 (deprecated, use "viceprincipal=")
|viceprincipal     = Name1<br>Name2<br>Name3 ...
|viceprincipal_label=Alternate label for Vice Principal (e.g., Vice Principals or Assistant Principal)
|administrator     = Name
|custodian         = Name
|staff             = Total number of staff/faculty
|type              = "Public", "Private", etc. (deprecated, use "fundingtype=")
|fundingtype       = "Public", "Private", etc.
|schooltype        = [[Separate school|Separate]] [[High_school#Canada|high school]] or [[Elementary school]]
|endowment         = $20 million
|grades            = K-8 or 8-10 or 9-12 or ...
|language          = [[Canadian English|English]] or [[French immersion]] or [[Canadian French|French]] or ...
|area              = [[Name]] and [[Name]] and ...
|communities       = Name1, Name2, Name3 ... or Name1<br>Name2<br>Name3 ...
|feeders           = Name1, Name2, Name3 ... or Name1<br>Name2<br>Name3 ...
|campus            = "Urban", "Rural", etc.
|mascot            = Text
|teamname          = Text
|colours           = Text such as {{colorbox|red}} {{colorbox|blue}} red and blue
|yearbook          = Name of school yearbook
|newspaper         = Name of school newspaper
|established       = Year or [[Month Day]] [[Year]] (deprecated, use"founded=")
|founded           = Year or [[Month Day]] [[Year]]
|enrollment        = Number or Number (Year) or Number ([[Month Day]] [[Year]])
|enrollment_as_of  = [[Year]] or [[Month Day]] [[Year]]
|gradeK            = kindergarten enrollment
|grade1            = grade 1 enrollment
|grade2            = grade 2 enrollment
|grade3            = grade 3 enrollment
|grade4            = grade 4 enrollment
|grade5            = grade 5 enrollment
|grade6            = grade 6 enrollment
|grade7            = grade 7 enrollment
|grade8            = grade 8 enrollment
|grade9            = grade 9 enrollment
|grade10           = grade 10 enrollment
|grade11           = grade 11 enrollment
|grade12           = grade 12 enrollment
|grade13           = grade 13 enrollment
|other_grade_label = custom grade
|other_grade_enrollment = data for other_grade_label
|free_label_1      = any other label you want, and its value
|free_1            =        
|free_label_2      = any other label you want, and its value
|free_2            =        
|free_label_3      = any other label you want, and its value
|free_3            =        
|box_width         = width of box (e.g., 25em - default)
|bgcolor_section   = overrides background colour of section title, default colour #f5deb3
|bgcolor_label     = overrides background colour of label, default colour #efefef
|bgcolor_value     = overrides background colour of field value, default colour #f8f8ff
|bgcolor_image     = overrides background colour of image
|bgcolor_address   = overrides background colour of address
|bgcolor_url       = overrides background colour of url (deprecated, do not use)
|lastupdate        = [[Month Day]] [[Year]] (deprecated - do not use)
|footnotes         = additional information for other fields
}}

[edit] Coordinates

For coordinates, use {{coord}} with display=inline,title. Please do not be overly precise.

[edit] Microformat

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

hCard uses HTML classes including:

  • "adr"
  • "county-name"
  • "fn"
  • "label"
  • "locality"
  • "nickname"
  • "note"
  • "org"
  • "region"
  • "street-address"
  • "vcard"

Geo is produced by calling {{coord}}, and uses HTML classes:

  • "geo"
  • "latitude"
  • "longitude"

Please do not rename or remove these classes.

When giving coordinates, please don't be overly precise.

[edit] See also