Template:Country data Iran/sandbox
![]() | This is the template sandbox page for Template:Country data Iran (diff). |

Template:Country data Iran/sandbox
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. |
Contents
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
Military ensigns
This nation's naval ensign is the same as its national flag, so Template:Navy produces the following:
{{navy|Iran/sandbox}}
→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/sandbox}}
→Islamic Republic of Iran Air Force
{{flagicon|Iran/sandbox|air force}}
→
This template includes a marine ensign flag variant that can be used with Template:Armed forces:
{{Armed forces|Iran/sandbox}}
→ Template:Military/core{{flagicon|Iran/sandbox|military}}
→
This template includes a navy flag variant that can be used with Template:Naval:
{{naval|Iran/sandbox}}
→ Template:Naval{{flagicon|Iran/sandbox|navy}}
→
This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:
{{coast guard|Iran/sandbox}}
→Navy of the Islamic Revolutionary Guard Corps
{{flagicon|Iran/sandbox|coast guard}}
→
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Iran/sandbox}}
→Islamic Republic of Iran Army Ground Forces
{{flagicon|Iran/sandbox|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) | ![]() | ![]() |
IRI (view) | ![]() | ![]() |
See What links here for a full list of redirects.
Example usage
{{flag|Iran/sandbox}}
→Iran/sandbox
{{flagicon|Iran/sandbox}}
→
Using a flag variant
{{flag|Iran/sandbox|1502}}
→Iran/sandbox
{{flagicon|Iran/sandbox|1502}}
→
Using a redirect alias
Related templates
Please see the following related country_data
templates:
- Template:Country data Persia
Persia
- Template:Country data Pahlavi dynasty
Pahlavi dynasty
- Template:Country data Qajar dynasty
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 |
This is the documentation for Template:Country data Iran/sandbox. It is automatically generated by Template:Country showdata. Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please Script error: No such module "Purge". after making any changes to this template. |