Template:Countrycat/doc
![]() | This is a documentation subpage for Template:Countrycat. It may contain usage information, categories and other content that is not part of the original template page. |
Usage:
- {{Countrycat}} - basic usage
- {{Countrycat | Country name | Alternate flag }} - used with all options
All parameters are optional:
- Country name: This is the name that is shown for the country. For example USA instead of United States or UK instead of United Kingdom. If no name is given, the base name of the page is used.
- Alternate flag: This is the name of the flag to be shown. If no flag is given, the flag will be based on the name of the page. The flag is chosen based on the Template:Country alias and Template:Country flag alias for which ever country this template is told to use (or the country that is the base page name). It uses the same functions as the {{Flagicon}} template to choose the flag.