Template:Infobox song contest country/doc: Difference between revisions

From IECO - International Eurofan's Countries Organisation
m (→‎TemplateData: update param label)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 15:12, 30 April 2022

This is the standard infobox for a country in a song contest (such as Eurovision, and ABU Song Festivals) and uses the {{Infobox song contest country}} template. The box to the right is an example. Follow the guidelines below to use the template appropriately. You may copy/paste the code for simplicity.

Code

{{Infobox song contest country
| Name = <!-- Name of the country -->
| Flag = <!-- File name of the country's flag -->
| Member station = <!-- Broadcaster that participates in the contest -->
| National selection event = <!-- How the representative for this country was chosen (e.g. national final, internal selection, named event) -->
| Apps = <!-- Number of appearances for the country in the contest -->
| Host = <!-- Number of host -->
| First = <!-- Year of the country's first participation in the contest -->
| Highest = <!-- Highest placement in any previous contest; list placement alongside respective year(s) -->
| Nul points = <!-- Number of appearances awarded with no points -->
| Website = <!-- URL of the broadcaster's official website for the contest -->
| EBU page = <!-- URL of the country's site on Eurovision.tv -->
| Current = <!-- Year of most recent participation (in the Eurovision Song Contest); omit if the country never participated -->
| Current JESC = <!-- Same as 'Current=', for the Junior Eurovision Song Contest -->
| Current Choir = <!-- Same as 'Current=', for the Eurovision Choir -->
| Current Bala = <!-- Same as 'Current=', for the Bala Turkvision -->
| Current TSC = <!-- Same as 'Current=', for the Junior Turkvision -->
}}

Example

Sweden
Sweden
Member stationSveriges Television (SVT)
Former members
National selection events
Internal selection
  • 1958
National final
Participation summary
Appearances59 (58 finals)
Host2016, 2013, 2000, 1992, 1985, 1975
First appearance1958
Highest placement1st: 1974, 1984, 1991, 1999, 2012, 2015
External links
SVT official homepage
Sweden's page at Eurovision.tv
For the most recent participation see
Sweden in the Eurovision Song Contest 2019
{{Infobox song contest country
| Name = Sweden
| Member station = [[Sveriges Television]] (SVT)
{{Collapsible list
| title = Former members
| [[Sveriges Radio]] (1958–1979)
}}
| National selection event = {{Collapsible list
| title = '''Internal selection'''
| 1958
}}
{{Collapsible list
| title = '''National final'''
| '''[[Melodifestivalen]]'''
| 1959–1963
| 1965–1969
| 1971–1975
| 1977–2019
}}
| Apps = 59 (58 finals)
| Host = {{Escyr|2016}}, {{Escyr|2013}}, {{Escyr|2000}}, {{Escyr|1992}}, {{Escyr|1985}}, {{Escyr|1975}}
| First = {{Escyr|1958}}
| Highest = 1st: {{Escyr|1974}}, {{Escyr|1984}}, {{Escyr|1991}}, {{Escyr|1999}}, {{Escyr|2012}}, {{Escyr|2015}}
| Nul points = {{Escyr|1963}}
| Website = [https://www.svtplay.se/genre/melodifestivalen SVT official homepage]
| EBU page = https://eurovision.tv/country/sweden
| Current = 2019
}}

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.

Classes used

The HTML classes of this microformat include:

  • adr
  • country-name
  • extended-address
  • locality
  • postal-code
  • region
  • street-address
Please do not rename or remove these classes.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this 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" }, "Member station": { "label": "Member station", "description": "Broadcaster(s) that have participated in the contest", "type": "content", "required": true, "example": "Sveriges Television (SVT)" }, "National selection event": { "label": "National selection events", "description": "How the representative for this country was chosen (e.g. national final, internal selection, named event)", "example": "Internal selection" }, "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)" }, "Host": { "label": "Host", "description": "Times the country hosted the contest", "type": "content" }, "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"] }, "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" }, "Nul points": { "label": "Nul points", "description": "Times the country received \"nul points\"", "type": "content" }, "Website": { "label": "Website", "description": "URL of the broadcaster's official website for the contest", "type": "content", "example": "SVT official homepage" }, "EBU page": { "label": "EBU page", "description": "URL of the country's site on Eurovision.tv", "type": "line", "example": "https://eurovision.tv/country/sweden" }, "Current": { "label": "Current ESC participation", "description": "Year of most recent participation in the Eurovision Song Contest; omit if the country never participated", "type": "line", "example": "2019" }, "Current JESC": { "label": "Current JESC participation", "description": "Year of most recent participation in the Junior Eurovision Song Contest; omit if the country never participated", "type": "line", "example": "2019" }, "Current Choir": { "label": "Current Eurovision Choir participation", "description": "Year of most recent participation in Eurovision Choir; omit if the country never participated", "type": "line", "example": "2019" }, "Current Bala": { "label": "Current Bala Turkvision participation", "description": "Year of most recent participation in the Bala Turkvision Song Contest; omit if the country never participated", "type": "line", "example": "2019" }, "Current TSC": { "label": "Current TSC participation", "description": "Year of most recent participation in the Turkvision Song Contest; omit if the country never participated", "type": "line", "example": "2019" }, "Competition": { "label": "Competition", "description": "Name of the competition; used in the link for the most recent participation", "type": "line", "example": "in the Example Song Contest" } } } </templatedata>