Template:Infobox School Info: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Phil Hermanns
No edit summary
(Add infobox code)
 
(71 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Usage==
<pre>
{{Infobox
{{Infobox
| title      = {{{name|School Name}}}
| title      = {{{name|}}}
| titlestyle = background:lavender;
| titlestyle = background:lavender;


Line 10: Line 13:
| 2_labelstyle  = background:lavender;
| 2_labelstyle  = background:lavender;


| 3_label      = street address
| 3_data        = <center>{{{streetaddress|}}}</center>
| 3_data        = {{#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}} }}
| 4_data        = <center>{{{city/town|}}} {{{state|}}} {{{province|}}} {{{postcode|}}} {{{zipcode|}}}</center>
| 3_datastyle  = style="text-align:center"
| 5_data        = <center>{{{country|}}}</center>
 
| 6_data        = <center>{{{coordinates|}}}</center>
| 4_data  = {{{country|United States}}}
| 4_datastyle  = style=text-align:center;


| 5_data  = {{{coordinates|}}}
| 7_label      = Information
| 7_data        = ---
| 7_labelstyle  = background:lavender


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


| 7_label       = = '''Type'''
| 9_label       = Established
| 7_label      = style="text-align:center"
| 9_labelstyle  = text-align:left;
| 9_data        = {{{established|}}}


| 8_data       = 8 Some data only that expands across both columns
| 10_label      = Principal
| 10_labelstyle  = text-align:left;
| 10_data       = {{{principle|}}}


| 9_label       = 9 A Header
| 11_label       = Enrollment
| 9_labelstyle = background:lightgrey;
| 11_labelstyle = text-align:left;
| 9_data       = ---
| 11_data       = {{{enrollment|}}}  {{{enrollment_as_of|}}}


| 10_label       = 10 A Label
| 12_label       = Mascot
| 10_labelstyle = background:lightblue; font-style:italic;
| 12_labelstyle = text-align:left;
| 10_data       = 10 Some Data
| 12_data       = {{{mascot|}}}


| 11_label       = 11 Another Label
| 13_label       = Color(s)
| 11_data        = 11 Some more Data
| 13_labelstyle  = text-align:left;
| 11_datastyle  = background:lightgreen; font-style:italic;
| 13_data        = {{{colors|}}}


| 10_label      = 10 Another Label
| 14_label      = Athletics conference
| 10_labelstyle = background:lightblue;
| 14_labelstyle  = text-align:left;
| 10_data      = 10 Some more Data
| 14_data        = {{{athletics governing body|}}} {{{conference|}}} {{{district|}}}
| 10_datastyle  = background:lightgreen;


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


| 12_data       = 12 Some data only that expands across both columns
| 16_label       = Website
| 12_datastyle = background:lightgreen; font-style:italic; border:1px solid red;
| 16_labelstyle = text-align:left;
| 16_data        = {{{website|}}}
}}
}}
</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|}}}
}}