Jump to content

Template:Flag IOC team/testcases

From Wikipedia, the free encyclopedia
One parameter
 {{flagIOCteam|SWE}}
 Sweden (SWE)
 Sweden (SWE)
Expanded code
[[File:Flag of Sweden.svg|22x20px|border|alt=|link=]]&nbsp;[[Sweden at the Olympics|Sweden]]&nbsp;<span style="font-size:90%;">(SWE)</span>
[[File:Flag of Sweden.svg|22x20px|border|alt=|link=]]&nbsp;[[Sweden at the Olympics|Sweden]]&nbsp;<span style="font-size:90%;">(SWE)</span>
Two parameters, no year
 {{flagIOCteam|GER|Winter}}
 Germany (GER)
 Germany (GER)
Expanded code
[[File:Flag of Germany.svg|22x20px|border|alt=|link=]]&nbsp;[[Germany at the Winter Olympics|Germany]]&nbsp;<span style="font-size:90%;">(GER)</span>
[[File:Flag of Germany.svg|22x20px|border|alt=|link=]]&nbsp;[[Germany at the Winter Olympics|Germany]]&nbsp;<span style="font-size:90%;">(GER)</span>
Two parameters, with year
 {{flagIOCteam|ESP|1992 Summer}}
 Spain (ESP)
 Spain (ESP)
Expanded code
[[File:Flag of Spain.svg|22x20px|border|alt=|link=]]&nbsp;[[Spain at the 1992 Summer Olympics|Spain]]&nbsp;<span style="font-size:90%;">(ESP)</span>
[[File:Flag of Spain.svg|22x20px|border|alt=|link=]]&nbsp;[[Spain at the 1992 Summer Olympics|Spain]]&nbsp;<span style="font-size:90%;">(ESP)</span>

Spaces in unnamed parameters

[edit]
Leading spaces: template vs. sandbox
 {{flagIOCteam| ESP| 1992 Summer}}
 Spain (ESP)
 Spain (ESP)
Expanded code
[[File:Flag of Spain.svg|22x20px|border|alt=|link=]]&nbsp;[[Spain at the 1992 Summer Olympics|Spain]]&nbsp;<span style="font-size:90%;">(ESP)</span>
[[File:Flag of Spain.svg|22x20px|border|alt=|link=]]&nbsp;[[Spain at the 1992 Summer Olympics|Spain]]&nbsp;<span style="font-size:90%;">(ESP)</span>
Trailing spaces: template vs. sandbox
 {{flagIOCteam|ESP |1992 Summer }}
 Spain (ESP)
 Spain (ESP)
Expanded code
[[File:Flag of Spain.svg|22x20px|border|alt=|link=]]&nbsp;[[Spain at the 1992 Summer Olympics|Spain]]&nbsp;<span style="font-size:90%;">(ESP)</span>
[[File:Flag of Spain.svg|22x20px|border|alt=|link=]]&nbsp;[[Spain at the 1992 Summer Olympics|Spain]]&nbsp;<span style="font-size:90%;">(ESP)</span>
Leading & trailing spaces: template vs. sandbox
 {{flagIOCteam| ESP | 1992 Summer }}
 Spain (ESP)
 Spain (ESP)
Expanded code
[[File:Flag of Spain.svg|22x20px|border|alt=|link=]]&nbsp;[[Spain at the 1992 Summer Olympics|Spain]]&nbsp;<span style="font-size:90%;">(ESP)</span>
[[File:Flag of Spain.svg|22x20px|border|alt=|link=]]&nbsp;[[Spain at the 1992 Summer Olympics|Spain]]&nbsp;<span style="font-size:90%;">(ESP)</span>
Template without and with spaces
 {{flagIOCteam|ESP|1992 Summer}}
{{flagIOCteam| ESP | 1992 Summer }}
 Spain (ESP)
 Spain (ESP)
Expanded code
[[File:Flag of Spain.svg|22x20px|border|alt=|link=]]&nbsp;[[Spain at the 1992 Summer Olympics|Spain]]&nbsp;<span style="font-size:90%;">(ESP)</span>
[[File:Flag of Spain.svg|22x20px|border|alt=|link=]]&nbsp;[[Spain at the 1992 Summer Olympics|Spain]]&nbsp;<span style="font-size:90%;">(ESP)</span>
Sandbox without and with spaces
 {{flagIOCteam/sandbox|ESP|1992 Summer}}
{{flagIOCteam/sandbox| ESP | 1992 Summer }}
 Spain (ESP)
 Spain (ESP)
Expanded code
[[File:Flag of Spain.svg|22x20px|border|alt=|link=]]&nbsp;[[Spain at the 1992 Summer Olympics|Spain]]&nbsp;<span style="font-size:90%;">(ESP)</span>
[[File:Flag of Spain.svg|22x20px|border|alt=|link=]]&nbsp;[[Spain at the 1992 Summer Olympics|Spain]]&nbsp;<span style="font-size:90%;">(ESP)</span>