Template:Country data Iran
| This template is used on approximately 83,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
| Notice | 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. |
| File:Information icon4.svg | 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 on right) |
Flag variants
| Label | Flag image (40px) | Image name |
|---|---|---|
official | File:Flag of Iran (official).svg | Flag of Iran (official).svg |
1502 | File:Flag of Persia (1502-1524).svg | Flag of Persia (1502-1524).svg |
1576 | File:Safavid Flag.svg | Safavid Flag.svg |
1665 | Flag of Persia (1665).svg | |
1736 | File:Nadir Shah Flag.svg | Nadir Shah Flag.svg |
1760 | File:Zand Dynasty flag.svg | Zand Dynasty flag.svg |
1796 | File:Qajar Naval Ensign.svg | Qajar Naval Ensign.svg |
1849 | File:Amir Kabir Flag.svg | Amir Kabir Flag.svg |
1907 | File:Flag of Persia (1907).svg | Flag of Persia (1907).svg |
1910 | File:Flag of Persia (1910-1925).svg | Flag of Persia (1910-1925).svg |
1925 | File:State Flag of Iran (1925).svg | State Flag of Iran (1925).svg |
1964 | File:State Flag of Iran (1964).svg | State Flag of Iran (1964).svg |
military | File:Flag of the Islamic Republic of Iran Army.svg | Flag of the Islamic Republic of Iran Army.svg |
coast guard | File:Flag of the Army of the Guardians of the Islamic Revolution.svg | Flag of the Army of the Guardians of the Islamic Revolution.svg |
navy | File:Flag of the Islamic Republic of Iran Navy.svg | Flag of the Islamic Republic of Iran Navy.svg |
air force | File:Flag of the Islamic Republic of Iran Air Force.svg | Flag of the Islamic Republic of Iran Air Force.svg |
army | File:Flag of the Islamic Republic of Iran Army Ground Forces.svg | Flag of the Islamic Republic of Iran Army Ground Forces.svg |
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 |
See What links here for a full list of redirects.
Example usage
{{flag|Iran}}→ File:Flag of Iran.svg Iran{{flagicon|Iran}}→ File:Flag of Iran.svg
Using a flag variant
{{flag|Iran|official}}→ File:Flag of Iran (official).svg Iran{{flagicon|Iran|official}}→ File:Flag of Iran (official).svg
Using a redirect alias
{{flagicon|IRN}}→ Template:Country data IRN{{flagcountry|IRN}}→ Template:Country data IRN{{flag|IRN}}→ Template:Country data IRN
Military ensigns
This nation's naval flag is the same as its national flag, so Template:Naval produces the following:
{{naval|Iran}}→ File:Flag of Iran.svg Islamic Republic of Iran Navy
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|Iran}}→ File:Flag of the Islamic Republic of Iran Air Force.svg Islamic Republic of Iran Air Force{{flagicon|Iran|air force}}→ File:Flag of the Islamic Republic of Iran Air Force.svg
This template includes a marine ensign flag variant that can be used with Template:Armed forces:
{{Armed forces|Iran}}→ File:Flag of the Islamic Republic of Iran Army.svg Islamic Republic of Iran Army{{flagicon|Iran|military}}→ File:Flag of the Islamic Republic of Iran Army.svg
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Iran}}→ File:Flag of the Islamic Republic of Iran Navy.svg Islamic Republic of Iran Navy{{flagicon|Iran|navy}}→ File:Flag of the Islamic Republic of Iran Navy.svg
This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:
{{coast guard|Iran}}→ File:Flag of the Army of the Guardians of the Islamic Revolution.svg Navy of the Islamic Revolutionary Guard Corps{{flagicon|Iran|coast guard}}→ File:Flag of the Army of the Guardians of the Islamic Revolution.svg
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Iran}}→ File:Flag of the Islamic Republic of Iran Army Ground Forces.svg Islamic Republic of Iran Army Ground Forces{{flagicon|Iran|army}}→ File:Flag of the Islamic Republic of Iran Army Ground Forces.svg
Related templates
Please see the following related country_data templates:
- Template:Country data PersiaTemplate:Country data Persia
- Template:Country data Pahlavi dynastyTemplate:Country data Pahlavi dynasty
- Template:Country data Qajar dynastyTemplate:Country data Qajar dynasty
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Country data Iran
This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flagicon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||
[[Category:Template documentation pages{{#translation:}}]]