Difference between revisions of "Template:Infobox MiLB league"

From blackwiki
Jump to navigation Jump to search
imported>CPAScott
imported>CPAScott
(trying to get it right!)
Line 1: Line 1:
 +
{| class="infobox" width="280" style="font-size: 90%;"
 +
|-
 +
! colspan="2" style="font-size: medium;" | {{{title|{{PAGENAME}}}}}
 +
|-
 +
{{#if: {{{logo<includeonly>|</includeonly>}}} |
 +
{{!}} colspan="2" style="text-align: center; background-color:#ffffff; border-top:solid 1px #ccd2d9; border-bottom:solid 1px #ccd2d9;" {{!}} [[Image:{{{logo}}}|{{{pixels|200px}}}|{{{caption|{{PAGENAME}}}}}]]
 +
{{!}}-
 +
}}
 +
| '''Sport''' || {{{sport}}}
 +
|-
 +
{{#if:{{{country<includeonly>|</includeonly>}}} |
 +
{{!}} '''Country'''
 +
{{!}} {{{country}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{inaugural<includeonly>|</includeonly>}}} |
 +
{{!}} '''Inaugural season'''
 +
{{!}} [[{{{inaugural}}} in sports|{{{inaugural}}}]]
 +
{{!}}-
 +
}}
 +
{{#if:{{{no. of teams<includeonly>|</includeonly>}}} |
 +
{{!}} '''No. of teams'''
 +
{{!}} {{{no. of teams}}}
 +
}}
 +
{{!}}-
 +
{{#if:{{{folded<includeonly>|</includeonly>}}} |
 +
{{!}} '''Folded'''
 +
{{!}} [[{{{folded}}} in sports|{{{folded}}}]]
 +
{{!}}-
 +
}}
 +
| '''Class''' || {{{class}}}
 +
{{!}}-
 +
{{#if:{{{champion<includeonly>|</includeonly>}}} |
 +
{{!}} '''{{#if:{{{folded|}}}|Last|Current}} champions'''<!--There is no "current" champions if a league has folded and is now defunct-->
 +
{{!}} {{{champion}}}
 +
{{!}}-
 +
}}
 
{{#if:{{{website<includeonly>|</includeonly>}}} |
 
{{#if:{{{website<includeonly>|</includeonly>}}} |
 
{{!}} '''Official website'''
 
{{!}} '''Official website'''

Revision as of 15:08, 27 April 2007

Infobox MiLB league
[[Image:{{{logo}}}|200px|Infobox MiLB league]]
Sport {{{sport}}}
Country {{{country}}}
Inaugural season [[{{{inaugural}}} in sports|{{{inaugural}}}]]
No. of teams {{{no. of teams}}}
Folded [[{{{folded}}} in sports|{{{folded}}}]]
Class {{{class}}}
Current champions {{{champion}}}
Official website {{{website}}}
{{MiLB league infobox
| title =
| logo =
| caption = 
| sport =
| country =
| inaugural season =
| no. of teams =
| folded =
| class =
| champion =
| website =
}}