Difference between revisions of "IceHockeyLogo"

From Sega Retro

 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{#if:{{{2|}}}{{{date|}}}|{{#vardefine:logodateoverride|{{{2|}}}{{{date|}}}}}|}}{{#vardefine:logofilename|{{#switch:{{lc:{{{1|}}}}}
 
<includeonly>{{#if:{{{2|}}}{{{date|}}}|{{#vardefine:logodateoverride|{{{2|}}}{{{date|}}}}}|}}{{#vardefine:logofilename|{{#switch:{{lc:{{{1|}}}}}
 
<!--US-->
 
<!--US-->
|atlanta thrashers=
+
|anaheim ducks=
 +
|atlanta thrashers=AtlantaThrashers logo.svg
 
|boston bruins=
 
|boston bruins=
|buffalo sabres=
+
|buffalo sabres={{dateswitch|date={{#if:{{#var:logodateoverride}}|{{#var:logodateoverride}}|{{#var:logodate}}}}
 +
  |1970-01-01=BuffaloSabres logo 1970.svg
 +
  |1996-01-01=BuffaloSabres logo 1996.svg
 +
  }}
 
|calgary flames=
 
|calgary flames=
|carolina hurricanes=
+
|carolina hurricanes=CarolinaHurricanes logo.svg<!--supposedly this got darker in 1999 - does it matter? -->
|chicago blackhawks=
+
|chicago blackhawks=ChicagoBlackhawks logo.svg
|colorado avalanche=
+
|colorado avalanche=ColoradoAvalanche logo.svg
|columbus blue jackets=
+
|columbus blue jackets=ColumbusBlueJackets logo 2000.svg
|detroit red wings=
+
|dallas stars=DallasStars logo 1993.svg
|edmonton oilers=
+
|detroit red wings=DetroitRedWings logo.svg
|florida panthers=
+
|edmonton oilers={{dateswitch|date={{#if:{{#var:logodateoverride}}|{{#var:logodateoverride}}|{{#var:logodate}}}}
 +
  |1972-01-01=EdmontonOilers logo.svg
 +
  |1996-01-01=EdmontonOilers logo 1996.svg
 +
  |2010-01-01=EdmontonOilers logo.svg
 +
  }}
 +
|florida panthers=FloridaPanthers logo 1993.svg
 
|hartford whalers=
 
|hartford whalers=
 
|los angeles kings=
 
|los angeles kings=
|mighty ducks of anaheim=
+
|anaheim mighty ducks
|minnesota north stars=
+
|mighty ducks of anaheim=MightyDucksofAnaheim logo.svg
|minnesota wild=
+
|minnesota north stars=MinnesotaNorthStars logo.svg
|montreal canadiens=
+
|minnesota wild=MinnesotaWild logo.svg
|nashville predators=
+
|montreal canadiens=MontrealCanadiens logo.svg
 +
|nashville predators=NashvillePredators logo 1998.svg
 
|new jersey devils=
 
|new jersey devils=
 
|new york islanders=
 
|new york islanders=
|new york rangers=
+
|new york rangers=NewYorkRangers logo.svg
 
|ottawa senators=
 
|ottawa senators=
|philadelphia flyers=
+
|philadelphia flyers=PhiladelphiaFlyers logo.svg
 
|phoenix coyotes=
 
|phoenix coyotes=
 
|pittsburgh penguins=
 
|pittsburgh penguins=
|quebec nordiques=
+
|quebec nordiques=QuebecNordiques logo.svg
 
|san jose sharks=
 
|san jose sharks=
 
|st. louis blues=
 
|st. louis blues=
|tampa bay lightning=
+
|tampa bay lightning=TampaBayLightning logo 1992.svg
|toronto maple leafs=
+
|toronto maple leafs=TorontoMapleLeafs logo.svg
|vancouver canucks=
+
|vancouver canucks={{dateswitch|date={{#if:{{#var:logodateoverride}}|{{#var:logodateoverride}}|{{#var:logodate}}}}
|washington capitals=
+
  |1978-01-01=VancouverCanucks logo 1978.svg
|winnipeg jets=
+
  |1997-01-01=VancouverCanucks logo 1997.svg
 +
  }}
 +
|washington capitals={{dateswitch|date={{#if:{{#var:logodateoverride}}|{{#var:logodateoverride}}|{{#var:logodate}}}}
 +
  |1974-01-01=WashingtonCapitals logo 1974.svg
 +
  |1995-01-01=WashingtonCapitals logo 1995.svg
 +
  |1997-01-01=WashingtonCapitals logo 1997.svg
 +
  |2002-01-01=WashingtonCapitals logo 2002.svg
 +
  }}
 +
|winnipeg jets=WinnipegJets logo 1990.svg
 +
|all-stars east
 +
|all stars east={{dateswitch|date={{#if:{{#var:logodateoverride}}|{{#var:logodateoverride}}|{{#var:logodate}}}}
 +
  |1993-01-01=NHLEasternConference logo 1993.svg
 +
  |1997-01-01=NHLEasternConference logo 1997.svg
 +
  }}
 +
|all-stars west
 +
|all stars west={{dateswitch|date={{#if:{{#var:logodateoverride}}|{{#var:logodateoverride}}|{{#var:logodate}}}}
 +
  |1993-01-01=NHLWesternConference logo 1993.svg
 +
  |1997-01-01=NHLWesternConference logo 1997.svg
 +
  }}
 +
|nhl all stars={{dateswitch|date={{#if:{{#var:logodateoverride}}|{{#var:logodateoverride}}|{{#var:logodate}}}}
 +
  |1946-01-01=NHL logo 1946.svg
 +
  |2006-01-01=NationalHockeyLeague logo.svg
 +
  }}
 
|#default=Notavailable.svg{{!}}[[Category:Unknown ice hockey logo]]
 
|#default=Notavailable.svg{{!}}[[Category:Unknown ice hockey 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 ice hockey 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 ice hockey logo]]}}{{clearvar|logofilename|logodateoverride}}</includeonly><noinclude>

Latest revision as of 06:27, 21 November 2023


Template for ice hockey teams

{{IceHockeyLogo|atlanta thrashers}}

atlanta thrashers

{{IceHockeyLogo|atlanta thrashers|date=1991}}{{IceHockeyLogo|atlanta thrashers|date=2005}}{{IceHockeyLogo|atlanta thrashers}}

atlanta thrashersatlanta thrashersatlanta thrashers

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