Template:Country data Iran: Difference between revisions
No edit summary |
m (1 revision imported: initial setup) |
(No difference)
|
Latest revision as of 09:40, 1 September 2024
This template is used on many pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages or in your own user subpage. The tested changes can then be added to this page in one single edit. Please consider discussing any changes on the talk page before implementing them. |
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
Redirect aliases
This template can also be used via an alias name (implemented as a redirect to this template):Alias name | {{flag|alias}} output | {{flag country|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}}
→ Iran{{flag icon|Iran}}
→
Using a flag variant
{{flag|Iran|official}}
→ Iran{{flag icon|Iran|official}}
→
Using a redirect alias
{{flag icon|IRN}}
→ Template:Country data IRN{{flag country|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}}
→ Template:Naval
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|Iran}}
→ Template:Air force{{flag icon|Iran|air force}}
→
This template includes a marine ensign flag variant that can be used with Template:Armed forces:
{{Armed forces|Iran}}
→ Template:Armed forces{{flag icon|Iran|military}}
→
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Iran}}
→ Template:Navy{{flag icon|Iran|navy}}
→
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Iran}}
→ Template:Army{{flag icon|Iran|army}}
→
Related templates
Please see the following related country_data
templates:
- Template:Country data PersiaTemplate:Country data Persia
- Template:Country data Pahlavi IranTemplate:Country data Pahlavi Iran
- Template:Country data Qajar IranTemplate:Country data Qajar Iran
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:Flag icon. 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 |