Template:Cambridge College Infobox/doc

From Wikipedia, the free encyclopedia

Contents

[edit] Description

This infobox is designed for the colleges of the University of Cambridge.

[edit] Empty Syntax

To add this infobox to an article, copy and paste the following text:

{{Cambridge College Infobox
| name               = 
| infobox_colour     = 
| text_colour        = 
| link_colour        = 
| image              = 
| colours            = 
| full_name          = 
| latin_name         = 
| latin_motto        = 
| motto_language     =
| english_motto      = 
| founder            = 
| founder_pl         =
| named_for          = 
| established        = 
| old_names          = 
| location           = 
| women_only         = 
| mature_students    = 
| head_label         = 
| head               = 
| undergraduates     = 
| graduates          = 
| sister_college     = 
| sister_college_pl  = 
| homepage           = 
| boat_club          = 
}}

[edit] Usage

[edit] Top of infobox

Field Name Usage Description
name required The college's usual name, in English. e.g. "King's College".
infobox_colour optional Colour of the infobox's header and borders. May be a name e.g. "black" or a code e.g. "#000000". If parameter is left blank, Cambridge Deep Blue will be used by default.
text_colour optional Colour of the text in the infobox's header. This should contrast with the header's colour. It defaults to white.
link_colour optional Colour of the links in the infobox's header. This should contrast with the header and the text colour, preferably. It defaults to Cambridge Yellow.
image optional The college's arms or logo. Can include size and mouseover text e.g. (for Fitzwilliam)
  image = [[Image:Fitz shield.png|128px|The Fitzwilliam Shield]]
colours required A section through the college scarf, e.g. (for Peterhouse):
  colours = <td bgcolor="#000099"> </td>
            <td bgcolor="#FFFFFF"> </td>
            <td bgcolor="#000099"> </td>
            <td bgcolor="#FFFFFF"> </td>

[edit] Main info

Field Name Usage Description
full_name optional Formal name of college, if this is different from the common name (e.g. "The King’s College of Our Lady and St Nicholas in Cambridge" instead of "King's College".)
latin_name optional The name of the college in Latin.
motto_latin optional If the college motto is in Latin or another language other than English, put it in its original form here.
motto_language optional If the college motto is in a foreign language other than Latin, name the language here.
motto_english optional Either the college motto (if it's in English) or a translation of the Latin motto.
named_for required Who/what the college was named after. If the college was named after its founder, the "named_for" field may be omitted.
old_names optional If the college was formerly known by different names, list them here.
established required When was the college founded?
founder optional The founder of the college, with a wikilink if appropriate.
founder_pl optional If anything at all is entered into this field, "Founder" will be displayed as "Founders".
location optional Wikilinked if a relevant article exists (e.g. "[[Huntingdon Road]]").
women_only optional If anything at all is entered into this field, "Men and women" changes to "Women".
mature_students optional Enter anything at all into this field if the college only admits mature students.
head_label required What title is given to the head of the college (e.g. "Master", "President", etc.).
head required Name of Head of the college head, linked to their Wikpedia article where one exists (e.g. "[[David Wallace (physicist)|Sir David Wallace]]").
undergraduates optional Number of undergraduate students.
graduates optional Number of postgraduate students.
sister_college optional Does the college have a sister college at "the other place" (Oxford)?
sister_college_pl optional If anything at all is entered into this field, "Sister College" will be displayed as "Sister Colleges".

[edit] External links

Field Name Usage Description
homepage required URL of the college's homepage.
boatclub optional URL of the college's boat club homepage.

[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.