Difference between revisions of "FootballLogo"

From Sega Retro

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|}}}}}
 
<!--Brazil-->
 
<!--Brazil-->
 +
|santos=Santos logo.svg
 
|flamengo=Flamengo logo.svg
 
|flamengo=Flamengo logo.svg
 
|sao paulo
 
|sao paulo
Line 25: Line 26:
 
|marseille=Marseille logo 2004.svg
 
|marseille=Marseille logo 2004.svg
 
|montpellier=Montpellier logo.svg
 
|montpellier=Montpellier logo.svg
|lyon=Lyon logo 2000.svg
+
|lyon={{dateswitch|date={{#if:{{#var:logodateoverride}}|{{#var:logodateoverride}}|{{#var:logodate}}}}
 +
  |1990-01-01=Lyon logo 2000.svg
 +
  |2006-01-01=Lyon logo 2006.svg
 +
  }}
 
<!--Germany-->
 
<!--Germany-->
 
|bayer=Bayer logo 2005.svg
 
|bayer=Bayer logo 2005.svg

Revision as of 16:21, 24 October 2023


Template for football teams

{{FootballLogo|Juventus}}

Juventus

{{FootballLogo|Juventus|date=1991}}{{FootballLogo|Juventus|date=2005}}{{FootballLogo|Juventus|date=2018}}{{FootballLogo|Juventus}}

JuventusJuventusJuventusJuventus

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