Difference between revisions of "Template:Infobox MiLB league"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
m (replace {{PAGENAME}} with {{PAGENAMEBASE}} to remove any disambiguation from infobox title, edited using AWB)
imported>Izkala
Line 1: Line 1:
{| class="infobox" width="280" style="font-size: 90%;"
+
{{Infobox sports league
|-
+
| title          = {{{title|}}}
! colspan="2" style="font-size: medium;" | {{{title|{{PAGENAMEBASE}}}}}
+
| logo          = {{{logo|}}}
|-
+
| pixels        = {{{pixels|}}}
{{#if: {{{logo<includeonly>|</includeonly>}}} |
+
| caption        = {{{caption|}}}
{{!}} colspan="2" style="text-align: center; background-color:#ffffff; border-top:solid 1px #ccd2d9; border-bottom:solid 1px #ccd2d9;" {{!}} [[Image:{{{logo}}}|{{{pixels|200px}}}|{{{caption|{{PAGENAMEBASE}}}}}]]
+
| sport          = {{{sport|}}}
{{!}}-
+
| country        = {{{country|}}}
 +
| classification = {{{class|}}}
 +
| inaugural      = {{{inaugural|}}}
 +
| teams          = {{{no. of teams|}}}
 +
| folded        = {{{folded|}}}
 +
| champion      = {{{champion|}}}
 +
| website        = {{{website|}}}
 
}}
 
}}
| '''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>}}} |
 
{{!}} '''Official website'''
 
{{!}} {{{website}}}
 
}}
 
|}
 
<noinclude>
 
{{documentation}}
 
[[Category:Baseball infobox templates|MiLB league infobox]]
 
[[Category:Minor league baseball templates|MiLB league infobox]]
 
</noinclude>
 

Revision as of 15:44, 28 June 2015