Template:Infobox School Info: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Phil Hermanns
No edit summary
(Add infobox code)
 
(175 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
==Usage==
{{Infobox School Info
| bodyclass = vcard


| headerstyle = background:lavender
<pre>
{{Infobox
| title      = {{{name|}}}
| titlestyle = background:lavender;


| name = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
| 1_data      = {{#if:{{{logo|}}}|[[Image:{{{logo}}}|{{{logo_size|300x100px}}}]]}}
| namestyle = background-color: lavender
| 1_datastyle  = text-align:center; padding:0.5em;


| image1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|}}}|upright=1|alt={{{logo_alt|}}}}}
| 2_label      = Address
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{seal_image|}}}|size={{{seal_size|}}}|upright=1|alt={{{seal_alt|}}}}}
| 2_data        = ---
| image3 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}{{{image_name|}}}{{{imagewikilink|}}}|size={{ifempty|{{{image_size|}}}|{{{image size|}}}|{{{imagesize|}}}|{{{size|}}}|frameless}}|upright=1|alt={{{alt|}}}}}
| 2_labelstyle  = background:lavender;
| 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}} }}
| 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


| address_label    = {{{image|}}}
| 8_label      = Type
| address_style    = background:#lavender
| 8_labelstyle  = text-align:left;
| 8_data        = {{{type|}}}


| 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}} }}
| 9_label      = Established
| 9_labelstyle  = text-align:left;
| 9_data        = {{{established|}}}


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


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


| information_label = '''Information'''
| 12_label      = Mascot
| information_style = background:#EAE6FF
| 12_labelstyle  = text-align:left;
| 12_data        = {{{mascot|}}}


| type_label        = '''Type'''
| 13_label      = Color(s)
| type_data          = {{{...|}}}
| 13_labelstyle  = text-align:left;
| 13_data        = {{{colors|}}}


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


| principal_label    = '''Principal'''
| 15_label      = Rival
| principal_data    = {{{...|}}}
| 15_labelstyle  = text-align:left;
| 15_data        = {{{rival|}}}


| enrollment_label  = '''Enrollment'''
| 16_label       = Website
| enrollment_data    = {{{...|}}}
| 16_labelstyle  = text-align:left;
| enrollment_as_of  = {{{...|}}}
| 16_data       = {{{website|}}}
 
| mascot_label       = '''Mascot'''
| mascot_data        = {{{...|}}}
 
| colors_label      = '''Color(s)
 
 
 
| conference_label_1 = '''Athletics'''
| conference_label_2 = '''conference'''
| conference_data    = {{{...|}}}
 
| rival_label       = '''Rival'''
| rival_data        = {{{...|}}}
 
| website_label      = '''Website'''
| website_data      = {{{...|}}}
}}
}}
</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|}}}
}}