Difference between revisions of "Template:Bkicon/doc"
Jump to navigation
Jump to search
imported>Kante4 (←Created page with '{{documentation subpage}} ==Description== <code><nowiki>{{bkicon|nation|variant|size=optional}}</nowiki></code> Produces a flag icon to the wikilinked national...') |
imported>Vanisaac m (→Parameters: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 10: | Line 10: | ||
==Examples== | ==Examples== | ||
| − | *<code><nowiki>{{bkicon|Argentina}}</nowiki></code> → {{ | + | *<code><nowiki>{{bkicon|Argentina}}</nowiki></code> → {{bkicon|Argentina}} |
| − | *<code><nowiki>{{bkicon|ENG}}</nowiki></code> → {{ | + | *<code><nowiki>{{bkicon|ENG}}</nowiki></code> → {{bkicon|ENG}} |
| − | *<code><nowiki>{{bkicon|Italy|1861}}</nowiki></code> → {{ | + | *<code><nowiki>{{bkicon|Italy|1861}}</nowiki></code> → {{bkicon|Italy|1861}} |
| − | *<code><nowiki>{{bkicon|USA|1776}}</nowiki></code> → {{ | + | *<code><nowiki>{{bkicon|USA|1776}}</nowiki></code> → {{bkicon|USA|1776}} |
==Parameters== | ==Parameters== | ||
| Line 52: | Line 52: | ||
</templatedata> | </templatedata> | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
[[Category:Flag template system]] | [[Category:Flag template system]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 00:01, 24 April 2020
| This is a documentation subpage for Template:Bkicon. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{bkicon|nation|variant|size=optional}}
Produces a flag icon to the wikilinked national basketball team article.
- Parameters
- nation – Use either the name of the nation or the three-letter country code as used by IOC
- variant (optional) – Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.
- size (optional) – Can be used to change the flag icon size (use sparingly!)
Examples
{{bkicon|Argentina}}→
{{bkicon|ENG}}→ File:Flag of England.svg{{bkicon|Italy|1861}}→ 23x15px{{bkicon|USA|1776}}→
Parameters
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Bkicon
Produces a flag icon attached to a wikilinked national basketball team article.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Nation | 1 | Use either the name of the nation or the three-letter country code as used by the IOC
| String | required |
| Flag variant | variant 2 | Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.
| String | optional |
| Icon size | size | Can be used to change the flag icon size (use sparingly!) | Unknown | optional |