Template:Infobox School Info: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Phil Hermanns
No edit summary
(Add infobox code)
 
(177 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


| name = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
<pre>
| namestyle = background-color: lavender
{{Infobox
| title      = {{{name|}}}
| titlestyle = background:lavender;


| image1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|}}}|upright=1|alt={{{logo_alt|}}}}}
| 1_data      = {{#if:{{{logo|}}}|[[Image:{{{logo}}}|{{{logo_size|300x100px}}}]]}}
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{seal_image|}}}|size={{{seal_size|}}}|upright=1|alt={{{seal_alt|}}}}}
| 1_datastyle  = text-align:center; padding:0.5em;
| 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}} }}
| 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>


| address_label    = {{{image|}}}
| 7_label      = Information
| address_style    = background:#lavender
| 7_data        = ---
| 7_labelstyle  = 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}} }}
| 8_label      = Type
| 8_labelstyle  = text-align:left;
| 8_data        = {{{type|}}}


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


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


| information_label = '''Information'''
| 11_label      = Enrollment
| information_style = background:#EAE6FF
| 11_labelstyle  = text-align:left;
| 11_data        = {{{enrollment|}}}  {{{enrollment_as_of|}}}


| type_label        = '''Type'''
| 12_label      = Mascot
| type_data          = {{{...|}}}
| 12_labelstyle  = text-align:left;
| 12_data        = {{{mascot|}}}


| established_label = '''Established'''
| 13_label      = Color(s)
| established_data  = {{{...|}}}
| 13_labelstyle = text-align:left;
| 13_data        = {{{colors|}}}


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


| enrollment_label  = '''Enrollment'''
| 15_label      = Rival
| enrollment_data    = {{{...|}}}
| 15_labelstyle  = text-align:left;
| enrollment_as_of  = {{{...|}}}
| 15_data        = {{{rival|}}}


| mascot_label       = '''Mascot'''
| 16_label       = Website
| mascot_data        = {{{...|}}}
| 16_labelstyle  = text-align:left;
 
| 16_data       = {{{website|}}}
| 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 22: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|}}}
}}