Template:Navbox school: Difference between revisions

From Parents
Jump to navigation Jump to search
(Add resources)
(Correct copy/paste error (resources → grades))
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><table style="width: 100%; background: hsl(0, 0%, 98%);">
<includeonly><table style="width: 100%; font-size: 90%; background: hsl(0, 0%, 98%);">
<tr>
<tr>
<th colspan="2" style="background: hsl(0, 0%, 95%);">[[{{{school_page}}}|{{{school_name_full}}}]]</th>
<th colspan="2" style="font-size: 111%; background: hsl(0, 0%, 92%);">[[{{{school_page}}}|{{{school_name_full}}}]]</th>
</tr>{{#if:{{{resources|}}}|
</tr>{{#if:{{{grades|}}}|
<tr>
<tr>
<th style="background: hsl(0, 0%, 95%);">Grades</th>
<th>Resources</th>
<td>
<td>{{{resources}}}</td>
{{{grades}}}</td>
</tr>|}}
{{#if:{{{resources|}}}|
<tr>
<th style="background: hsl(0, 0%, 95%);">Resources</th>
<td>
{{{resources}}}</td>
</tr>|}}
</tr>|}}
</table></includeonly><noinclude>
</table></includeonly><noinclude>
Line 12: Line 19:
|school_name_full = {{{school_name_full}}}
|school_name_full = {{{school_name_full}}}
|school_name_abbreviated = {{{school_name_abbreviated}}}
|school_name_abbreviated = {{{school_name_abbreviated}}}
|grades = {{{grades}}}
|resources = {{{resources}}}
|resources = {{{resources}}}
}}
}}
Line 18: Line 26:
|school_name_full = e.g. Sagamore Hills Elementary School
|school_name_full = e.g. Sagamore Hills Elementary School
|school_name_abbreviated = e.g. Sagamore Hills ES, Sagamore Hills, Sagamore, etc.
|school_name_abbreviated = e.g. Sagamore Hills ES, Sagamore Hills, Sagamore, etc.
|resources = "*" list of library, lab, garden, etc.
|grades = "" separated list of pre-k, kindergarten, first, second, etc.
|resources = "•" separated list of library, lab, garden, etc.
}}</pre>
}}</pre>
</noinclude>
</noinclude>

Latest revision as of 18:30, 9 August 2013

[[{{{school_page}}}|{{{school_name_full}}}]]
Grades {{{grades}}}
Resources {{{resources}}}
{{Navbox school
|school_page = School page
|school_name_full = e.g. Sagamore Hills Elementary School
|school_name_abbreviated = e.g. Sagamore Hills ES, Sagamore Hills, Sagamore, etc.
|grades = "•" separated list of pre-k, kindergarten, first, second, etc.
|resources = "•" separated list of library, lab, garden, etc.
}}