Template:Country data Iran
Template:Country data Iran is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, and others.
| This template is within the scope of WikiProject Flag Template, a collaborative effort to maintain flag templates on Wikipedia. A more thorough discussion of the flag template system, including parameters not described here, can be found on the project page. |
Standard parameters
| Parameter name | Value | Meaning |
|---|---|---|
| alias | Iran | Main article name (Iran) |
| flag alias | Flag of Iran.svg | Image name (File:Flag of Iran.svg, shown above right) |
Flag variants
Military ensigns
This nation's naval ensign is the same as its national flag, so Template:Navy produces the following:
- {{navy|Iran}} → Template:Navy
This template includes an air force ensign flag variant that can be used with Template:Air force:
- {{air force|Iran}} → Template:Air force
- {{flagicon|Iran|air force}} →
This template includes an army ensign flag variant that can be used with Template:Army:
- {{army|Iran}} → Template:Army
- {{flagicon|Iran|army}} →
Redirect aliases
This template can also be used via an alias name (implemented as a redirect to this template):| Alias name | {{flag|alias}} output | {{flagcountry|alias}} output |
|---|---|---|
| IRN (view) | Template:Country data IRN | Template:Country data IRN |
| IRI (view) | Template:Country data IRI | Template:Country data IRI |
Example usage
- {{flag|Iran}} → Error creating thumbnail: Iran
- {{flagicon|Iran}} → Error creating thumbnail:
Using a flag variant
- {{flag|Iran|1502}} → Error creating thumbnail: Iran
- {{flagicon|Iran|1502}} → Error creating thumbnail:
Using a redirect alias
- {{flagicon|IRN}} → Template:Country data IRN
- {{flagcountry|IRN}} → Template:Country data IRN
- {{flag|IRN}} → Template:Country data IRN
Related templates
Please see the following related country_data templates: