Difference between revisions of "Template:Bkicon/doc"

From blackwiki
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>Kante4
Line 10: Line 10:
  
 
==Examples==
 
==Examples==
*<code><nowiki>{{bkicon|Argentina}}</nowiki></code> → {{hbicon|Argentina}}
+
*<code><nowiki>{{bkicon|Argentina}}</nowiki></code> → {{bkicon|Argentina}}
*<code><nowiki>{{bkicon|ENG}}</nowiki></code> → {{hbicon|ENG}}
+
*<code><nowiki>{{bkicon|ENG}}</nowiki></code> → {{bkicon|ENG}}
*<code><nowiki>{{bkicon|Italy|1861}}</nowiki></code> → {{hbicon|Italy|1861}}
+
*<code><nowiki>{{bkicon|Italy|1861}}</nowiki></code> → {{bkicon|Italy|1861}}
*<code><nowiki>{{bkicon|USA|1776}}</nowiki></code> → {{hbicon|USA|1776}}
+
*<code><nowiki>{{bkicon|USA|1776}}</nowiki></code> → {{bkicon|USA|1776}}
  
 
==Parameters==
 
==Parameters==

Revision as of 14:57, 10 February 2020

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}}23x15px
  • {{bkicon|ENG}}England
  • {{bkicon|Italy|1861}}Italy
  • {{bkicon|USA|1776}}United States

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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Nation1

Use either the name of the nation or the three-letter country code as used by the IOC

Example
Argentina
Stringrequired
Flag variantvariant 2

Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.

Example
1861
Stringoptional
Icon sizesize

Can be used to change the flag icon size (use sparingly!)

Unknownoptional