Template:Infobox School: Difference between revisions

From Bhamwiki
Jump to navigation Jump to search
(Making text a tad smaller.)
(Requested changes)
Line 1: Line 1:
{| class="infobox" style="font-size: 90%; width: 23em; text-align: left; border: thin solid #999; padding: .5em; float: right;"
{| class="infobox" style="font-size: 90%; width: 23em; text-align: left; border: thin solid #999; padding: .5em; float: right;"
|+ style="font-size: larger; padding-bottom: 8px" | '''{{{name}}}'''
|-
|-
<!-- -->{{!}} colspan="2" style="text-align:center; border-bottom: 1px solid DimGray;" {{!}} {{{image<noinclude>|[[Image:school logo or photo.jpg]]</noinclude>}}}
<!-- -->{{!}} colspan="2" style="text-align: center;" {{!}}{{{name}}}
|-
<!-- -->{{!}} colspan="2" style="text-align:center; border-bottom: 1px solid DimGray;" {{!}}{{{image<noinclude>|[[Image:school logo or photo.jpg]]</noinclude>}}}
|-
|-
<!-- -->! Established
<!-- -->! Established
<!-- -->{{!}} {{{established}}}
<!-- -->{{!}}{{{established}}}
|-
|-
<!-- -->! School type
<!-- -->! School type
<!-- -->{{!}} {{{type|Public}}}
<!-- -->{{!}}{{{type|Public}}}
|-
|-
<!-- -->! District
<!-- -->! District
<!-- -->{{!}} {{{district}}}
<!-- -->{{!}}{{{district}}}
|-
|-
<!-- -->! Grades
<!-- -->! Grades
<!-- -->{{!}} {{{grades}}}
<!-- -->{{!}}{{{grades}}}
|-
|-
<!-- -->! Principal
<!-- -->! Principal
<!-- -->{{!}} {{{principal}}}
<!-- -->{{!}}{{{principal}}}
|-
|-
<!-- -->! Enrollment ({{{enroll-year}}})
<!-- -->! Enrollment ({{{enroll-year}}})
<!-- -->{{!}} {{{enrollment}}}
<!-- -->{{!}}{{{enrollment}}}
|-
|-
<!-- -->! Colors
<!-- -->! Colors
<!-- -->{{!}} {{{colors}}}
<!-- -->{{!}}{{{colors}}}
|-
|-
<!-- -->! Mascot
<!-- -->! Mascot
<!-- -->{{!}} {{{mascot}}}
<!-- -->{{!}}{{{mascot}}}
|-
|-
<!-- -->! Location
<!-- -->! Location
<!-- -->{{!}} {{{location}}}
<!-- -->{{!}}{{{location}}}
|-
|-
<!-- -->! Website
<!-- -->! Website
<!-- -->{{!}} {{{website}}}
<!-- -->{{!}}{{{website}}}
|}<noinclude>
|}<noinclude>


Line 54: Line 55:
|mascot        =Uncle Sam
|mascot        =Uncle Sam
|location      =100 [[Pennsylvania Avenue]]<br>[[Washington]], D.C.
|location      =100 [[Pennsylvania Avenue]]<br>[[Washington]], D.C.
|website        =[http://www.example.com www.example.com]
|website        =[http://www.example.com example.com]
}}
}}
</pre>
</pre>

Revision as of 13:08, 26 October 2006

{{{name}}}
File:School logo or photo.jpg
Established {{{established}}}
School type Public
District {{{district}}}
Grades {{{grades}}}
Principal {{{principal}}}
Enrollment ({{{enroll-year}}}) {{{enrollment}}}
Colors {{{colors}}}
Mascot {{{mascot}}}
Location {{{location}}}
Website {{{website}}}

Usage

All fields are required except type, which will default to "Public" if left out. The downside of this particular template is that it requires an image.

Example below.

{{Infobox_School
|name           =George Washington Elementary
|image          =[[Image:Washington_Elementary.jpg|200px]]
|established    =1776
|district       =[[District of Columbia Public Schools]]
|grades         =K-12
|principal      =[[Abe Lincoln]]
|enrollment     =1,000
|enroll-year    =2005
|colors         =Red, white, blue
|mascot         =Uncle Sam
|location       =100 [[Pennsylvania Avenue]]<br>[[Washington]], D.C.
|website        =[http://www.example.com example.com]
}}