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

From blackwiki
Jump to navigation Jump to search
imported>Charlie Awesome
(Added free labels)
imported>Charlie Awesome
(Added usage instructions)
Line 1: Line 1:
'''Usage:'''<pre>
+
==Blank Template==
 +
<pre>
 
{{Infobox GB school  
 
{{Infobox GB school  
 
| name        =  
 
| name        =  
Line 10: Line 11:
 
| motto        =  
 
| motto        =  
 
| established  =
 
| established  =
 +
| approx      =
 
| type        =  
 
| type        =  
 
| religion    =
 
| religion    =
Line 40: Line 42:
 
</pre>
 
</pre>
  
<!-- Optional parameters marked with "". -->
+
==Usage==
 +
 
 +
===Required Fields===
 +
There is only one required field.
 +
* '''name:''' Pretty obviously, the full name of the school.
 +
 
 +
===Optional Fields===
 +
If these are left blank, they will be omitted.
 +
* '''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 [[Taxonomy of schools|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.
 +
* '''street:''' Street on which the School is located.
 +
* '''city:''' City in which the school is found.
 +
* '''county:''' County in which the school is found.
 +
* '''country:''' The school's country.
 +
* '''phone:''' The school's phone number (don't forget the are code!).
 +
* '''fax:''' The school's fax number.
 +
* '''coordinates'''
 +
* '''LEA:''' The school's [[The Local Education Authority]].  Just enter the city or county, and the infobox will create a link.
 +
* '''ofsted:''' The [[ofsted]] number of the school.  Available from the [[http://www.ofsted.gov.uk/ ofstead]] website.
 +
* '''staff:''' The number of teaching and 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.
 +
* '''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 {{tl|coord}} with "''display=inline,title''" and "''type=landmark''" to ensure correct zoom on maps e.g. ''<nowiki>{{coord|51|16|30|N|2|46|43|W|region:GB_type:landmark|display=inline,title}}</nowiki>''
 
For coordinates, use {{tl|coord}} with "''display=inline,title''" and "''type=landmark''" to ensure correct zoom on maps e.g. ''<nowiki>{{coord|51|16|30|N|2|46|43|W|region:GB_type:landmark|display=inline,title}}</nowiki>''
  
 +
==approx==
 
When approx is given, ~ is displayed before the year under Established. Eg:
 
When approx is given, ~ is displayed before the year under Established. Eg:
  
<pre>
 
{{Infobox GB school
 
| name        =
 
| image        =
 
| motto        =
 
| established  =
 
| approx      = 1
 
| type        = 
 
| head        =
 
| street      =
 
| city        =
 
| county      =
 
| country      = 
 
| phone        =
 
| fax          =
 
| enrollment  =
 
| lower_age    =
 
| upper_age    =
 
| publication  =
 
| website      =
 
}}
 
</pre>
 
  
 
==Microformat==
 
==Microformat==

Revision as of 16:07, 26 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         = 
| street       = 
| city         = 
| county       = 
| country      =  
| phone        = 
| fax          = 
| coordinates  =
| LEA          = 
| ofsted       = 
| staff        =
| enrollment   = 
| gender       = 
| lower_age    = 
| upper_age    = 
| houses       =
| publication  =
| free_label_1 =
| free_1       =
| free_label_2 =
| free_2       =
| free_label_3 =
| free_3       =
| website      = 
}}

Usage

Required Fields

There is only one required field.

  • name: Pretty obviously, the full name of the school.

Optional Fields

If these are left blank, they will be omitted.

  • 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.
  • street: Street on which the School is located.
  • city: City in which the school is found.
  • county: County in which the school is found.
  • country: The school's country.
  • phone: The school's phone number (don't forget the are code!).
  • fax: The school's fax number.
  • coordinates
  • LEA: The school's The Local Education Authority. Just enter the city or county, and the infobox will create a link.
  • ofsted: The ofsted number of the school. Available from the [ofstead] website.
  • staff: The number of teaching and 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.
  • 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}}

approx

When approx is given, ~ is displayed before the year under Established. Eg:


Microformat

Template:UF-hcard-geo

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