Template:FlagC/doc
From WikiEducator
Flag and Country
This template simplifies adding a small national flag and country name.
The template takes two parameters:
- flag name
- if the parameter appears to end in a 3 letter extension, the it is assumed to be a complete file specification (e.g. File:Example.jpg)
- otherwise the flag name is used to build the file specification as File:Flag of {{{1}}}.svg
- country name or alternate wiki text to associate with the flag (To create a link to the WikiEducator country page, see the {{FlagCL|country}} template which does this concisely.)
If the country name is the same as the flag name, it can be omitted.
Examples
{{FlagC|USA|United States of America}}