Template:Country data Iran: Difference between revisions
 (Implementing talk page edit requested by User:Havsjö)  | 
			
(No difference) 
 | 
Revision as of 00:35, 24 January 2019
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 | 
|---|---|---|
1502 | File:Flag of Persia (1502-1524).svg | Flag of Persia (1502-1524).svg | 
1576 | File:Safavid Flag.svg | Safavid Flag.svg | 
1665 | File:Flag of Persia (1665).svg | 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|1502}}→ File:Flag of Persia (1502-1524).svg Iran{{flagicon|Iran|1502}}→ File:Flag of Persia (1502-1524).svg
Using a redirect alias
{{flagicon|IRN}}→ Template:Country data IRNTemplate:Namespace detect showall{{flagcountry|IRN}}→ Template:Country data IRN{{flag|IRN}}→ Template:Country data IRN
Military ensigns
This nation's naval ensign is the same as its national flag, so Template:Naval produces the following:
{{naval|Iran}}→ Template:Naval
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}}→ Template:Armed forces{{flagicon|Iran|military}}→ File:Flag of the Islamic Republic of Iran Army.svg
This template includes a navy flag variant that can be used with Template:Navy:
{{navy|Iran}}→ Template: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}}→ Template:Coast guard{{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}}→ Template:Army{{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
TemplateData for 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 | ||||||