Difference between revisions of "Template:Infobox School2"
Jump to navigation
Jump to search
imported>MJHankel m (Redirecting to Template:Infobox boarding school) |
imported>Paul 012 (Reverted; wasn't properly moved, and what was the poit of moving anyway?) |
||
| Line 1: | Line 1: | ||
| − | # | + | {| class="infobox" style="float: right; margin-left: 1em; width: 20em; font-size: 90%; clear: right;" cellspacing="3" |
| + | |- | ||
| + | | colspan="2" style="text-align: center; font-size: larger; font-weight: bold;" | {{{name}}} | ||
| + | {{#if:{{{image|}}}|<tr><td colspan=2 style="text-align: center; padding: 1em 0em;">{{{image}}}</td></tr>}}{{#if:{{{motto|}}}|<tr><td colspan="2" style="text-align: center;">'''{{{motto}}}'''</td></tr>}} | ||
| + | |- style="vertical-align: top; padding: em;" | ||
| + | ! style="text-align: right;" | Established | ||
| + | | {{{established}}} | ||
| + | |- style="vertical-align: top; padding: 1em;" | ||
| + | ! style="text-align: right;" | School type | ||
| + | | {{{type}}} | ||
| + | {{#if:{{{locale|}}}|<tr style="vertical-align: top; padding: 1em;"><th style="text-align: right;">Locale</th><td>{{{locale}}}</td></tr>}}{{#if:{{{grades|}}}|<tr style="vertical-align: top; padding: 1em;"><th style="text-align: right;">Grades</th><td>{{{grades}}}</td></tr>}} | ||
| + | |- style="vertical-align: top; padding: 1em;" | ||
| + | ! style="text-align: right;" | {{{head_name}}} | ||
| + | | {{{head}}} | ||
| + | {{#if:{{{head2|}}}|<tr style="vertical-align: top; padding: 1em;"><th style="text-align: right;">{{{head_name2}}}</th><td>{{{head2}}}</td></tr>}} | ||
| + | |- style="vertical-align: top; padding: 1em;" | ||
| + | ! style="text-align: right;" | Location | ||
| + | | {{{city}}},{{#if:{{{state|}}}| {{{state}}},}} {{{country}}} | ||
| + | {{#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:{{{free2|}}}|<tr style="vertical-align: top; padding: 1em;"><th style="text-align: right;">{{{free_label2}}}</th><td>{{{free2}}}</td></tr>}}{{#if:{{{website|}}}|<tr style="vertical-align: top; padding: 1em;"><th style="text-align: right;">Website</th><td>{{{website}}}</td></tr>}} | ||
| + | |}<noinclude> | ||
| + | == Usage == | ||
| + | |||
| + | <pre> | ||
| + | {{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) | ||
| + | | free_label2 = (optional) | ||
| + | | free2 = (optional) | ||
| + | | website = (optional) | ||
| + | }} | ||
| + | </pre> | ||
| + | Any field not labeled (optional) must be filled in. Optional fields left blank will not appear in the final infobox. | ||
| + | [[Category:Education infobox templates|School2]] | ||
| + | [[Category:Templates using ParserFunctions|{{PAGENAME}}]] | ||
| + | </noinclude> | ||
Revision as of 15:07, 13 October 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)
| free_label2 = (optional)
| free2 = (optional)
| website = (optional)
}}
Any field not labeled (optional) must be filled in. Optional fields left blank will not appear in the final infobox.