Difference between revisions of "Template:Infobox School2"
Jump to navigation
Jump to search
imported>Larryv (made "state" optional) |
imported>Larryv (changed "Enrollment" field to "Students") |
||
| Line 17: | Line 17: | ||
! style="text-align: right;" | Location | ! style="text-align: right;" | Location | ||
| {{{city}}},{{#if:{{{state|}}}| {{{state}}},}} {{{country}}} | | {{{city}}},{{#if:{{{state|}}}| {{{state}}},}} {{{country}}} | ||
| − | {{#if:{{{students|}}}|<tr style="vertical-align: top; padding: 1em;"><th style="text-align: right;"> | + | {{#if:{{{students|}}}|<tr style="vertical-align: top; padding: 1em;"><th style="text-align: right;">Students</th><td>{{{students}}}</tr>}}{{#if:{{{faculty|}}}|<tr style="vertical-align: top; padding: 1em;"><th align="right">Faculty</th><td>{{{faculty}}}</td></tr>|{{#if:{{{teaching_staff|}}}|<tr style="vertical-align: top; padding: 1em;"><th align="right">Teaching staff</th><td>{{{teaching_staff}}}</td></tr>}}}}{{#if:{{{athletics|}}}|<tr style="vertical-align: top; padding: 1em;"><th style="text-align: right;">Athletics</th><td>{{{athletics}}}</td></tr>}}{{#if:{{{school_colors|}}}|<tr style="vertical-align: top; padding: 1em;"><th align="right">Colors</th><td>{{{school_colors}}}</td></tr>|{{#if:{{{school_colours|}}}|<tr style="vertical-align: top; padding: 1em;"><th align="right">Colours</th><td>{{{school_colours}}}</td></tr>}}}}{{#if:{{{mascot|}}}|<tr style="vertical-align: top; padding: 1em;"><th style="text-align: right;">Mascot</th><td>{{{mascot}}}</td></tr>}}{{#if:{{{free|}}}|<tr style="vertical-align: top; padding: 1em;"><th style="text-align: right;">{{{free_label}}}</th><td>{{{free}}}</td></tr>}}{{#if:{{{website|}}}|<tr style="vertical-align: top; padding: 1em;"><th style="text-align: right;">Website</th><td>{{{website}}}</td></tr>}} |
|}<noinclude> | |}<noinclude> | ||
== Usage == | == Usage == | ||
Revision as of 14:32, 10 July 2006
| {{{name}}} | |
| Established | {{{established}}} |
|---|---|
| School type | {{{type}}} |
| {{{head_name}}} | {{{head}}} |
| Location | {{{city}}}, {{{country}}} |
Usage
{{Infobox School2
| name =
| image = (optional)
| motto = (optional)
| established =
| type =
| locale = (optional)
| grades = (optional)
| head_name =
| head =
| head_name2 = (optional)
| head2 = (optional)
| city =
| state = (optional)
| country =
| students = (optional)
| faculty = (optional, for American usage)
| teaching_staff = (optional, for non-American usage where "faculty" is inappropriate to describe educators)
| athletics = (optional)
| school_colors = (optional, for American spelling)
| school_colours = (optional, for British spelling)
| mascot = (optional)
| free_label = (optional)
| free = (optional)
| website = (optional)
}}
Any field not labeled (optional) must be filled in. Optional fields left blank will not appear in the final infobox.