Difference between revisions of "FootballLogo"
From Sega Retro
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine:logofilename|{{#switch:{{lc:{{{1|}}}}} | + | <includeonly>{{#if:{{{2|}}}{{{date|}}}|{{#vardefine:logodateoverride|{{{2|}}}{{{date|}}}}}|}}{{#vardefine:logofilename|{{#switch:{{lc:{{{1|}}}}} |
<!--Brazil--> | <!--Brazil--> | ||
|flamengo=Flamengo logo.svg | |flamengo=Flamengo logo.svg | ||
Line 38: | Line 38: | ||
|hellas verona=HellasVerona logo 1999.svg | |hellas verona=HellasVerona logo 1999.svg | ||
|inter=Inter logo 1999.svg | |inter=Inter logo 1999.svg | ||
− | |juventus=Juventus logo 1990.svg | + | |juventus={{dateswitch|date={{#if:{{#var:logodateoverride}}|{{#var:logodateoverride}}|{{#var:logodate}}}} |
+ | |1990-01-01=Juventus logo 1990.svg | ||
+ | |2004-01-01=Juventus logo 2004.svg | ||
+ | |2017-01-01=Juventus logo 2017.svg | ||
+ | }} | ||
|lazio=Lazio logo 1992.svg | |lazio=Lazio logo 1992.svg | ||
|lecce=Lecce logo 2001.svg | |lecce=Lecce logo 2001.svg | ||
Line 82: | Line 86: | ||
|göteborg=Goteborg logo.svg | |göteborg=Goteborg logo.svg | ||
|#default=Notavailable.svg | |#default=Notavailable.svg | ||
− | }}}}<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}}</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:{{#var:logofilename}}|link=|{{#if:{{{1|}}}|{{{1|}}}|Unknown}}|{{{2|20}}}x{{{2|20}}}px]]</span>{{clearvar|logofilename|logodateoverride}}</includeonly><noinclude> |
Template for football teams | Template for football teams | ||
Line 88: | Line 92: | ||
{{FootballLogo|Juventus}} | {{FootballLogo|Juventus}} | ||
− | + | <pre>{{FootballLogo|Juventus|date=1991}}{{FootballLogo|Juventus|date=2005}}{{FootballLogo|Juventus|date=2018}}{{FootballLogo|Juventus}}</pre> | |
+ | {{FootballLogo|Juventus|date=1991}}{{FootballLogo|Juventus|date=2005}}{{FootballLogo|Juventus|date=2018}}{{FootballLogo|Juventus}} | ||
+ | |||
+ | <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> |
Revision as of 12:31, 24 October 2023
Template for football teams
{{FootballLogo|Juventus}}
{{FootballLogo|Juventus|date=1991}}{{FootballLogo|Juventus|date=2005}}{{FootballLogo|Juventus|date=2018}}{{FootballLogo|Juventus}}
{{#vardefine:logodate|xxxx}} can be used to set the date of a bunch of these templates at once.