Template:Flagcountry/doc: Difference between revisions

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": {
"nation": {
"1": {
"label": "Nation",
"label": "Nation",
"description": "The name or code of the country.",
"description": "The name or code of the country.",
"required": true,
"type": "string",
"type": "string",
"aliases": ["1"]
"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>
Anonymous user