Template:Country data Iran: Difference between revisions
Implementing talk page edit requested by User:Havsjö |
Richardpruen (talk | contribs) m 1 revision imported |
(No difference)
| |
Latest revision as of 12:56, 5 December 2021
| This template is used on approximately 144,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
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 on right) |
Flag variants
| Label | Flag image (40px) | Image name |
|---|---|---|
1502 | Flag of Persia (1502-1524).svg | |
1576 | Safavid Flag.svg | |
1665 | Flag of Persia (1665).svg | |
1736 | Error creating thumbnail: | Nadir Shah Flag.svg |
1760 | Error creating thumbnail: | Zand Dynasty flag.svg |
1796 | Error creating thumbnail: | Qajar Naval Ensign.svg |
1849 | Error creating thumbnail: | Amir Kabir Flag.svg |
1907 | Error creating thumbnail: | Flag of Persia (1907).svg |
1910 | Error creating thumbnail: | Flag of Persia (1910-1925).svg |
1925 | Error creating thumbnail: | State Flag of Iran (1925).svg |
1964 | Error creating thumbnail: | State Flag of Iran (1964).svg |
military | Error creating thumbnail: | Flag of the Islamic Republic of Iran Army.svg |
coast guard | Error creating thumbnail: | Flag of the Army of the Guardians of the Islamic Revolution.svg |
navy | Error creating thumbnail: | Flag of the Islamic Republic of Iran Navy.svg |
air force | Error creating thumbnail: | Flag of the Islamic Republic of Iran Air Force.svg |
army | Error creating thumbnail: | Flag of the Islamic Republic of Iran Army Ground Forces.svg |
Redirect aliases
| Alias name | {{flag|alias}} output | {{flagcountry|alias}} output |
|---|---|---|
IRN (view) | Error creating thumbnail: IRN | Error creating thumbnail: Iran |
IRI (view) | Error creating thumbnail: IRI | Error creating thumbnail: Iran |
See What links here for a full list of redirects.
Example usage
{{flag|Iran}}→ Error creating thumbnail: Iran{{flagicon|Iran}}→ Error creating thumbnail:
Using a flag variant
{{flag|Iran|1502}}→Iran
{{flagicon|Iran|1502}}→
Using a redirect alias
{{flagicon|IRN}}→ Error creating thumbnail:{{flagcountry|IRN}}→ Error creating thumbnail: Iran{{flag|IRN}}→ Error creating thumbnail: IRN
Military ensigns
This nation's naval flag is the same as its national flag, so Template:Naval produces the following:
{{naval|Iran}}→ Error creating thumbnail: 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}}→ Error creating thumbnail: Islamic Republic of Iran Air Force{{flagicon|Iran|air force}}→ Error creating thumbnail:
This template includes a marine ensign flag variant that can be used with Template:Armed forces:
{{Armed forces|Iran}}→ Error creating thumbnail: Islamic Republic of Iran Army{{flagicon|Iran|military}}→ Error creating thumbnail:
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Iran}}→ Error creating thumbnail: Islamic Republic of Iran Navy{{flagicon|Iran|navy}}→ Error creating thumbnail:
This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:
{{coast guard|Iran}}→ Error creating thumbnail: Navy of the Islamic Revolutionary Guard Corps{{flagicon|Iran|coast guard}}→ Error creating thumbnail:
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Iran}}→ Error creating thumbnail: Islamic Republic of Iran Army Ground Forces{{flagicon|Iran|army}}→ Error creating thumbnail:
Related templates
Please see the following related country_data templates:
- Template:Country data PersiaError creating thumbnail: Persia
- Template:Country data Pahlavi dynastyError creating thumbnail: Pahlavi dynasty
- Template:Country data Qajar dynastyError creating thumbnail: 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 | ||||||