Template:CountryFlag: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
m (added Filipino)
(+South Africa, USA)
Line 1: Line 1:
{{#switch: {{{1|}}}
{{#switch: {{{1|}}}
|English   ={{filepath:Uk.png}}
|English       ={{filepath:Uk.png}}
|Filipino   ={{filepath:Tagalog.png}}
|Filipino     ={{filepath:Tagalog.png}}
|Mexican   ={{filepath:Flag-mex.png}}
|Mexican       ={{filepath:Flag-mex.png}}
|Peruvian   ={{filepath:Mochica.png}}
|Peruvian     ={{filepath:Mochica.png}}
|Portuguese ={{filepath:Flag-portugal.png}}
|Portuguese   ={{filepath:Flag-portugal.png}}
|Scottish   ={{filepath:Scotland.png}}
|Scottish     ={{filepath:Scotland.png}}
|South African ={{filepath:Afrikaans.png}}
|U.S. American ={{filepath:American.png}}
|=
|=
|{{flag|{{{1}}}}}
|{{flag|{{{1}}}}}
Line 11: Line 13:
;Usage:
;Usage:
:<tt><nowiki>{{CountryFlag|<nationality>}}</nowiki></tt>
:<tt><nowiki>{{CountryFlag|<nationality>}}</nowiki></tt>
Where <nationality> is "American", "Brazilian" etc.  
Where <nationality> is "U.S. American", "Brazilian" etc.  


When the nationality coincides with the name of the language spoken (e.g. the French speak French) there is no need to add a new flag for the country. For all other cases, upload a .png flag named after the nationality (e.g. "Argentinian.png"), only when necessary.
When the nationality coincides with the name of the language spoken (e.g. the French speak French) there is no need to add a new flag for the country. For all other cases, upload a .png flag named after the nationality (e.g. "Argentinian.png"), only when necessary.

Revision as of 04:28, 18 May 2009

Usage
{{CountryFlag|<nationality>}}

Where <nationality> is "U.S. American", "Brazilian" etc.

When the nationality coincides with the name of the language spoken (e.g. the French speak French) there is no need to add a new flag for the country. For all other cases, upload a .png flag named after the nationality (e.g. "Argentinian.png"), only when necessary.