Template:SportIcon
[[Sports in {{{1}}}|๐ ]]
Usage
Useful for summarising sports in a nation, or series of nations within a table or infobox without cluttering things up with lengthy links. See here for an example usage.
The nation is required, while the sport passed determines which icon is linked.
If no sport is passed, the link will default to a medal icon (๐
) and "Sports in NATION".
For example: {{SportIcon|sport=Football|nation=Osarius}} produces โฝ, which links to "Association Football in Osarius".
The default link value is usually the sport, but some exceptions exist.
Regardless of the default behaviour, this can also be overridden with the override parameter.
So passing override="Team Sports" when using sport="Football" will link to "Team Sports in NATION" but show the soccer ball icon.
For example: {{SportIcon|sport=Athletics|nation=Aquillian|override=Track & Field Athletics Competitions}} produces ๐ , which displays the "Athletics" symbol (as seen in the table below), but links to "Track & Field Athletics Competitions in Aquillian" because of the value passed to override.
Unnamed parameters
You can also use the template without labelling your parameters. It expects them to be in the order: nation, sport, override. Only nation is mandatory.
For example: {{SportIcon|Football|Osarius}} will produce the same output as {{SportIcon|sport=Football|nation=Osarius}}: ๐ , linking to "Association Football in Osarius".
{{SportIcon|Athletics|Aquillian|Track & Field Athletics Competitions}} will produce the same output as {{SportIcon|sport=Athletics|nation=Aquillian|override=Track & Field Athletics Competitions}} : ๐
{{SportIcon|Cobrio}} will produce generic link to "Sports in NATION", using the default icon, like so: ๐
This final case is because the other two values are not mandatory. When no sport is present, the template defaults to "Sports in" and uses the medal icon. With no override, the default link remains unchanged.
Supported Values
| Icon | Sport Values |
|---|---|
| ๐ | Athletics, Track & Field, (default) |
| โฝ | Soccer, Football |
| ๐ฅ | Boxing, Kickboxing, Combat |
| ๐ฅ | Judo, Taekwondo, Karate, Martial Arts |
| ๐ | Gridiron, American Football |
| ๐ | Hockey, Ice Hockey |
| ๐ | Rugby |
| ๐ | Cricket |
| ๐ | Horse Racing |
| โพ | Baseball |
| ๐ฏ | Archery |
| ๐ | Racing |
| ๐ | Motor Racing |
| ๐ | Motorcycles |
| ๐คผ | Wrestling |
| ๐พ | Tennis |
| โ๏ธ | Chess |
| ๐ | Snowboarding |
| ๐ | Surfing |
| ๐ฟ | Skiing |
| ๐ | Swimming |
| โณ | Golf |
| ๐ | Volleyball |
| ๐ | Field Hockey |
| ๐ | Table Tennis |
| ๐ธ | Badminton |
| ๐ฎ | Esports |
| ๐คพ | Handball |
| ๐ฅ | Lacrosse |
| ๐ฒ | Cycling |
| ๐น | Skateboarding |
| โต | Sailing |
| โธ๏ธ | Ice Skating |
| ๐น | Pro Wrestling |
Different Default Values
The following values can be passed as the sport parameter, but default to a different link value
| Sport Value | Icon | Default Link |
|---|---|---|
| Football | โฝ | Association Football |
| Gridiron | ๐ | Gridiron Football |
| Combat | ๐ฅ | Combat Sports |
| Hockey | ๐ | Ice Hockey |
| Racing | ๐ | Motor Sports |
| Motorcycles | ๐ | Motorcycle Racing |
| Pro Wrestling | ๐น | Professional Wrestling |