Template:Country data Indonesia
Jump to navigation
Jump to search
Template documentation
Template:Country data Indonesia is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, and others.
Standard parameters
| Parameter name | Value | Meaning |
|---|---|---|
alias |
Indonesia
| Main article name (Indonesia) |
flag alias |
Flag of Indonesia.svg |
Image name (File:Flag of Indonesia.svg, shown on right) |
Military ensigns
This nation's naval ensign is the same as its national flag, so Template:Navy produces the following:
{{navy|{{#invoke:String|replace|Country data Indonesia|^%w+ data |||false}}}}→ Template:NavyTemplate:Break
This nation's air force ensign is the same as its national flag, so Template:Air force produces the following:
{{air force|{{#invoke:String|replace|Country data Indonesia|^%w+ data |||false}}}}→ Template:Air forceTemplate:Break
This nation's army ensign is the same as its national flag, so Template:Army produces the following:
{{army|{{#invoke:String|replace|Country data Indonesia|^%w+ data |||false}}}}→ Template:Army
Redirect aliases
This template can also be used via an alias name (implemented as a redirect to this template):| Alias name | Template:Tlx output | Template:Tlx output |
|---|---|---|
IDN (view) | Template:Country data IDN | Template:Flagcountry |
INA (view) | Template:Country data INA | Template:Flagcountry |
See What links here for a full list of redirects.
Example usage
{{flag|{{#invoke:String|replace|Country data Indonesia|^%w+ data |||false}}}}→ {{country data {{#invoke:String|replace|Country data Indonesia|^%w+ data |||false}}|flag/core|name={{#invoke:String|replace|Country data Indonesia|^%w+ data |||false}}|variant=|size=}}{{flagicon|{{#invoke:String|replace|Country data Indonesia|^%w+ data |||false}}}}→ {{country data {{#invoke:String|replace|Country data Indonesia|^%w+ data |||false}}|flagicon/core|variant=|size=}}Template:Namespace detect showall{{safesubst:#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Flagicon with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | noredlink | size | variant }}
Using a redirect alias
{{flagicon|IDN}}→ Template:Country data IDNTemplate:Namespace detect showall{{safesubst:#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Flagicon with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | noredlink | size | variant }}{{flagcountry|IDN}}→ Template:Flagcountry{{flag|IDN}}→ Template:Country data IDN
TemplateData
Template:TemplateData header <templatedata> {
"description": "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.",
"params": {}
} </templatedata>