Template:Infobox School Info: Difference between revisions

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


| 1_data      = {{#if:{{{logo|}}}|[[Image:{{{logo}}}|{{{logo_size|300x100px}}}]]}}
| 1_data      = {{#if:{{{logo|}}}|[[Image:{{{logo}}}|{{{logo_size|300x100px}}}]]}}
Line 11: Line 11:
| 2_label      = Address
| 2_label      = Address
| 2_data        = ---
| 2_data        = ---
| 2_labelstyle  = background:lavender
| 2_labelstyle  = background:lavender;


| 2_label      = street address
| 3_data        = <center>{{{streetaddress|}}}</center>
| 2_data       = ---
| 4_data        = <center>{{{city/town|}}} {{{state|}}} {{{province|}}} {{{postcode|}}} {{{zipcode|}}}</center>
| 1_labelstyle  = font:
| 5_data       = <center>{{{country|}}}</center>
| 6_data        = <center>{{{coordinates|}}}</center>


| 3_label       = 3 Another Label
| 7_label       = Information
| 3_data       = 3 Some more Data
| 7_data       = ---
| 7_labelstyle  = background:lavender


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


| 5_label       = 5 A Label only (doesn't work...)
| 9_label       = Established
| 9_labelstyle  = text-align:left;
| 9_data        = {{{established|}}}


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


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


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


| 9_label       = 9 Another Label
| 13_label       = Color(s)
| 9_data        = 9 Some more Data
| 13_labelstyle  = text-align:left;
| 9_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|}}}
}}