Template:Infobox School Info: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Phil Hermanns
No edit summary
(Add infobox code)
 
(182 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 = {{br separated entries
<pre>
|1 = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
{{Infobox
|2 = {{#if: {{{native_name|}}} | <span class="nickname">{{{native_name}}}</span> }}
| title      = {{{name|}}}
|3 = {{#if: {{{latin_name|}}} | <span class="nickname">{{{latin_name}}}</span> }}
| titlestyle = background:lavender;
}}
| name_style      = background:#EAE6FF


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


| address_label    = '''Address'''
| 2_label      = Address
| address_style    = background:#EAE6FF
| 2_data        = ---
| 2_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}} }}
| 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>


| country       = {{{...|}}}
| 7_label       = Information
| 7_data        = ---
| 7_labelstyle  = background:lavender


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


| information_label = '''Information'''
| 9_label      = Established
| information_style = background:#EAE6FF
| 9_labelstyle  = text-align:left;
| 9_data        = {{{established|}}}


| type_label        = '''Type'''
| 10_label      = Principal
| type_data          = {{{...|}}}
| 10_labelstyle  = text-align:left;
| 10_data        = {{{principle|}}}


| established_label = '''Established'''
| 11_label      = Enrollment
| established_data  = {{{...|}}}
| 11_labelstyle = text-align:left;
| 11_data        = {{{enrollment|}}}  {{{enrollment_as_of|}}}


| principal_label    = '''Principal'''
| 12_label      = Mascot
| principal_data    = {{{...|}}}
| 12_labelstyle  = text-align:left;
| 12_data        = {{{mascot|}}}


| enrollment_label  = '''Enrollment'''
| 13_label      = Color(s)
| enrollment_data    = {{{...|}}}
| 13_labelstyle  = text-align:left;
| enrollment_as_of  = {{{...|}}}
| 13_data        = {{{colors|}}}


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


| colors_label       = '''Color(s)
| 15_label       = Rival
| 15_labelstyle  = text-align:left;
| 15_data        = {{{rival|}}}


 
| 16_label      = Website
 
| 16_labelstyle  = text-align:left;
| conference_label_1 = '''Athletics'''
| 16_data       = {{{website|}}}
| 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|}}}
}}