Difference between revisions of "Template:Infobox/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Ogio84
Line 1: Line 1:
{| class="infobox vcard" style="width:21em; font-size:90%;" cellspacing="2"
+
{{Infobox
|-
+
|name=Infobox/doc
|colspan="2" style="text-align:center; font-size:larger;" class="fn org" | '''{{{name}}}'''
+
 
|-
+
|title=Test Infobox
{{#if:{{{image<includeonly>|</includeonly>}}}|
+
 
{{!}} colspan="2" style="padding: 1em 0; text-align: center; background-color:transparent;"  {{!}} [[Image:{{{image}}}|center|{{{size<includeonly>|</includeonly>}}}]]
+
|image=[[Image:example.png|200px]]
}}
+
|caption=Caption for example.png
|-
+
 
{{#if: {{{motto<includeonly>|</includeonly>}}} |
+
|header1=Header defined alone
{{!}} '''[[Motto|Motto{{#if: {{{motto_pl|}}} |es}}]]''' {{!}}{{!}} {{{motto}}}
+
|label1=
}}
+
|data1=
|-
+
 
{{#if:{{{established<includeonly>|</includeonly>}}} |
+
|header2=
{{!}} '''Established''' {{!}}{{!}} {{#if: {{{approx|}}} |c.}}{{{established}}}
+
|label2= Label defined alone
}}
+
|data2=
|-
+
 
{{#if:{{{closed<includeonly>|</includeonly>}}} |
+
|header3=
{{!}} '''Closed''' {{!}}{{!}} {{#if: {{{c_approx|}}} |c.}}{{{closed}}}
+
|label3=
}}
+
|data3= Data defined alone
|-
+
 
{{#if:{{{type<includeonly>|</includeonly>}}} |
+
|header4= All three defined (header)
{{!}} '''[[Taxonomy of schools|Type]]''' {{!}}{{!}} {{{type}}}
+
|label4= All three defined (label)
}}
+
|data4= All three defined (data)
|-
+
 
{{#if:{{{religion<includeonly>|</includeonly>}}} |
+
|header5=
{{!}} '''Religious affiliation''' {{!}}{{!}} {{{religion}}}
+
|label5= Label and data defined (label)
}}
+
|data5= Label and data defined (data)
|-
+
 
{{#if:{{{president<includeonly>|</includeonly>}}} |
+
|below= Below text
{{!}} '''President'''{{!}}{{!}} {{{president}}}
 
}}
 
|-
 
{{#if:{{{rector<includeonly>|</includeonly>}}} |
 
{{!}} '''Rector'''{{!}}{{!}} {{{rector}}}
 
}}
 
|-
 
{{#if:{{{headteacher<includeonly>|</includeonly>}}} |
 
{{!}} '''Head Teacher'''{{!}}{{!}} {{{headteacher}}}
 
}}
 
|- class="note"
 
{{#if: {{{head<includeonly>|</includeonly>}}} |
 
{{!}}{{#if: {{{head_label|<noinclude>-</noinclude>}}}|'''{{{head_label}}}'''|'''Headteacher'''}}
 
{{!}} {{{head}}}
 
{{!}}-
 
}}
 
|-
 
{{#if: {{{chair_label<includeonly>|</includeonly>}}} |
 
{{!}} '''{{{chair_label}}}'''
 
{{!}} {{{chair}}}
 
{{!}}-
 
}}
 
|-
 
{{#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 14:40, 12 February 2008

Test Infobox
Example.png
Caption for example.png
Header defined alone
Data defined alone
All three defined (header)
Label and data defined (label)Label and data defined (data)
Below text