Jump to content

Template:Flag IOC medalist/testcases

From Wikipedia, the free encyclopedia
Spitz
 {{flagIOCmedalist|[[Mark Spitz]]|USA|1972 Summer}}
Mark Spitz
 United States
Mark Spitz
 United States
Expanded code
[[Mark Spitz]]<br>[[File:Flag of the United States.svg|23x15px|border|alt=|link=]]&nbsp;[[United States at the 1972 Summer Olympics|United States]]
[[Mark Spitz]]<br />[[File:Flag of the United States.svg|23x15px|border|alt=|link=]]&nbsp;[[United States at the 1972 Summer Olympics|United States]]

Mark Spitz
 United States Mark Spitz
 United States

Nadi
 {{flagIOCmedalist|[[Nedo Nadi]]|ITA|1920 Summer}}
Nedo Nadi
 Italy
Nedo Nadi
 Italy
Expanded code
[[Nedo Nadi]]<br>[[File:Flag of Italy (1861-1946).svg|23x15px|border|alt=|link=]]&nbsp;[[Italy at the 1920 Summer Olympics|Italy]]
[[Nedo Nadi]]<br />[[File:Flag of Italy (1861-1946).svg|23x15px|border|alt=|link=]]&nbsp;[[Italy at the 1920 Summer Olympics|Italy]]

Spaces in unnamed parameters

[edit]
Leading spaces: template vs. sandbox
 {{flagIOCmedalist| [[Nedo Nadi]]| ITA| 1920 Summer}}
Nedo Nadi
 Italy
Nedo Nadi
 Italy
Expanded code
[[Nedo Nadi]]<br>[[File:Flag of Italy (1861-1946).svg|23x15px|border|alt=|link=]]&nbsp;[[Italy at the 1920 Summer Olympics|Italy]]
[[Nedo Nadi]]<br />[[File:Flag of Italy (1861-1946).svg|23x15px|border|alt=|link=]]&nbsp;[[Italy at the 1920 Summer Olympics|Italy]]
Trailing spaces: template vs. sandbox
 {{flagIOCmedalist|[[Nedo Nadi]] |ITA |1920 Summer }}
Nedo Nadi
 Italy
Nedo Nadi
 Italy
Expanded code
[[Nedo Nadi]]<br>[[File:Flag of Italy (1861-1946).svg|23x15px|border|alt=|link=]]&nbsp;[[Italy at the 1920 Summer Olympics|Italy]]
[[Nedo Nadi]]<br />[[File:Flag of Italy (1861-1946).svg|23x15px|border|alt=|link=]]&nbsp;[[Italy at the 1920 Summer Olympics|Italy]]
Leading & trailing spaces: template vs. sandbox
 {{flagIOCmedalist| [[Nedo Nadi]] | ITA | 1920 Summer }}
Nedo Nadi
 Italy
Nedo Nadi
 Italy
Expanded code
[[Nedo Nadi]]<br>[[File:Flag of Italy (1861-1946).svg|23x15px|border|alt=|link=]]&nbsp;[[Italy at the 1920 Summer Olympics|Italy]]
[[Nedo Nadi]]<br />[[File:Flag of Italy (1861-1946).svg|23x15px|border|alt=|link=]]&nbsp;[[Italy at the 1920 Summer Olympics|Italy]]
Template without and with spaces
 {{flagIOCmedalist|[[Nedo Nadi]]|ITA|1920 Summer}}
{{flagIOCmedalist| [[Nedo Nadi]] | ITA | 1920 Summer }}
Nedo Nadi
 Italy
Nedo Nadi
 Italy
Expanded code
[[Nedo Nadi]]<br>[[File:Flag of Italy (1861-1946).svg|23x15px|border|alt=|link=]]&nbsp;[[Italy at the 1920 Summer Olympics|Italy]]
[[Nedo Nadi]]<br>[[File:Flag of Italy (1861-1946).svg|23x15px|border|alt=|link=]]&nbsp;[[Italy at the 1920 Summer Olympics|Italy]]
Sandbox without and with spaces
 {{flagIOCmedalist/sandbox|[[Nedo Nadi]]|ITA|1920 Summer}}
{{flagIOCmedalist/sandbox| [[Nedo Nadi]] | ITA | 1920 Summer }}
Nedo Nadi
 Italy
Nedo Nadi
 Italy
Expanded code
[[Nedo Nadi]]<br />[[File:Flag of Italy (1861-1946).svg|23x15px|border|alt=|link=]]&nbsp;[[Italy at the 1920 Summer Olympics|Italy]]
[[Nedo Nadi]]<br />[[File:Flag of Italy (1861-1946).svg|23x15px|border|alt=|link=]]&nbsp;[[Italy at the 1920 Summer Olympics|Italy]]