Template:League-season-infobox
From SABR Encyclopedia
(Difference between revisions)
(Remove vestigial support for setting league president as parameter to infobox; stubbing out documentation subpage) |
m (Removing poorly-placed <includeonly> tags) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| class="infobox league-season-infobox" style="width: 25em; text-align: left; font-size: 90%;" align="right" | {| class="infobox league-season-infobox" style="width: 25em; text-align: left; font-size: 90%;" align="right" | ||
- | {{#if: {{{logo | + | {{#if: {{{logo|}}} | |
{{!}} colspan="2" style="text-align: center; border-top:solid 1px #ccd2d9; border-bottom:solid 1px #ccd2d9;" {{!}} [[Image:{{{logo}}}|{{{pixels|200px}}}|{{{caption|{{PAGENAME}}}}}]] | {{!}} colspan="2" style="text-align: center; border-top:solid 1px #ccd2d9; border-bottom:solid 1px #ccd2d9;" {{!}} [[Image:{{{logo}}}|{{{pixels|200px}}}|{{{caption|{{PAGENAME}}}}}]] | ||
}} | }} |
Latest revision as of 21:39, 24 March 2010
This template displays an infobox with basic information about a given season of a league. This template is typically used and populated by automated tools, and will rarely need to be used or edited manually by users.
The following parameters are required:
- year: The year in which the league operated. For winter or Southern Hemisphere leagues with seasons which cross the new year, the year is the year in which the season opened.
- name_full: The full name of the league. This will almost always match the page name.
The following parameters are optional:
- classification: For professional leagues in the National Agreement/Minor League Baseball, the classification to which the league was assigned. Independent may be specified for professional leagues not operating under the NA/MiLB.
The template queries the semantic properties Property:person-league-president, Property:person-league-vicepresident, Property:person-league-secretary, and Person-league-treasurer to display links to the pages for league officers, if present. See Template:person-league-executive for a career entry template to indicate a person's service in one of these roles.