Template:Infobox School Info: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Phil Hermanns
(Created page with "<includeonly> {{Infobox | name = {{{...|}}} | logo = {{{...|}}} | street_address = {{{...|}}} | city = {{{...|}}} | state = {{...")
 
(Add infobox code)
 
(189 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
==Usage==
 
<pre>
{{Infobox
{{Infobox
| name            = {{{...|}}}
| title      = {{{name|}}}
| logo            = {{{...|}}}
| titlestyle = background:lavender;
| street_address  = {{{...|}}}
 
| city            = {{{...|}}}
| 1_data      = {{#if:{{{logo|}}}|[[Image:{{{logo}}}|{{{logo_size|300x100px}}}]]}}
| state            = {{{...|}}}
| 1_datastyle  = text-align:center; padding:0.5em;
| zipcode          = {{{...|}}}
 
| country          = {{{...|}}}
| 2_label      = Address
| coordinates      = {{{...|}}}
| 2_data        = ---
| established      = {{{...|}}}
| 2_labelstyle  = background:lavender;
| type            = {{{...|}}}
 
| principal       = {{{...|}}}
| 3_data        = <center>{{{streetaddress|}}}</center>
| enrollment       = {{{...|}}}
| 4_data        = <center>{{{city/town|}}} {{{state|}}} {{{province|}}} {{{postcode|}}} {{{zipcode|}}}</center>
| enrollment_as_of = {{{...|}}}
| 5_data        = <center>{{{country|}}}</center>
| mascot          = {{{...|}}}
| 6_data        = <center>{{{coordinates|}}}</center>
| colors          = {{{...|}}}
 
| conference       = {{{...|}}}
| 7_label      = Information
| rival            = {{{...|}}}
| 7_data        = ---
| website          = {{{...|}}}
| 7_labelstyle  = background:lavender
| type            = {{{...|}}}
 
| 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|}}}
}}
}}
</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|}}}
}}