Anonymous user
Template:Flagcountry/doc: Difference between revisions
see Template_talk:Flagcountry#visual_text_editor_adds_"nation="
Richardpruen (talk | contribs) m (1 revision imported) |
imported>AltoStev |
||
Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
{{High-use}} | |||
==Description== | ==Description== | ||
Line 29: | Line 30: | ||
"description": "Produces a flag icon next to a wikilinked country name.", | "description": "Produces a flag icon next to a wikilinked country name.", | ||
"params": { | "params": { | ||
" | "1": { | ||
"label": "Nation", | "label": "Nation", | ||
"description": "The name or code of the country.", | "description": "The name or code of the country.", | ||
"type": "string", | "type": "string", | ||
" | "required": true | ||
}, | }, | ||
"variant": { | "variant": { | ||
"label": "Variant", | "label": "Variant", | ||
"description": "The flag variant to be displayed.", | "description": "The flag variant to be displayed.", | ||
"aliases": ["2"], | "aliases": [ | ||
"2" | |||
], | |||
"type": "string" | "type": "string" | ||
}, | }, | ||
Line 47: | Line 49: | ||
"type": "number" | "type": "number" | ||
} | } | ||
} | }, | ||
"paramOrder": [ | |||
"1", | |||
"variant", | |||
"size" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> |