Difference between revisions of "BaseballLogo"

From Sega Retro

 
(2 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
|chicago cubs=ChicagoCubs logo 1979.svg
 
|chicago cubs=ChicagoCubs logo 1979.svg
 
|chicago white sox=ChicagoWhiteSox logo 1991.svg
 
|chicago white sox=ChicagoWhiteSox logo 1991.svg
|cincinnati reds=
+
|cincinnati reds={{dateswitch|date={{#if:{{#var:logodateoverride}}|{{#var:logodateoverride}}|{{#var:logodate}}}}
 +
  |1972-01-01=CincinnatiReds logo 1972.svg
 +
  |1993-01-01=CincinnatiReds logo 1993.svg
 +
  |1999-01-01=CincinnatiReds logo 1999.svg
 +
  }}
 
|cleveland indians=ClevelandIndians logo 1986.svg
 
|cleveland indians=ClevelandIndians logo 1986.svg
 
|colorado rockies=ColoradoRockies logo.svg
 
|colorado rockies=ColoradoRockies logo.svg
Line 74: Line 78:
 
|yokohama taiyo whales=YokohamaTaiyoWhales logo.png
 
|yokohama taiyo whales=YokohamaTaiyoWhales logo.png
 
|yomiuri giants=
 
|yomiuri giants=
 +
|central all star
 +
|central
 +
|central league=CentralLeague logo.svg
 +
|pacific all star
 +
|pacific
 +
|pacific league=PacificLeague logo.svg
 
|#default=Notavailable.svg{{!}}[[Category:Unknown baseball logo]]
 
|#default=Notavailable.svg{{!}}[[Category:Unknown baseball logo]]
 
}}}}<span style="margin:0px; padding:0px; vertical-align:top; line-height:{{{2|20}}}px; display:inline-block; min-width:{{{2|20}}}px; min-height:{{{2|20}}}px; text-align:center;">[[File:{{#if:{{#var:logofilename}}|{{#var:logofilename}}|Notavailable.svg}}|link=|{{#if:{{{1|}}}|{{{1|}}}|Unknown}}|{{{2|20}}}x{{{2|20}}}px]]</span>{{#if:{{#var:logofilename}}||[[Category:Missing baseball logo]]}}{{clearvar|logofilename|logodateoverride}}</includeonly><noinclude>
 
}}}}<span style="margin:0px; padding:0px; vertical-align:top; line-height:{{{2|20}}}px; display:inline-block; min-width:{{{2|20}}}px; min-height:{{{2|20}}}px; text-align:center;">[[File:{{#if:{{#var:logofilename}}|{{#var:logofilename}}|Notavailable.svg}}|link=|{{#if:{{{1|}}}|{{{1|}}}|Unknown}}|{{{2|20}}}x{{{2|20}}}px]]</span>{{#if:{{#var:logofilename}}||[[Category:Missing baseball logo]]}}{{clearvar|logofilename|logodateoverride}}</includeonly><noinclude>

Latest revision as of 08:47, 30 November 2023


Template for baseball teams

{{BaseballLogo|texas rangers}}

texas rangers

{{BaseballLogo|texas rangers|date=1987}}{{BaseballLogo|texas rangers|date=1996}}{{BaseballLogo|texas rangers}}

texas rangerstexas rangerstexas rangers

{{#vardefine:logodate|xxxx}} can be used to set the date of a bunch of these templates at once.