Template:Infobox School Info: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Phil Hermanns
No edit summary
(Add infobox code)
 
(174 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
==Usage==
{{Infobox School Info
| bodyclass = vcard
| bodystyle = {{#if: {{{box_width|}}} | width:{{{box_width}}}; }} {{{box_style|}}}
| headerstyle = background:lavender


| aboveclass = fn org
<pre>
| abovestyle = background-color: lavender
{{Infobox
| above = {{br separated entries
| title      = {{{name|}}}
|1 = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
| titlestyle = background:lavender;
|2 = {{#if: {{{native_name|}}} | <span class="nickname">{{{native_name}}}</span> }}
|3 = {{#if: {{{latin_name|}}} | <span class="nickname">{{{latin_name}}}</span> }}
}}
| image1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|}}}|upright=1|alt={{{logo_alt|}}}}}
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{seal_image|}}}|size={{{seal_size|}}}|upright=1|alt={{{seal_alt|}}}}}
| image3 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}{{{image_name|}}}{{{imagewikilink|}}}|size={{ifempty|{{{image_size|}}}|{{{image size|}}}|{{{imagesize|}}}|{{{size|}}}|frameless}}|upright=1|alt={{{alt|}}}}}
| caption{{#if:{{{image|}}}{{{image_name|}}}{{{imagewikilink|}}}|3|{{#if:{{{seal_image|}}}|2|{{#if:{{{logo|}}}{{{Logo|}}}|1|5}}}}}} = {{#if:{{{image|}}}{{{image_name|}}}{{{seal_image|}}}{{{logo|}}}{{{Logo|}}}{{{imagewikilink|}}}|{{{caption|}}} }}


| header1 = {{#if:{{{address|}}}{{{streetaddress|}}}{{{street|}}}{{{location|}}}{{{Location|}}}{{{region|}}}{{{Region|}}}{{{city|}}}{{{town|}}}{{{city/town|}}}{{{state|}}} {{{province|}}}{{{postcode|}}}{{{postalcode|}}}{{{zipcode|}}}{{{country|}}}{{{country1|}}}{{{coordinates|}}}| {{#if:{{{address|}}}{{{streetaddress|}}}{{{street|}}}|Address|Location}} }}
| 1_data      = {{#if:{{{logo|}}}|[[Image:{{{logo}}}|{{{logo_size|300x100px}}}]]}}
| 1_datastyle  = text-align:center; padding:0.5em;


| data2 = {{#if:{{{pushpin_map|}}}|
| 2_label      = Address
{{Location map|{{{pushpin_map|}}}
| 2_data        = ---
|label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{#if:{{{pushpin_label|}}}|{{{pushpin_label}}}|{{#if:{{{name|}}}|{{{name}}}|{{{native_name|}}}}}}} }}
| 2_labelstyle = background:lavender;
|alt = {{{pushpin_map_alt|}}}
|coordinates = {{{coordinates|}}}
|marksize =6
|float = center
|caption =
|border = none
|position = {{{pushpin_label_position|}}}
|width = {{#if:{{{pushpin_mapsize|}}}|{{{pushpin_mapsize|}}} | 250 }}
|AlternativeMap = {{{pushpin_image|}}}
}}{{#if:{{{pushpin_map_caption|}}}|<small>{{{pushpin_map_caption}}}</small>}}
}}
| rowclass3 = adr
| data3 = {{br separated entries
|1 = {{#if:{{{address|}}}{{{streetaddress|}}}{{{street|}}}|<span class="street-address">{{ifempty|{{{address|}}}|{{{streetaddress|}}}|{{{street|}}}}}</span>}}
|2 = {{#if:{{{location|}}}{{{Location|}}}|<span class="street-address">{{if empty|{{{location|}}}|{{{Location|}}}}}</span>}}
|3 = {{#if:{{{region|}}}{{{Region|}}}|<span class="locality">{{if empty|{{{region|}}}{{{Region|}}}}}</span>}}
|4 = {{comma separated entries
  | 1 = {{#if:{{{city|}}}{{{town|}}}{{{city/town|}}}|<span class="locality">{{if empty|{{{city|}}}|{{{town|}}}|{{{city/town|}}}}}</span>}}
  | 2 = {{#if:{{{state|}}}|<span class="region">{{{state}}}</span>}}
  | 3 = {{#if:{{{province|}}}|<span class="region">{{{province}}}</span>}}
  | 4 = {{#if:{{{county|}}}|<span class="region">{{{county}}}</span>}}
  | 5 = {{#if:{{{postcode|}}}{{{postalcode|}}}|<span class="region">{{if empty|{{{postcode|}}}|{{{postalcode|}}}}}</span>}}
  }} {{#if:{{{zipcode|}}}|<span class="postal-code">{{{zipcode}}}</span>}}
|5 = {{#if:{{{country|}}}|<span class="country-name">{{#ifexist:{{Getalias|{{{country}}}}}|{{Getalias|{{{country}}}}}|{{{country}}}}}</span>}} {{#if:{{{country1|}}}|<span class="country-name1">{{#ifexist:{{Getalias|{{{country1}}}}}|{{Getalias|{{{country1}}}}}|{{{country1}}}}}</span>}}
  }}
 
| label4 = [[Geographic coordinate system|Coordinates]]
| data4 = {{#if: {{{coordinates|}}} | {{#invoke:Coordinates|coordinsert|{{{coordinates|}}}|type:edu}}{{{coordinates_footnotes|}}}}}
 
| header5 = {{#if: {{{schooltype|}}}{{{fundingtype|}}}{{{type|}}}{{{religious_affiliation|}}}{{{religion|}}}{{{denomination|}}}{{{patron|}}}{{{established|}}}{{{approx|}}}{{{founded|}}}{{{opened|}}}{{{Opened|}}}{{{founders|}}}{{{founder|}}}{{{status|}}}{{{closed|}}}{{{c_approx|}}}{{{locale|}}}{{{sister_school|}}}{{{school_board|}}}{{{schoolboard|}}}{{{district|}}}{{{us_nces_district_id|}}}{{{LEA|}}}{{{authority|}}}{{{educational_authority|}}}{{{educational authority|}}}{{{category|}}}{{{oversight|}}}{{{authorizer|}}}{{{superintendent|}}}{{{trustee|}}}{{{specialists|}}}{{{specialist|}}}{{{session|}}}{{{number|}}}{{{Number|}}}{{{school_number|}}}{{{schoolnumber|}}}{{{school_code|}}}{{{school code|}}}{{{MOE|}}}{{{ofsted|}}}{{{ceeb|}}}{{{us_nces_school_id|}}}{{{president|}}}{{{chair|}}}{{{chairman|}}}{{{chairperson|}}}{{{dean|}}}{{{administrator|}}}{{{rector|}}}{{{director|}}}{{{principal|}}}{{{Principal|}}}{{{principal1|}}}{{{principal2|}}}{{{principal3|}}}{{{principal4|}}}{{{campus|}}}{{{campus_director|}}}{{{campus director|}}}{{{headmistress|}}}{{{head|}}}{{{headmaster|}}}{{{head_of_school|}}}{{{head of school|}}}{{{headteacher|}}}{{{head_teacher|}}}{{{head teacher|}}}{{{executive_headteacher|}}}{{{acting_headteacher|}}}{{#if:{{{head_name2|}}}| {{{head2|}}} }}{{#if:{{{rel_head_name|}}}| {{{rel_head|}}} }}{{#if:{{{r_head_label|}}}| {{{r_head|}}} }}{{{officer_in_charge|}}}{{{chaplain|}}}{{{staff|}}}{{{number_of_staff|}}}{{{number of staff|}}}{{{faculty|}}}{{{teaching_staff|}}}{{{employees|}}}{{{num_employ|}}}{{{key_people|}}}{{{grades|}}}{{{years|}}}{{{Years|}}}{{{years_taught|}}}{{{years taught|}}}{{{nursery_years_taught|}}}{{{nursery years taught|}}}{{{primary_years_taught|}}}{{{primary years taught|}}}{{{secondary_years_taught|}}}{{{secondary years taught|}}}{{{gender|}}}{{{age_range|}}}{{{age range|}}}{{{lower_age|}}}{{{upper_age|}}}{{{enrollment|}}}{{{enrolment|}}}{{{students|}}}{{{Students|}}}{{{sixth_form_students|}}}{{{pupils|}}}{{{number_of_pupils|}}}{{{number of pupils|}}}{{{grade_preK|}}}{{{gradeK|}}}{{{grade1|}}}{{{grade2|}}}{{{grade3|}}}{{{grade4|}}}{{{grade5|}}}{{{grade6|}}}{{{grade7|}}}{{{grade8|}}}{{{grade9|}}}{{{grade10|}}}{{{grade11|}}}{{{grade12|}}}{{{grade13|}}}{{{other|}}}{{{other_grade_enrollment|}}}{{{other_grade_enrolment|}}}{{{other_grade_enrollment_1|}}}{{{other_grade_enrolment_1|}}}{{{other_grade_enrollment_2|}}}{{{other_grade_enrolment_2|}}}{{{international_students|}}}{{{International_Students|}}}{{{classes|}}}{{{class|}}}{{{average_class_size|}}}{{{avg_class_size|}}}{{{ratio|}}}{{{system|}}}{{{System|}}}{{{classes_offered|}}}{{{classes offered|}}}{{{Classes offered|}}}{{{medium|}}}{{{medium_of_language|}}}{{{medium of language|}}}{{{mediums|}}}{{{language|}}}{{{schedule_type|}}}{{{schedule|}}}{{{schedtyp|}}}{{{hours_in_day|}}}{{{Hours_in_Day|}}}{{{classrooms|}}}{{{campuses|}}}{{{Campuses|}}}{{{campus_size|}}}{{{campus size|}}}{{{area|}}}{{{campus_type|}}}{{{campus type|}}}{{{houses|}}}{{{student_union|}}}{{{colours|}}}{{{colors|}}}{{{schoolcolours|}}}{{{school_colours|}}}{{{school_colors|}}}{{{schoolcolors|}}}{{{slogan|}}}{{{song|}}}{{{fight_song|}}}{{{fightsong|}}}{{{athletics|}}}{{{athletics_conference|}}}{{{athletics conference|}}}{{{athletic_conference|}}}{{{athletic conference|}}}{{{conference|}}}{{{sports|}}}{{{mascot|}}}{{{nickname|}}}{{{teams|}}}{{{team_name|}}}{{{team name|}}}{{{teamname|}}}{{{rivals|}}}{{{rival|}}}{{{accreditations|}}}{{{accreditation|}}}{{{year|}}}{{{USNWR_ranking|}}}{{{ranking|}}}{{{national_ranking|}}}{{{National_ranking|}}}{{{test_average|}}}{{{testaverage|}}}{{{SAT|}}}{{{ACT|}}}{{{bar_pass_rate|}}}{{{bar pass rate|}}}{{{school_roll|}}}{{{roll|}}}{{{decile|}}}{{{publication|}}}{{{newspaper|}}}{{{yearbook|}}}{{{products|}}}{{{endowment|}}}{{{budget|}}}{{{fees|}}}{{{annual_tuition|}}}{{{annual tuition|}}}{{{tuition|}}}{{{revenue|}}}{{{communities|}}}{{{feeders|}}}{{{feeder_schools|}}}{{{main feeder schools|}}}{{{feeder_to|}}}{{{main feeder school for|}}}{{{graduates|}}}{{{Graduates|}}}{{{affiliations|}}}{{{affiliation|}}}{{{alumni|}}}{{{alumni_name|}}}{{{nobel_laureates|}}}{{{information|}}}{{{free|}}}{{{free_text|}}}{{#if:{{{free_label1|{{{free_label_1|}}}}}} | {{{free_1|{{{free_text1|}}}}}} }}{{#if:{{{free_label2|{{{free_label_2|}}}}}} | {{{free_2|{{{free_text2|}}}}}} }}{{#if:{{{free_label3|{{{free_label_3|}}}}}} | {{{free_3|{{{free_text3|}}}}}} }}{{#if:{{{free_label4|{{{free_label_4|}}}}}} | {{{free_4|{{{free_text4|}}}}}} }}{{#if:{{{free_label5|{{{free_label_5|}}}}}} | {{{free_5|{{{free_text5|}}}}}} }}{{{homepage|}}}{{{url|}}}{{{website|}}}|Information}}
 
| label6 = {{#if:{{{schooltype|}}}|School type|{{#if:{{{fundingtype|}}}|Funding type|Type}} }}
| data6 =
{{#if:{{{schooltype|}}}
  |{{#if:{{{fundingtype|}}}
    |{{#ifexist:{{{fundingtype}}} school
        |[[{{{fundingtype}}} school|{{{fundingtype}}}]]
        |{{{fundingtype}}},
      }}
    |{{{type|}}}
  }} {{{schooltype}}}
  |{{#if: {{{fundingtype|}}} | {{{fundingtype}}} | {{{type|}}} }}
}}
 
| address_label    = {{{image|}}}
| address_style    = background:#lavender
 
| streetaddress = {{#if:{{{address|}}}{{{streetaddress|}}}{{{street|}}}{{{location|}}}{{{Location|}}}{{{region|}}}{{{Region|}}}{{{city|}}}{{{town|}}}{{{city/town|}}}{{{state|}}} {{{province|}}}{{{postcode|}}}{{{postalcode|}}}{{{zipcode|}}}{{{country|}}}{{{country1|}}}{{{coordinates|}}}| {{#if:{{{address|}}}{{{streetaddress|}}}{{{street|}}}|Address|Location}} }}
 
| country      = {{{...|}}}
 
| coordinates  = {{{...|}}}
 
| information_label = '''Information'''
| information_style = background:#EAE6FF


| type_label        = '''Type'''
| 3_data        = <center>{{{streetaddress|}}}</center>
| type_data          = {{{...|}}}
| 4_data        = <center>{{{city/town|}}} {{{state|}}} {{{province|}}} {{{postcode|}}} {{{zipcode|}}}</center>
| 5_data        = <center>{{{country|}}}</center>
| 6_data        = <center>{{{coordinates|}}}</center>


| established_label  = '''Established'''
| 7_label      = Information
| established_data  = {{{...|}}}
| 7_data        = ---
| 7_labelstyle  = background:lavender


| principal_label    = '''Principal'''
| 8_label      = Type
| principal_data    = {{{...|}}}
| 8_labelstyle  = text-align:left;
| 8_data        = {{{type|}}}


| enrollment_label  = '''Enrollment'''
| 9_label      = Established
| enrollment_data    = {{{...|}}}
| 9_labelstyle  = text-align:left;
| enrollment_as_of  = {{{...|}}}
| 9_data        = {{{established|}}}


| mascot_label       = '''Mascot'''
| 10_label       = Principal
| mascot_data       = {{{...|}}}
| 10_labelstyle  = text-align:left;
| 10_data       = {{{principle|}}}


| colors_label       = '''Color(s)
| 11_label       = Enrollment
| 11_labelstyle  = text-align:left;
| 11_data        = {{{enrollment|}}}  {{{enrollment_as_of|}}}


| 12_label      = Mascot
| 12_labelstyle  = text-align:left;
| 12_data        = {{{mascot|}}}


| 13_label      = Color(s)
| 13_labelstyle  = text-align:left;
| 13_data        = {{{colors|}}}


| conference_label_1 = '''Athletics'''
| 14_label      = Athletics conference
| conference_label_2 = '''conference'''
| 14_labelstyle  = text-align:left;
| conference_data    = {{{...|}}}  
| 14_data        = {{{athletics governing body|}}} {{{conference|}}} {{{district|}}}


| rival_label        = '''Rival'''
| 15_label      = Rival
| rival_data        = {{{...|}}}
| 15_labelstyle  = text-align:left;
| 15_data        = {{{rival|}}}


| website_label      = '''Website'''
| 16_label      = Website
| website_data      = {{{...|}}}
| 16_labelstyle  = text-align:left;
| 16_data        = {{{website|}}}
}}
}}
</includeonly>
</pre>

Latest revision as of 23:42, 8 September 2024

Usage

{{Infobox
| title      = {{{name|}}}
| titlestyle = background:lavender;

| 1_data       = {{#if:{{{logo|}}}|[[Image:{{{logo}}}|{{{logo_size|300x100px}}}]]}}
| 1_datastyle  = text-align:center; padding:0.5em;

| 2_label       = Address
| 2_data        = ---
| 2_labelstyle  = background:lavender;

| 3_data        = <center>{{{streetaddress|}}}</center>
| 4_data        = <center>{{{city/town|}}} {{{state|}}} {{{province|}}} {{{postcode|}}} {{{zipcode|}}}</center>
| 5_data        = <center>{{{country|}}}</center>
| 6_data        = <center>{{{coordinates|}}}</center>

| 7_label       = Information
| 7_data        = ---
| 7_labelstyle  = background:lavender

| 8_label       = Type
| 8_labelstyle  = text-align:left;
| 8_data        = {{{type|}}}

| 9_label       = Established
| 9_labelstyle  = text-align:left;
| 9_data        = {{{established|}}}

| 10_label       = Principal
| 10_labelstyle  = text-align:left;
| 10_data        = {{{principle|}}}

| 11_label       = Enrollment
| 11_labelstyle  = text-align:left;
| 11_data        = {{{enrollment|}}}  {{{enrollment_as_of|}}}

| 12_label       = Mascot
| 12_labelstyle  = text-align:left;
| 12_data        = {{{mascot|}}}

| 13_label       = Color(s)
| 13_labelstyle  = text-align:left;
| 13_data        = {{{colors|}}}

| 14_label       = Athletics conference
| 14_labelstyle  = text-align:left;
| 14_data        = {{{athletics governing body|}}} {{{conference|}}} {{{district|}}}

| 15_label       = Rival
| 15_labelstyle  = text-align:left;
| 15_data        = {{{rival|}}}

| 16_label       = Website
| 16_labelstyle  = text-align:left;
| 16_data        = {{{website|}}}
}}