Template:Infobox Education in the United States/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Infobox Education in the United States (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 3 required fields; name, city and state.

All other fields are purely 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).

[edit] Minimal usage

{{Infobox Education in the United States
| name  = 
| city  = 
| state = 
}}

[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 the United States
| name              = 
| image             = 
| imagesize         = 
| motto             = 
| motto_translation = 
| streetaddress     = 
| city              = 
| state             = 
| zipcode           = 
| coordinates       = 
| url               = 
| schoolnumber      = 
| schoolboard       = 
| affiliation       = 
| superintendent    = 
| trustee           = 
| principal         = 
| viceprincipal     = 
| administrator     = 
| schooltype        = 
| grades            = 
| language          = 
| area              = 
| mascot            = 
| teamname          = 
| colors            = 
| founded           = 
| enrollment        = 
| enrollment_as_of  = 
}}

[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
  • type= is ignored if fundingtype= is defined

[edit] Field Listing

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

{{Infobox Education in the United States
|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)
|motto=         Text
|motto_translation= Motto translation, if not in English
|streetaddress= 123 Main Street
|city=          [[City, State|City]]
|state=         [[State]]
|zipcode=       01234-1234
|coordinates=   {{coord|latitude|longitude|display=inline,title}} (where latitude and longitude are decimal values)
|url=           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]]
|affiliation=   religious affiliation such as: none or [[Catholic_school|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=    [[High school#United States|high school]] or [[Elementary school]]
|grades=        K-8 or 8-10 or 9-12 or ...
|language=      [[American English|English]] or [[French immersion]] or [[French language|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
|colors=        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
|other_grade_label_1=      custom grade
|other_grade_enrollment_1= data for other_grade_label_1
|other_grade_label_2=      custom grade
|other_grade_enrollment_2= data for other_grade_label_2
|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 color of section title - default is #f5deb3
|bgcolor_label=   overrides background color of label - default is #efefef
|bgcolor_value=   overrides background color of field value - default is #f8f8ff
|bgcolor_image=   overrides background color of image
|bgcolor_address= overrides background color of address
|bgcolor_url=     overrides background color of url
|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