Template:Flag: Difference between revisions
Appearance
Metriximor (talk | contribs) add template data |
Metriximor (talk | contribs) attempt to have a default value |
||
| Line 1: | Line 1: | ||
{{country data {{{1|}}}|flag/core|name={{{name|{{{1|}}}}}}|variant={{{variant|{{{2|}}}}}}|altlink={{{altlink|}}}|size={{{size|}}}}}<noinclude>{{documentation}}<templatedata> | {{#ifexist:Template:Country data {{{1|}}}|{{country data {{{1|}}}|flag/core|name={{{name|{{{1|}}}}}}|variant={{{variant|{{{2|}}}}}}|altlink={{{altlink|}}}|size={{{size|}}}}}|[[{{{altlink|{{PAGENAME:Template:Country data {{{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", | ||
Revision as of 19:44, 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 |