Difference between revisions of "Template:Infobox/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Bryan Derksen
imported>Ogio84
Line 1: Line 1:
<table class="infobox" style="text-align: left; font-size: 90%; {{{bodystyle|}}}">
+
{| class="infobox vcard" style="width:21em; font-size:90%;" cellspacing="2"
<tr><!-- Header
+
|-
--><td colspan="2" style="text-align:center; font-size: large; background:#ccf; {{{titlestyle|}}}"><span style="float:right; margin-right:1em;">{{Tnavbar| {{{name}}}|fontstyle={{{titlestyle|}}};border:none;|mini=1}}</span> {{{title}}}</td>
+
|colspan="2" style="text-align:center; font-size:larger;" class="fn org" | '''{{{name}}}'''
</tr><!-- Image
+
|-
-->{{#if:{{{image|}}}|<tr>
+
{{#if:{{{image<includeonly>|</includeonly>}}}|
<td colspan="2" style="text-align:center; {{{imagestyle|}}}"> {{{image}}} {{#if:{{{caption|}}}|<br><span style="{{{captionstyle|}}}">{{{caption}}} }}</span></td>
+
{{!}} colspan="2" style="padding: 1em 0; text-align: center; background-color:transparent;"  {{!}} [[Image:{{{image}}}|center|{{{size<includeonly>|</includeonly>}}}]]
</tr>}}<!--
+
}}
Row 1
+
|-
-->{{#if:{{{header1|}}}|<tr><th colspan="2" style="text-align:center; background:#ccf; {{{headerstyle|}}}">{{{header1}}}</th></tr>| {{#if:{{{label1|}}}|{{#if:{{{data1|}}}|<tr><th style="background:#ddf; {{{labelstyle|}}}">{{{label1}}}</th><td style="{{{datastyle|}}}">{{{data1|}}}</td></tr>}}| {{#if:{{{data1|}}}|<tr><td colspan="2" style="{{{datastyle|}}}">{{{data1|}}}</td></tr>}} }} }}<!--
+
{{#if: {{{motto<includeonly>|</includeonly>}}} |
Row 2
+
{{!}} '''[[Motto|Motto{{#if: {{{motto_pl|}}} |es}}]]''' {{!}}{{!}} {{{motto}}}
-->{{#if:{{{header2|}}}|<tr><th colspan="2" style="text-align:center; background:#ccf; {{{headerstyle|}}}">{{{header2}}}</th></tr>| {{#if:{{{label2|}}}|{{#if:{{{data2|}}}|<tr><th style="background:#ddf; {{{labelstyle|}}}">{{{label2}}}</th><td style="{{{datastyle|}}}">{{{data2|}}}</td></tr>}}| {{#if:{{{data2|}}}|<tr><td colspan="2" style="{{{datastyle|}}}">{{{data2|}}}</td></tr>}} }} }}<!--
+
}}
Row 3
+
|-
-->{{#if:{{{header3|}}}|<tr><th colspan="2" style="text-align:center; background:#ccf; {{{headerstyle|}}}">{{{header3}}}</th></tr>| {{#if:{{{label3|}}}|{{#if:{{{data3|}}}|<tr><th style="background:#ddf; {{{labelstyle|}}}">{{{label3}}}</th><td style="{{{datastyle|}}}">{{{data3|}}}</td></tr>}}| {{#if:{{{data3|}}}|<tr><td colspan="2" style="{{{datastyle|}}}">{{{data3|}}}</td></tr>}} }} }}<!--
+
{{#if:{{{established<includeonly>|</includeonly>}}} |
Row 4
+
{{!}} '''Established''' {{!}}{{!}} {{#if: {{{approx|}}} |c.}}{{{established}}}
-->{{#if:{{{header4|}}}|<tr><th colspan="2" style="text-align:center; background:#ccf; {{{headerstyle|}}}">{{{header4}}}</th></tr>| {{#if:{{{label4|}}}|{{#if:{{{data4|}}}|<tr><th style="background:#ddf; {{{labelstyle|}}}">{{{label4}}}</th><td style="{{{datastyle|}}}">{{{data4|}}}</td></tr>}}{{#if:{{{data4|}}}|<tr><td colspan="2" style="{{{datastyle|}}}">{{{data4|}}}</td></tr>}} }} }}<!--
+
}}
Row 5
+
|-
-->{{#if:{{{header5|}}}|<tr><th colspan="2" style="text-align:center; background:#ccf; {{{headerstyle|}}}">{{{header5}}}</th></tr>{{#if:{{{label5|}}}|{{#if:{{{data5|}}}|<tr><th style="background:#ddf; {{{labelstyle|}}}">{{{label5}}}</th><td style="{{{datastyle|}}}">{{{data5|}}}</td></tr>}}| {{#if:{{{data5|}}}|<tr><td colspan="2" style="{{{datastyle|}}}">{{{data5|}}}</td></tr>}} }} }}<!--
+
{{#if:{{{closed<includeonly>|</includeonly>}}} |
Row 6
+
{{!}} '''Closed''' {{!}}{{!}} {{#if: {{{c_approx|}}} |c.}}{{{closed}}}
-->{{#if:{{{header6|}}}|<tr><th colspan="2" style="text-align:center; background:#ccf; {{{headerstyle|}}}">{{{header6}}}</th></tr>| {{#if:{{{label6|}}}|{{#if:{{{data6|}}}|<tr><th style="background:#ddf; {{{labelstyle|}}}">{{{label6}}}</th><td style="{{{datastyle|}}}">{{{data6|}}}</td></tr>}}| {{#if:{{{data6|}}}|<tr><td colspan="2" style="{{{datastyle|}}}">{{{data6|}}}</td></tr>}} }} }}<!--
+
}}
Row 7
+
|-
-->{{#if:{{{header7|}}}|<tr><th colspan="2" style="text-align:center; background:#ccf; {{{headerstyle|}}}">{{{header7}}}</th></tr>| {{#if:{{{label7|}}}|{{#if:{{{data7|}}}|<tr><th style="background:#ddf; {{{labelstyle|}}}">{{{label7}}}</th><td style="{{{datastyle|}}}">{{{data7|}}}</td></tr>}}| {{#if:{{{data7|}}}|<tr><td colspan="2" style="{{{datastyle|}}}">{{{data7|}}}</td></tr>}} }} }}<!--
+
{{#if:{{{type<includeonly>|</includeonly>}}} |
Row 8
+
{{!}} '''[[Taxonomy of schools|Type]]''' {{!}}{{!}} {{{type}}}
-->{{#if:{{{header8|}}}|<tr><th colspan="2" style="text-align:center; background:#ccf; {{{headerstyle|}}}">{{{header8}}}</th></tr>| {{#if:{{{label8|}}}|{{#if:{{{data8|}}}|<tr><th style="background:#ddf; {{{labelstyle|}}}">{{{label8}}}</th><td style="{{{datastyle|}}}">{{{data8|}}}</td></tr>}}| {{#if:{{{data8|}}}|<tr><td colspan="2" style="{{{datastyle|}}}">{{{data8|}}}</td></tr>}} }} }}<!--
+
}}
Row 9
+
|-
-->{{#if:{{{header9|}}}|<tr><th colspan="2" style="text-align:center; background:#ccf; {{{headerstyle|}}}">{{{header9}}}</th></tr>| {{#if:{{{label9|}}}|{{#if:{{{data9|}}}|<tr><th style="background:#ddf; {{{labelstyle|}}}">{{{label9}}}</th><td style="{{{datastyle|}}}">{{{data9|}}}</td></tr>}}| {{#if:{{{data9|}}}|<tr><td colspan="2" style="{{{datastyle|}}}">{{{data9|}}}</td></tr>}} }} }}<!--
+
{{#if:{{{religion<includeonly>|</includeonly>}}} |
Row 10
+
{{!}} '''Religious affiliation''' {{!}}{{!}} {{{religion}}}
-->{{#if:{{{header10|}}}|<tr><th colspan="2" style="text-align:center; background:#ccf; {{{headerstyle|}}}">{{{header10}}}</th></tr>| {{#if:{{{label10|}}}|{{#if:{{{data10|}}}|<tr><th style="background:#ddf; {{{labelstyle|}}}">{{{label10}}}</th><td style="{{{datastyle|}}}">{{{data10|}}}</td></tr>}}|  {{#if:{{{data10|}}}|<tr><td colspan="2" style="{{{datastyle|}}}">{{{data10|}}}</td></tr>}} }} }}<!--
+
}}
Row 11
+
|-
-->{{#if:{{{header11|}}}|<tr><th colspan="2" style="text-align:center; background:#ccf; {{{headerstyle|}}}">{{{header11}}}</th></tr>| {{#if:{{{label11|}}}|{{#if:{{{data11|}}}|<tr><th style="background:#ddf; {{{labelstyle|}}}">{{{label11}}}</th><td style="{{{datastyle|}}}">{{{data11|}}}</td></tr>}}|  {{#if:{{{data11|}}}|<tr><td colspan="2" style="{{{datastyle|}}}">{{{data11|}}}</td></tr>}} }} }}<!--
+
{{#if:{{{president<includeonly>|</includeonly>}}} |
Row 12
+
{{!}} '''President'''{{!}}{{!}} {{{president}}}
-->{{#if:{{{header12|}}}|<tr><th colspan="2" style="text-align:center; background:#ccf; {{{headerstyle|}}}">{{{header12}}}</th></tr>| {{#if:{{{label12|}}}|{{#if:{{{data12|}}}|<tr><th style="background:#ddf; {{{labelstyle|}}}">{{{label12}}}</th><td style="{{{datastyle|}}}">{{{data12|}}}</td></tr>}}|  {{#if:{{{data12|}}}|<tr><td colspan="2" style="{{{datastyle|}}}">{{{data12|}}}</td></tr>}} }} }}<!--
+
}}
Row 13
+
|-
-->{{#if:{{{header13|}}}|<tr><th colspan="2" style="text-align:center; background:#ccf; {{{headerstyle|}}}">{{{header13}}}</th></tr>| {{#if:{{{label13|}}}|{{#if:{{{data13|}}}|<tr><th style="background:#ddf; {{{labelstyle|}}}">{{{label13}}}</th><td style="{{{datastyle|}}}">{{{data13|}}}</td></tr>}}|  {{#if:{{{data13|}}}|<tr><td colspan="2" style="{{{datastyle|}}}">{{{data13|}}}</td></tr>}} }} }}<!--
+
{{#if:{{{rector<includeonly>|</includeonly>}}} |
Row 14
+
{{!}} '''Rector'''{{!}}{{!}} {{{rector}}}
-->{{#if:{{{header14|}}}|<tr><th colspan="2" style="text-align:center; background:#ccf; {{{headerstyle|}}}">{{{header14}}}</th></tr>| {{#if:{{{label14|}}}|{{#if:{{{data14|}}}|<tr><th style="background:#ddf; {{{labelstyle|}}}">{{{label14}}}</th><td style="{{{datastyle|}}}">{{{data14|}}}</td></tr>}}|  {{#if:{{{data14|}}}|<tr><td colspan="2" style="{{{datastyle|}}}">{{{data14|}}}</td></tr>}} }} }}<!--
+
}}
Row 15
+
|-
-->{{#if:{{{header15|}}}|<tr><th colspan="2" style="text-align:center; background:#ccf; {{{headerstyle|}}}">{{{header15}}}</th></tr>| {{#if:{{{label15|}}}|{{#if:{{{data15|}}}|<tr><th style="background:#ddf; {{{labelstyle|}}}">{{{label15}}}</th><td style="{{{datastyle|}}}">{{{data15|}}}</td></tr>}}|  {{#if:{{{data15|}}}|<tr><td colspan="2" style="{{{datastyle|}}}">{{{data15|}}}</td></tr>}} }} }}<!--
+
{{#if:{{{headteacher<includeonly>|</includeonly>}}} |
Row 16
+
{{!}} '''Head Teacher'''{{!}}{{!}} {{{headteacher}}}
-->{{#if:{{{header16|}}}|<tr><th colspan="2" style="text-align:center; background:#ccf; {{{headerstyle|}}}">{{{header16}}}</th></tr>| {{#if:{{{label16|}}}|{{#if:{{{data16|}}}|<tr><th style="background:#ddf; {{{labelstyle|}}}">{{{label16}}}</th><td style="{{{datastyle|}}}">{{{data16|}}}</td></tr>}}|  {{#if:{{{data16|}}}|<tr><td colspan="2" style="{{{datastyle|}}}">{{{data16|}}}</td></tr>}} }} }}<!--
+
}}
Row 17
+
|- class="note"
-->{{#if:{{{header17|}}}|<tr><th colspan="2" style="text-align:center; background:#ccf; {{{headerstyle|}}}">{{{header17}}}</th></tr>| {{#if:{{{label17|}}}|{{#if:{{{data17|}}}|<tr><th style="background:#ddf; {{{labelstyle|}}}">{{{label17}}}</th><td style="{{{datastyle|}}}">{{{data17|}}}</td></tr>}}|  {{#if:{{{data17|}}}|<tr><td colspan="2" style="{{{datastyle|}}}">{{{data17|}}}</td></tr>}} }} }}<!--
+
{{#if: {{{head<includeonly>|</includeonly>}}} |
Row 18
+
{{!}}{{#if: {{{head_label|<noinclude>-</noinclude>}}}|'''{{{head_label}}}'''|'''Headteacher'''}}
-->{{#if:{{{header18|}}}|<tr><th colspan="2" style="text-align:center; background:#ccf; {{{headerstyle|}}}">{{{header18}}}</th></tr>| {{#if:{{{label18|}}}|{{#if:{{{data18|}}}|<tr><th style="background:#ddf; {{{labelstyle|}}}">{{{label18}}}</th><td style="{{{datastyle|}}}">{{{data18|}}}</td></tr>}}|  {{#if:{{{data18|}}}|<tr><td colspan="2" style="{{{datastyle|}}}">{{{data18|}}}</td></tr>}} }} }}<!--
+
{{!}} {{{head}}}  
Row 19
+
{{!}}-
-->{{#if:{{{header19|}}}|<tr><th colspan="2" style="text-align:center; background:#ccf; {{{headerstyle|}}}">{{{header19}}}</th></tr>| {{#if:{{{label19|}}}|{{#if:{{{data19|}}}|<tr><th style="background:#ddf; {{{labelstyle|}}}">{{{label19}}}</th><td style="{{{datastyle|}}}">{{{data19|}}}</td></tr>}}|  {{#if:{{{data19|}}}|<tr><td colspan="2" style="{{{datastyle|}}}">{{{data19|}}}</td></tr>}} }} }}<!--
+
}}
Row 20
+
|-
-->{{#if:{{{header20|}}}|<tr><th colspan="2" style="text-align:center; background:#ccf; {{{headerstyle|}}}">{{{header20}}}</th></tr>|  {{#if:{{{label20|}}}|{{#if:{{{data20|}}}|<tr><th style="background:#ddf; {{{labelstyle|}}}">{{{label20}}}</th><td style="{{{datastyle|}}}">{{{data20|}}}</td></tr>}}|  {{#if:{{{data20|}}}|<tr><td colspan="2" style="{{{datastyle|}}}">{{{data20|}}}</td></tr>}} }} }}<!--
+
{{#if: {{{chair_label<includeonly>|</includeonly>}}} |
Below
+
{{!}} '''{{{chair_label}}}'''
-->{{#if:{{{below|}}}|<tr><td colspan="2" style="background:#ddf; text-align:center; font-size:small; font-style:italic; {{{belowstyle|}}}">{{{below|}}}</td></tr>}}
+
{{!}} {{{chair}}}  
</table>
+
{{!}}-
 +
}}
 +
|-
 +
{{#if:{{{founder<includeonly>|</includeonly>}}} |
 +
{{!}} '''Founder{{#if: {{{founder_pl|}}} |s}}''' {{!}}{{!}} {{{founder}}}
 +
}}
 +
|-
 +
{{#if:{{{specialist<includeonly>|</includeonly>}}} |
 +
{{!}} '''Specialism{{#if: {{{specialist_pl|}}} |s}}''' {{!}}{{!}} {{{specialist}}}
 +
}}
 +
|-
 +
{{#if:{{{examinations<includeonly>|</includeonly>}}} |
 +
{{!}} '''Examinations''' {{!}}{{!}} {{{examinations}}}
 +
}}
 +
|- class="adr"
 +
|'''Location'''
 +
|{{ #if: {{{street|}}} | <span class="street-address">{{{street}}}</span><br> }} <noinclude>{{{street}}}<br></noinclude> {{ #if: {{{city|}}} | <span class="locality">{{{city}}}</span><br> }} <noinclude>{{{city}}}<br></noinclude> {{ #if: {{{county|}}} | <span class="region">{{{county}}}</span><br> }} <noinclude>{{{county}}}<br></noinclude> {{#if: {{{postcode|}}} | <span class="postal-code">{{{postcode}}}</span><br> }} <noinclude>{{{postcode}}}<br></noinclude> {{#if: {{{country|}}} | <span class="country-name">{{{country}}}</span> }} <noinclude>{{{country}}}</noinclude>
 +
|-
 +
{{#if: {{{campus<includeonly>|</includeonly>}}} |
 +
{{!}} '''[[Campus]]'''{{!}}{{!}} {{{campus}}}  
 +
}}
 +
|- class="note"
 +
{{#if:{{{Local Authority<includeonly>|</includeonly>}}} |
 +
{{!}} '''Local Authority''' {{!}}{{!}} {{{Local Authority}}}
 +
}}
 +
|-
 +
{{#if:{{{staff<includeonly>|</includeonly>}}} |
 +
{{!}} '''Staff''' {{!}}{{!}} {{{staff}}}
 +
}}
 +
|-
 +
{{#if:{{{enrollment<includeonly>|</includeonly>}}} |
 +
{{!}} '''Students''' {{!}}{{!}} {{{enrollment}}}
 +
}}
 +
|-
 +
{{#if:{{{gender<includeonly>|</includeonly>}}} |
 +
{{!}} '''Gender''' {{!}}{{!}} {{{gender}}}
 +
}}
 +
|- class="note"
 +
{{#if:{{{lower_age<includeonly>|</includeonly>}}} |
 +
{{!}} '''Ages''' {{!}}{{!}} {{{lower_age}}}{{#if: {{{upper_age|<noinclude>-</noinclude>}}}|&#32;to {{{upper_age}}}|+}}
 +
}}
 +
|-
 +
{{#if:{{{houses<includeonly>|</includeonly>}}} |
 +
{{!}} '''Houses''' {{!}}{{!}} {{{houses}}}
 +
}}
 +
|-
 +
{{#if:{{{colours<includeonly>|</includeonly>}}} |
 +
{{!}} '''School colours''' {{!}}{{!}} {{{colours}}}
 +
}}
 +
|-
 +
{{#if:{{{publication<includeonly>|</includeonly>}}} |
 +
{{!}} '''Publication''' {{!}}{{!}} {{{publication}}}
 +
}}
 +
|-
 +
{{#if:{{{feederschools<includeonly>|</includeonly>}}} |
 +
{{!}} '''Feeder schools''' {{!}}{{!}} {{{feederschools}}}
 +
}}
 +
|-
 +
{{#if: {{{free_label_1<includeonly>|</includeonly>}}} |
 +
{{!}}'''{{{free_label_1}}}'''
 +
{{!}} {{{free_1}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{free_label_2<includeonly>|</includeonly>}}} |
 +
{{!}}'''{{{free_label_2}}}'''
 +
{{!}} {{{free_2}}}  
 +
{{!}}-
 +
}}
 +
{{#if: {{{free_label_3<includeonly>|</includeonly>}}} |
 +
{{!}}'''{{{free_label_3}}}'''
 +
{{!}} {{{free_3}}}  
 +
{{!}}-
 +
}}
 +
|-
 +
{{#if:{{{website<includeonly>|</includeonly>}}} |
 +
{{!}} '''Website''' {{!}}{{!}} {{#if: {{{website_name|<noinclude>-</noinclude>}}}|[{{{website}}} {{{website_name}}}]|[{{{website}}} {{{website}}}]}}
 +
}}
 +
|-
 +
{{#if:{{{latitude<includeonly>|</includeonly>}}} |
 +
{{!}} colspan="2" style="font-size:111.1111111111%" {{!}} {{coord|{{{latitude}}}|{{{longitude}}}|{{#if: {{{dms|}}}|format=dms|}}region:GB_type:landmark|display=title}}
 +
}}

Revision as of 21:38, 9 February 2008

{{{name}}}
[[Image:{{{image}}}|center|{{{size}}}]]
Motto {{{motto}}}
Established {{{established}}}
Closed {{{closed}}}
Type {{{type}}}
Religious affiliation {{{religion}}}
President {{{president}}}
Rector {{{rector}}}
Head Teacher {{{headteacher}}}
{{{head_label}}} {{{head}}}
{{{chair_label}}} {{{chair}}}
Founder {{{founder}}}
Specialism {{{specialist}}}
Examinations {{{examinations}}}
Location {{{street}}}
{{{city}}}
{{{county}}}
{{{postcode}}}
{{{country}}}
Campus {{{campus}}}
Local Authority {{{Local Authority}}}
Staff {{{staff}}}
Students {{{enrollment}}}
Gender {{{gender}}}
Ages {{{lower_age}}} to {{{upper_age}}}
Houses {{{houses}}}
School colours {{{colours}}}
Publication {{{publication}}}
Feeder schools {{{feederschools}}}
{{{free_label_1}}} {{{free_1}}}
{{{free_label_2}}} {{{free_2}}}
{{{free_label_3}}} {{{free_3}}}
Website [{{{website}}} {{{website_name}}}]
Lua error: callParserFunction: function "#coordinates" was not found.