Template:CountryFlag: Difference between revisions
Jump to navigation
Jump to search
(new template for the composer categories) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{#switch: {{{1|}}} | {{#switch: {{{1|}}} | ||
|English ={{filepath:Uk.png}} | |||
|English | |Mexican ={{filepath:Flag-mex.png}} | ||
|Mexican | |Peruvian ={{filepath:Mochica.png}} | ||
|Peruvian | |Portuguese ={{filepath:Flag-portugal.png}} | ||
|Portuguese | |Scottish ={{filepath:Scotland.png}} | ||
|Scottish | |||
|= | |= | ||
|{{flag|{{{1}}}}} | |{{flag|{{{1}}}}} | ||
}}<noinclude> | }}<noinclude>{{DisplayBox|bgcolor=g|text= | ||
{{DisplayBox|bgcolor=g|text= | |||
;Usage: | ;Usage: | ||
:<tt><nowiki>{{CountryFlag|<nationality>}}</nowiki></tt> | :<tt><nowiki>{{CountryFlag|<nationality>}}</nowiki></tt> | ||
Where <nationality> is "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 | Where <nationality> is "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. | |||
}} | }} | ||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 01:23, 16 April 2009
- Usage
- {{CountryFlag|<nationality>}}
Where <nationality> is "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.