Template:Flag: Difference between revisions
Appearance
Metriximor (talk | contribs) attempt to have a default value |
Metriximor (talk | contribs) fixing the link |
||
| Line 1: | Line 1: | ||
{{#ifexist:Template:Country data {{{1|}}}|{{country data {{{1|}}}|flag/core|name={{{name|{{{1|}}}}}}|variant={{{variant|{{{2|}}}}}}|altlink={{{altlink|}}}|size={{{size|}}}}}|[[{{{altlink|{{PAGENAME: | {{#ifexist:Template:Country data {{{1|}}} | ||
| {{country data {{{1|}}} | |||
| flag/core | |||
| name={{{name|{{{1|}}}}}} | |||
| variant={{{variant|{{{2|}}}}}} | |||
| altlink={{{altlink|}}} | |||
| size={{{size|}}} | |||
}} | |||
| [[{{{altlink|{{PAGENAME:{{{1|}}}#ifexist:}}}}}]] | |||
}}<noinclude>{{documentation}}<templatedata> | |||
{ | { | ||
"description": "Generates a country flag image with various customization options", | "description": "Generates a country flag image with various customization options", | ||
Latest revision as of 19:50, 18 February 2025
[[|]]
Generates a country flag image with various customization options
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Country code | 1 | The name of the country | String | required |
| Flag name | name | Name of the flag variant to display | String | optional |
| Variant | variant | Specific variant of the flag to display | String | optional |
| Alternative link text | altlink | Text to display when hovering over the flag | String | optional |
| Image size | size | Size of the flag image in pixels | Number | optional |