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

From blackwiki
Jump to navigation Jump to search
imported>Jonesey95
(putting sep 2018 version in sandbox)
imported>Jonesey95
(redirect post-merge)
Line 1: Line 1:
{{Infobox
+
#REDIRECT [[Template:Infobox school/sandbox]]
| bodyclass  = vcard
 
| bodystyle  = {{{bodystyle|}}}
 
 
 
| title      = {{{name}}}
 
| titleclass = fn org
 
 
 
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{size|}}}|upright={{{image_upright|}}}|alt={{{alt|}}}}}
 
| caption    = {{{caption|}}}
 
| image2    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|size={{{size2|}}}|upright={{{image_upright2|}}}|alt={{{alt2|}}}}}
 
| caption2  = {{{caption2|}}}
 
 
 
| label1    = {{#if:{{{gaelic_name|}}}|[[Scottish Gaelic]]|Native name}}
 
| data1      = {{#if:{{{gaelic_name|}}}
 
| <span class="nickname" lang="ga">{{{gaelic_name|}}}</span>
 
| {{#if:{{{native_name|}}}
 
  | <span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>
 
  }}
 
}}
 
 
 
| label2    = Motto{{#if:{{{motto_pl|}}}|es}}
 
| data2      = {{{motto|}}}
 
 
 
| label3    = Established
 
| data3      = {{#if:{{{approx|}}}|c.}} {{{established|}}}
 
 
 
| label4    = Closed
 
| data4      = {{#if:{{{c_approx|}}}|c.}} {{{closed|}}}
 
 
 
| label5    = Type
 
| data5      = {{{type|}}}
 
 
 
| label6    = Trust
 
| data6      = {{{trust|}}}
 
 
 
| label7    = Religion
 
| data7      = {{{religion|}}}
 
| class7    = category
 
 
 
| label8    = President
 
| data8      = {{{president|}}}
 
| class8    = agent
 
 
 
| rowclass9  = note
 
| label9    = {{ifempty|{{{head_label|}}}|Headteacher}}
 
| data9      = {{{head|}}}
 
| class9    = agent
 
 
 
| label10    = {{ifempty|{{{r_head_label|}}}|Religious head}}
 
| data10    = {{{r_head|}}}
 
| class10    = agent
 
 
 
| rowclass11 = note
 
| label11    = {{ifempty|{{{deputy_head_label|}}}|Deputy Headteacher}}
 
| data11    = {{{deputy_head|}}}
 
| class11    = agent
 
 
 
| label12    = {{ifempty|{{{r_deputy_head_label|}}}|Religious deputy head}}
 
| data12    = {{{r_deputy_head|}}}
 
| class12    = agent
 
 
 
| label13    = {{ifempty|{{{chair_label|}}}|Chair}}
 
| data13    = {{{chair|}}}
 
| class13    = agent
 
 
 
| label14    = Founder{{#if:{{{founder_pl|}}}|s}}
 
| data14    = {{{founder|}}}
 
 
 
| label15    = Medium of education
 
| data15    = {{{medium|}}}
 
 
 
| data16 = {{#if:{{{pushpin_map|}}}|
 
{{Location map|{{{pushpin_map|}}}
 
|label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{#if:{{{pushpin_label|}}}|{{{pushpin_label}}}|{{#if:{{{name|}}}|{{{name}}}|{{{native_name|}}}}}}} }}
 
|alt = {{{pushpin_map_alt|}}}
 
|coordinates = {{{coordinates|}}}
 
|marksize =6
 
|float = center
 
|caption = {{{pushpin_map_caption|}}}
 
|border = infobox
 
|position = {{{pushpin_label_position|}}}
 
|width = {{#if:{{{pushpin_mapsize|}}}|{{{pushpin_mapsize|}}} | 250 }}
 
|AlternativeMap = {{{pushpin_image|}}}
 
}}
 
}}
 
 
 
| rowclass17 = adr
 
| label17    = Location
 
| data17    = {{Br separated entries
 
| 1 = {{#if:{{{street|}}}|<span class="street-address">{{{street}}}</span>}}
 
| 2 = {{#if:{{{locality|}}}|<span class="locality">{{{locality}}}</span>}}
 
| 3 = {{#if:{{{city|}}}|<span class="locality">{{{city}}}</span>}}
 
| 4 = {{#if:{{{district|}}}|<span class="locality">{{{district}}}</span>}}
 
| 5 = {{#if:{{{county|}}}|<span class="region">{{{county}}}</span>}}
 
| 6 = {{#if:{{{postcode|}}}|<span class="postal-code">{{{postcode}}}</span>}}
 
| 7 = {{#if:{{{country|}}}|<span class="country-name">{{{country}}}</span>}}
 
| 8 = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates|}}}|type:edu|dim:100|region:GB}} }}
 
}}
 
 
 
| rowclass18 = note
 
| label18    = Council area
 
| data18    = {{{council_area|}}}
 
 
 
| rowclass19 = note
 
| label19    = Local authority
 
| data19    = {{{local_authority|{{{LEA|}}}}}}
 
 
 
<!--
 
| rowclass20 = note
 
| label20    = [[Department for Education|DfE]] number
 
| data20    = {{#if:{{{dfeno|}}}
 
| {{Schoolsfinder|{{#titleparts:{{{dfeno}}}|1|1}}|{{#titleparts:{{{dfeno}}}|1|2}}}}
 
| {{{dcsfno|}}}
 
}}
 
-->
 
 
 
| rowclass21 = note
 
| label21    = [[Department for Education|DfE]] URN
 
| data21    = {{#if:{{{urn|}}}
 
| {{EduBase|{{{urn}}}|{{{urn}}}}} {{DfE performance tables|{{{urn}}}|Tables}}
 
| {{#if:{{{dcsfurn|}}}|{{EduBase|{{{dcsfurn}}}|{{{dcsfurn}}}}}}}
 
}}
 
 
 
| rowclass32 = note
 
| label32    = [[Ofsted]]
 
| data32    = {{#if:{{{ofsted|}}}
 
| {{#if:{{{urn|}}}
 
  | {{ofsted|{{{urn}}}|Reports}}
 
  | {{#if:{{{dcsfurn|}}}|{{ofsted|{{{dcsfurn}}}|Reports}}}}
 
  }}
 
}} {{#if:{{{old_urn|}}}|{{ofsted|{{{old_urn}}}|Pre-academy reports}}}}
 
 
 
| label33    = Staff
 
| data33    = {{{staff|}}}
 
 
 
| label34    = Capacity
 
| data34    = {{{capacity|}}}
 
 
 
| label35    = Students
 
| data35    = {{{enrollment|}}}{{{enrolment|}}}
 
 
 
| label36    = Gender
 
| data36    = {{{gender|}}}
 
| class36    = category
 
 
 
| rowclass37 = note
 
| label37    = Ages
 
| data37    = {{#if:{{{lower_age|}}}|{{{lower_age|}}}}}{{#if:{{{upper_age|}}}|–{{{upper_age|}}}|{{#if:{{{lower_age|}}}|+|}}}}
 
 
 
| label38    = Houses
 
| data38    = {{{houses|}}}
 
 
 
| label39    = Colours
 
| data39    = {{{colours|}}}
 
 
 
| label40    = Publication{{#if:{{{publication_pl|}}}|s}}
 
| data40    = {{{publication|}}}
 
 
 
| label41    = {{{free_label_1}}}
 
| data41    = {{#if:{{{free_label_1|}}}|{{{free_1|}}}}}
 
 
 
| label42    = {{{free_label_2}}}
 
| data42    = {{#if:{{{free_label_2|}}}|{{{free_2|}}}}}
 
 
 
| label43    = {{{free_label_3}}}
 
| data43    = {{#if:{{{free_label_3|}}}|{{{free_3|}}}}}
 
 
 
| label44    = {{{free_label_4}}}
 
| data44    = {{#if:{{{free_label_4|}}}|{{{free_4|}}}}}
 
 
 
| label45    = {{{free_label_5}}}
 
| data45    = {{#if:{{{free_label_5|}}}|{{{free_5|}}}}}
 
 
 
| label46    = Scottish schools online
 
| data46    = {{#if:{{{scottishschoolsonline|}}}|{{URL|1={{{scottishschoolsonline|}}}|2={{{name|}}}}}}}
 
 
 
| label47    = Website
 
| data47    = {{#if:{{{website|}}}|{{#ifeq:{{Str left|{{{website}}}|1}}|<
 
| {{{website}}}
 
| {{URL|1={{{website}}}|2={{{website_name|}}}}}
 
}}}}
 
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox UK school with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox UK school]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | alt2 |approx | bodystyle | c_approx | capacity | caption | caption2 | chair | chair_label | city | closed | colours | coordinates | council_area |country | county | dcsfurn | deputy_head | deputy_head_label | district | enrollment | enrolment | established | founder | founder_pl | free_1 |free_2 | free_3 | free_4 | free_5 | free_label_1 | free_label_2 | free_label_3 | free_label_4 | free_label_5 | gaelic_name | gender | head |head_label | houses | image | image_upright | image_upright2 | image2 | LEA | local_authority | locality | lower_age | medium | motto | motto_pl |name | native_name | native_name_lang | ofsted | old_urn | postcode | president | publication | publication_pl | pushpin_image | pushpin_label |pushpin_label_position | pushpin_map | pushpin_map_alt | pushpin_map_caption | pushpin_mapsize | r_deputy_head | r_deputy_head_label | r_head |r_head_label | religion | scottishschoolsonline | size | size2 | staff | street | trust | type | upper_age | urn | website | website_name }}<noinclude>
 
{{Documentation}}</noinclude>
 

Revision as of 14:58, 4 December 2018