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|}}}}}
 
<!--Argentina-->
 
<!--Argentina-->
 +
|boca juniors={{dateswitch|date={{#if:{{#var:logodateoverride}}|{{#var:logodateoverride}}|{{#var:logodate}}}}
 +
  |1990-01-01=BocaJuniors logo 2003.svg
 +
  |2009-01-01=BocaJuniors logo 2009.svg
 +
  }}
 
|river plate=RiverPlate logo.svg
 
|river plate=RiverPlate logo.svg
 
<!--Brazil-->
 
<!--Brazil-->

Revision as of 16:48, 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.