Template:Infobox song contest national year/doc

This is the standard infobox for "Country in the Eurovision Song Contest Year" pages and uses the Infobox song contest national year template. The box to the right is an example. You can copy-and-paste the code below, adding the info on the country and year you choose to write about.

The infobox code should be placed at the top of the article before all writing, though it should be after any maintenance templates.

Code
Most articles should only need the following fields. Do not remove fields from this list when the value is unknown; in that case the values should be left blank. Please note that the field names are case-sensitive.

Year
The Year field is for the year of the country's participation being referred to in the article. The template will look back up to 2 year and back up to years automatically and adds these years to the bottom of the template. If there are instances were a country missed more than 2 years in a row and you need to reflect this on the template, then add  and   to the bottom of the template. This will allow you to manually input the year.

For example, the Czech Republic missed the, , , and  contests, so you need the infobox for Czech Republic in the Eurovision Song Contest 2015 to enable you to bypass these years. Using the following method will let you do this.

If the participation is either the country's first or the most recent, then the Prev or Next parameters can be set to. This prevents the infobox from linking to the next or previous article, for example

Contest
The Contest field should only be used when the infobox will not be used on a Eurovision Song Contest page. If it is for the Junior Eurovision Song Contest, type "Junior", otherwise leave it blank.

Country
The Country field is for the country being referred to in the article that year. Put the countries name, without linking and using a flag template, the infobox will automatically produce the flag through coding.

Example: Bosnia and Herzegovina 🇧🇦 Bosnia and Herzegovina.

Flag variant
The Flag variant field is for displaying historically correct flags for the country in the infobox. By default, the template uses the current flag of the country. Put the year of the outdated flag's introduction for it to display the correct flag.

Example: Bosnia and Herzegovina 1992 🇧🇦 Bosnia and Herzegovina.

Preselection
The Preselection field is to specify the type of preselection (method of choosing the song) held that year. The possible entries are:
 * Internal selection
 * National final
 * Name of country's national final (ex "Melodifestivalen 2008")

In cases where a mix of preselection formats were used to select a country's entry, for example where an artist was selected internally by the broadcaster but the song was chosen through a national final, both methods can be listed by using the following format:

Preselection date
The Preselection date field is for the date that the selection process was held on; do not link this date.

Entrant
The Entrant field is for the artist/group that was chosen to compete in the contest.

Song
The Song field is for the song that was sent to compete. Songs are always surrounded by Quotation marks which are added by the template and not italics.
 * "Comme Ci, Comme Ça"

Writer
The Writer field is for the composers/lyricists of the song chosen to compete in the contest. For songs which have multiple songwriter credits, please each songwriter in the box using the template.

SF result
The SF result field is for the placing of the country in the Eurovision Semi-final. In italics write either Qualified or Failed to qualify followed in parenthesis by the placing and points received. If the song Failed to qualify, only the placing is necessary in the parenthesis.
 * Qualified (1st, 156 points)


 * Failed to qualify (19th)

Final Result
The Final result field is for the song's placing at the Eurovision Final (if appropriate). List the country's placing followed by a comma and then the points received. If the song failed to qualify, then leave the field blank.
 * 3rd, 218 points

Usage notes
The infobox should be placed at the top of the page and no line should be skipped after it. Place it after any maintenance tags, but before the main text of the page.

TemplateData
{	"description": "Infobox about a country's participation in a song contest", "format": "block", "params": { "Year": { "label": "Year", "description": "The year of the country's participation being referred to in the article", "type": "number", "required": true, "example": "2015" },		"Contest": { "label": "Contest", "description": "Set to \"Junior\" to indicate the Junior Eurovision Song Contest; leave blank for the Eurovision Song Contest.", "type": "line", "suggested": true, "default": "", "example": "Junior" },		"Country": { "label": "Country", "description": "The country being referred to in the article that year.", "type": "line", "required": true, "example": "Czech Republic" },		"Flag variant": { "label": "Flag variant", "description": "For displaying historically correct flags for the country in the infobox (put the year of the outdated flag's introduction for it to display the correct flag)", "type": "number" },		"Preselection": { "label": "Preselection", "description": "The type of preselection (method of choosing the song) held that year", "type": "content", "suggested": true, "example": "Internal selection" },		"Preselection date": { "label": "Preselection date", "description": "The date that the selection process was held on; do not link this date", "type": "content" },		"Entrant": { "label": "Entrant", "description": "The artist/group that was chosen to compete in the contest", "type": "content" },		"Song": { "label": "Selected song", "description": "The song that was sent to compete", "type": "content", "example": "Comme Ci, Comme Ça" },		"Writer": { "label": "Selected songwriter(s)", "description": "The songwriter(s) of the song", "type": "content" },		"SF result": { "label": "Semi-final result", "description": "The placing of the country in the semi-final", "type": "content", "example": "Qualified (1st, 156 points)" },		"Final result": { "label": "Final result", "description": "The placing of the country in the final", "type": "content", "example": "3rd, 218 points" },		"Prev": { "label": "Previous year", "description": "The year of the country's previous participation; set to \"none\" to not show a previous year", "type": "line" },		"Next": { "label": "Next year", "description": "The year of the country's next participation; set to \"none\" to not show a next year", "type": "line" }	} }