Difference between revisions of "Template:Infobox UK school/doc"

From blackwiki
Jump to navigation Jump to search
imported>Charlie Awesome
imported>Charlie Awesome
(Added info on piped links)
Line 70: Line 70:
 
* †'''founder:''' The name of the school's founder.
 
* †'''founder:''' The name of the school's founder.
 
* †'''street:''' Street on which the School is located.
 
* †'''street:''' Street on which the School is located.
* '''city:''' City, town or village in which the school is found.  
+
* '''city:''' City, town or village in which the school is found.  The template automatically creates a wikilink.  To create a piped link to a page with a different name than the name of the city, use the format: go to this page<nowiki>{{!}}</nowiki>display this city.
* †'''county:''' County in which the school is found.
+
* †'''county:''' County in which the school is found.  The template automatically creates a wikilink, so the above applies.
* '''country:''' The school's country.
+
* '''country:''' The school's country.  The template automatically creates a wikilink, so the above applies.
 
* †'''postcode:''' The school's postcode.
 
* †'''postcode:''' The school's postcode.
 
* †'''phone:''' The school's phone number (don't forget the area code!).
 
* †'''phone:''' The school's phone number (don't forget the area code!).

Revision as of 22:27, 29 May 2007

Blank Template

{{Infobox GB school 
| name         = 
| image        = 
| map_type     = 
| latitude     = 
| longitude    = 
| map_size     = 
| map_caption  = 
| motto        = 
| established  = 
| approx       = 
| type         = 
| religion     = 
| head_label   = 
| head         = 
| r_head_label = 
| r_head       = 
| founder      = 
| street       = 
| city         = 
| county       = 
| country      = 
| postcode     = 
| phone        = 
| fax          = 
| coordinates  = 
| LEA          = 
| ofsted       = 
| staff        = 
| enrollment   = 
| gender       = 
| lower_age    = 
| upper_age    = 
| first_year   = 
| last_year    = 
| houses       = 
| publication  = 
| free_label_1 = 
| free_1       = 
| free_label_2 = 
| free_2       = 
| free_label_3 = 
| free_3       = 
| website      = 
}}

Usage

Required fields are name, city and country.

  • name: Pretty obviously, the full name of the school.
  • image: The name of the school logo's image file including the extension but excluding the "Image:" tag at the start.
  • map_type
  • latitude
  • longitude
  • map_size
  • map_caption: The caption to be displayed underneath the map.
  • motto: The school's motto.
  • established: The date or year in which the school was founded.
  • approx: If anything is entered into this field, the date of the school's establishment is displayed as an approximation with a tilde (~) before it.
  • type: What type of school is it? Is it state or privately funded?
  • religion: What, if any, religious affiliation does the school have?
  • head_label: What the head of the school is referred to as (e.g. Headteacher, Headmaster, Dean, Principle, etc.). If this field is left blank, it will default to "Headteacher".
  • head: The name of the current school head.
  • r_head_label: If the school has a religious leader, what he/she is called (e.g. Chaplain, Provost, etc.).
  • r_head: The name of the current religious head.
  • founder: The name of the school's founder.
  • street: Street on which the School is located.
  • city: City, town or village in which the school is found. The template automatically creates a wikilink. To create a piped link to a page with a different name than the name of the city, use the format: go to this page{{!}}display this city.
  • county: County in which the school is found. The template automatically creates a wikilink, so the above applies.
  • country: The school's country. The template automatically creates a wikilink, so the above applies.
  • postcode: The school's postcode.
  • phone: The school's phone number (don't forget the area code!).
  • fax: The school's fax number.
  • coordinates: See "coordinates" below.
  • LEA: The school's Local Education Authority.
  • ofsted: The ofsted number of the school. Available from the ofstead website.
  • staff: The number of teaching and/or support staff.
  • enrollment: The total number of pupils at the school. If a year-on-year average is given, indicate this with a "c." before the number.
  • gender: Boys, Girls, or Coeducational.
  • lower_age: The lowest age at which a pupil can enter the school.
  • upper_age: The age at which students normally leave.
  • first_year: The first academic year group for which the school caters (e.g. 6 or 7)
  • last_year: The last academic year group for which the school caters (e.g. 11 or 13)
  • houses: The names of any school houses the school might have.
  • publication: The name of the school publication.
  • free_label: The name of an optional field.
  • free: The data which goes in the optional field.
  • website: The URL of the school's official website.

Coordinates

For coordinates, use {{coord}} with "display=inline,title" and "type=landmark" to ensure correct zoom on maps e.g. {{coord|51|16|30|N|2|46|43|W|region:GB_type:landmark|display=inline,title}}


Microformat

Template:UF-hcard-geo

ru:Шаблон:Инфо школы