Template:Infobox song contest country
The infobox for a country in a song contest, such as Eurovision and ABU Song Festivals, uses the {{Infobox song contest country}} template. Follow the guidelines below to use the template appropriately. You may copy/paste the code for simplicity.
Code
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| Participation summary |
|---|
</syntaxhighlight>
Example
| Sweden in the Eurovision Song Contest | |
|---|---|
| Eurovision Song Contest | |
| Participating broadcaster | Sveriges Television (SVT)
Formerly
|
| Participation summary | |
| Appearances | 62 (61 finals) |
| First appearance | 1958 |
| Highest placement | 1st: 1974, 1984, 1991, 1999, 2012, 2015, 2023 |
| Host | 1975, 1985, 1992, 2000, 2013, 2016, 2024 |
| Related articles | |
| Melodifestivalen | |
| External links | |
| SVT official homepage | |
| Lua error in Module:Official_website at line 90: attempt to index field 'wikibase' (a nil value). | |
Sweden in the Eurovision Song Contest 2023 | |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| Sweden in the Eurovision Song Contest | |
|---|---|
| Eurovision Song Contest | |
| Participating broadcaster | Sveriges Television (SVT)
Former members
|
| Participation summary | |
| Appearances | 59 (58 finals) |
| First appearance | 1958 |
| Highest placement | 1st: 1974, 1984, 1991, 1999, 2012, 2015, 2023 |
| Host | 1975, 1985, 1992, 2000, 2013, 2016, 2024 |
| Related articles | |
| Melodifestivalen | |
| External links | |
| SVT official homepage | |
| Lua error in Module:Official_website at line 90: attempt to index field 'wikibase' (a nil value). | |
Sweden in the Eurovision Song Contest 2023 | |
</syntaxhighlight>
Microformat
The HTML mark-up produced by this template includes an adr microformat that makes postal addresses or their component parts (regions, postal codes, country names, etc) readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject on English Wikipedia.- Classes used
The HTML classes of this microformat include:
- adr
- country-name
- extended-address
- locality
- postal-code
- region
- street-address
TemplateData
TemplateData for Infobox song contest country
<templatedata> { "description": "Infobox for the participation of a country or region in a song contest", "format": "block", "params": { "Name": { "label": "Name", "description": "Name of the country", "type": "content", "required": true, "example": "Sweden" }, "Other names": { "label": "Other names", "description": "Other names of the country, displayed in a subheader", "type": "content" }, "Flag": { "label": "Flag", "description": "File name of the country's flag", "type": "wiki-file-name" }, "Caption": { "label": "Flag caption", "description": "Caption for the country's flag", "type": "content" }, "Flag2": { "label": "Flag 2", "description": "File name of the country's second flag", "type": "wiki-file-name" }, "Caption2": { "label": "Flag 2 caption", "description": "Caption for the country's second flag", "type": "content" }, "Flag3": { "label": "Flag 3 ", "description": "File name of the country's third flag", "type": "wiki-file-name" }, "Caption3": { "label": "Flag 3 caption", "description": "Caption for the country's third flag", "type": "content" }, "Broadcaster": { "label": "Broadcaster", "description": "Broadcaster(s) that have participated in the contest; use 'Former broadcaster' where the country no longer exists or is exempt from participating to alter the label", "type": "content", "aliases": ["Member station", "Former broadcaster"], "required": true, "example": "Sveriges Television (SVT)" }, "Apps": { "label": "Appearances", "description": "Number of appearances for the country in the contest", "type": "content", "aliases": ["ESC apps", "ABU apps"], "suggested": true, "example": "59 (58 finals)" }, "First": { "label": "First appearance", "description": "Year of the country's first participation in the contest", "type": "content", "aliases": ["ESC first", "ABU first"], "suggested": true, "example": "1958" }, "Last": { "label": "Last appearance", "description": "Year of the country's last participation in the contest", "type": "content", "aliases": ["ESC last", "ABU last"] }, "Host": { "label": "Host", "description": "Times the country hosted the contest", "type": "content" }, "Highest": { "label": "Highest placement", "description": "Highest placement in any previous contest; list placement alongside respective year(s)", "type": "content", "aliases": ["Best", "ESC best", "ABU best"], "suggested": true, "example": "1st: 1974, 1984, 1991, 1999, 2012, 2015, 2023" }, "Related": { "label": "Related articles", "description": "Links to other articles related to the contest, specifically any notable national selection events with their own standalone articles", "example": "Melodifestivalen" }, "Website": { "label": "Website", "description": "URL of the broadcaster's official website for the contest", "type": "content", "example": "SVT official homepage" }, "Current": { "label": "Current ESC/JESC participation", "description": "Year of most recent participation in the Eurovision Song Contest or the Junior Eurovision Song Contest; omit if the country never participated or for other contests", "type": "line", "example": "2019" } } } </templatedata>
| The above documentation is transcluded from Template:Infobox song contest country/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |