Difference between revisions of "BasketballLogo"

From Sega Retro

 
(14 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 hawks=
+
|atlanta hawks={{dateswitch|date={{#if:{{#var:logodateoverride}}|{{#var:logodateoverride}}|{{#var:logodate}}}}
|boston celtics=
+
  |1972-01-01=AtlantaHawks logo 1972.svg
 +
  |1995-01-01=AtlantaHawks logo 1995.svg
 +
  }}
 +
|boston celtics={{dateswitch|date={{#if:{{#var:logodateoverride}}|{{#var:logodateoverride}}|{{#var:logodate}}}}
 +
  |1976-01-01=BostonCeltics logo 1976.svg
 +
  |1995-01-01=BostonCeltics logo 1995.svg
 +
  }}
 
|brooklyn nets=
 
|brooklyn nets=
|charlotte hornets=
+
|charlotte bobcats=CharlotteBobcats logo 2004.svg
 +
|charlotte hornets=CharlotteHornets logo 1989.svg
 
|chicago bulls=ChicagoBulls logo.svg
 
|chicago bulls=ChicagoBulls logo.svg
 
|cleveland cavaliers=
 
|cleveland cavaliers=
 
|dallas mavericks=
 
|dallas mavericks=
 
|denver nuggets=
 
|denver nuggets=
|detroit pistons=
+
|detroit pistons={{dateswitch|date={{#if:{{#var:logodateoverride}}|{{#var:logodateoverride}}|{{#var:logodate}}}}
 +
  |1978-01-01=DetroitPistons logo 1978.svg
 +
  |1996-01-01=DetroitPistons logo 1996.svg
 +
  |2001-01-01=DetroitPistons logo 2001.svg
 +
  }}
 
|golden state warriors=
 
|golden state warriors=
|houston rockets=
+
|houston rockets={{dateswitch|date={{#if:{{#var:logodateoverride}}|{{#var:logodateoverride}}|{{#var:logodate}}}}
|indiana pacers=
+
  |1972-01-01=HoustonRockets logo 1972.svg
 +
  |1995-01-01=HoustonRockets logo 1995.svg
 +
  |2003-01-01=HoustonRockets logo 2003.svg
 +
  }}
 +
|indiana pacers=IndianaPacers logo 1990.svg
 
|los angeles clippers
 
|los angeles clippers
 
|la clippers
 
|la clippers
|l.a. clippers=
+
|l.a. clippers=LosAngelesClippers logo 1984.svg
 
|los angeles lakers
 
|los angeles lakers
 
|la lakers
 
|la lakers
|l.a. lakers=
+
|l.a. lakers={{dateswitch|date={{#if:{{#var:logodateoverride}}|{{#var:logodateoverride}}|{{#var:logodate}}}}
 +
  |1977-01-01=LALakers logo 1977.svg
 +
  |2001-01-01=LALakers logo 2001.svg
 +
  }}
 
|memphis grizzlies=
 
|memphis grizzlies=
|miami heat=
+
|miami heat={{dateswitch|date={{#if:{{#var:logodateoverride}}|{{#var:logodateoverride}}|{{#var:logodate}}}}
 +
  |1988-01-01=MiamiHeat logo 1988.svg
 +
  |1999-01-01=MiamiHeat logo 1999.svg
 +
  }}
 
|milwaukee bucks=
 
|milwaukee bucks=
 
|minnesota timberwolves=
 
|minnesota timberwolves=
 
|new jersey nets=
 
|new jersey nets=
|new orleans pelicans=
+
|new orleans hornets=NewOrleansHornets logo 2002.svg
|new york knicks=
+
|new york knicks={{dateswitch|date={{#if:{{#var:logodateoverride}}|{{#var:logodateoverride}}|{{#var:logodate}}}}
 +
  |1989-01-01=NewYorkKnicks logo 1989.svg
 +
  |1992-01-01=NewYorkKnicks logo 1992.svg
 +
  |1995-01-01=NewYorkKnicks logo 1995.svg
 +
  }}
 
|oklahoma city thunder=
 
|oklahoma city thunder=
 
|orlando magic=
 
|orlando magic=
 
|philadelphia 76ers
 
|philadelphia 76ers
|philadelphia 76'ers=
+
|philadelphia 76'ers={{dateswitch|date={{#if:{{#var:logodateoverride}}|{{#var:logodateoverride}}|{{#var:logodate}}}}
 +
  |1977-01-01=Philadelphia76ers logo 1977.svg
 +
  |1997-01-01=Philadelphia76ers logo 1997.svg
 +
  }}
 
|phoenix suns=
 
|phoenix suns=
 
|portland trail blazers
 
|portland trail blazers
 
|portland trailblazers=
 
|portland trailblazers=
 
|sacramento kings=
 
|sacramento kings=
|san antonio spurs=
+
|san antonio spurs={{dateswitch|date={{#if:{{#var:logodateoverride}}|{{#var:logodateoverride}}|{{#var:logodate}}}}
 +
  |1989-01-01=SanAntonioSpurs logo 1989.svg
 +
  |2002-01-01=SanAntonioSpurs logo 2002.svg
 +
  }}
 
|seattle supersonics=
 
|seattle supersonics=
|toronto raptors=
+
|toronto raptors=TorontoRaptors logo 1995.svg
|utah jazz=
+
|utah jazz={{dateswitch|date={{#if:{{#var:logodateoverride}}|{{#var:logodateoverride}}|{{#var:logodate}}}}
 +
  |1976-01-01=UtahJazz logo 1976.svg
 +
  |1996-01-01=UtahJazz logo 1996.svg
 +
  |2004-01-01=UtahJazz logo 2004.svg
 +
  }}
 
|vancouver grizzlies=VancouverGrizzlies logo.svg
 
|vancouver grizzlies=VancouverGrizzlies logo.svg
|washington bullets=
+
|washington bullets=WashingtonBullets logo 1987.png
|washington wizards=
+
|washington wizards=WashingtonWizards logo 1997.svg
|#default=Notavailable.svg{{!}}[[Category:Unknown basketball logo]]
+
|western
}}}}<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:{{#var:logofilename}}|link=|{{#if:{{{1|}}}|{{{1|}}}|Unknown}}|{{{2|20}}}x{{{2|20}}}px]]</span>{{clearvar|logofilename|logodateoverride}}</includeonly><noinclude>
+
|western conference
 +
|western all-stars
 +
|all-stars west
 +
|all-star west
 +
|west=NBA WesternConference logo 1993.svg
 +
|eastern
 +
|eastern conference
 +
|eastern all-stars
 +
|all-stars east
 +
|all-star east
 +
|east=NBA EasternConference logo 1993.svg
 +
|#default={{CollegeSportsLogo|{{{1|}}}|Notavailable.svg{{!}}[[Category:Unknown basketball 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 basketball logo]]}}{{clearvar|logofilename|logodateoverride}}</includeonly><noinclude>
  
 
Template for basketball teams
 
Template for basketball teams
Line 48: Line 95:
 
{{BasketballLogo|Atlanta Hawks}}
 
{{BasketballLogo|Atlanta Hawks}}
 
   
 
   
<pre>{{BasketballLogo|Atlanta Hawks|date=1991}}{{BasketballLogo|Atlanta Hawks|date=2005}}{{BasketballLogo|Atlanta Hawks|date=2018}}{{BasketballLogo|Atlanta Hawks}}</pre>
+
<pre>{{BasketballLogo|Atlanta Hawks|date=1991}}{{BasketballLogo|Atlanta Hawks|date=2005}}{{BasketballLogo|Atlanta Hawks}}</pre>
{{BasketballLogo|Atlanta Hawks|date=1991}}{{BasketballLogo|Atlanta Hawks|date=2005}}{{BasketballLogo|Atlanta Hawks|date=2018}}{{BasketballLogo|Atlanta Hawks}}
+
{{BasketballLogo|Atlanta Hawks|date=1991}}{{BasketballLogo|Atlanta Hawks|date=2005}}{{BasketballLogo|Atlanta Hawks}}
  
 
<nowiki>{{#vardefine:logodate|xxxx}}</nowiki> can be used to set the date of a bunch of these templates at once.
 
<nowiki>{{#vardefine:logodate|xxxx}}</nowiki> can be used to set the date of a bunch of these templates at once.
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 11:21, 28 November 2023


Template for basketball teams

{{BasketballLogo|Atlanta Hawks}}

Atlanta Hawks

{{BasketballLogo|Atlanta Hawks|date=1991}}{{BasketballLogo|Atlanta Hawks|date=2005}}{{BasketballLogo|Atlanta Hawks}}

Atlanta HawksAtlanta HawksAtlanta Hawks

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