Difference between revisions of "Template:Gbw/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jdaloner
(→‎See also: Added link to "gbw-big" template.)
imported>Jonesey95
m (Fix Linter errors using AutoEd)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
==Description==
 
==Description==
<tt><nowiki>{{gbw|nation|variant|size=optional|name=optional}}</nowiki></tt>
+
<code><nowiki>{{gbw|nation|variant|size=optional|name=optional}}</nowiki></code>
  
 
Produces a flag icon attached to a wikilinked women's national [[goalball]] team article.
 
Produces a flag icon attached to a wikilinked women's national [[goalball]] team article.
Line 11: Line 11:
  
 
==Examples==
 
==Examples==
*<tt><nowiki>{{gbw|Cuba}}</nowiki></tt> → {{gbw|Cuba}}
+
*<code><nowiki>{{gbw|Cuba}}</nowiki></code> → {{gbw|Cuba}}
*<tt><nowiki>{{gbw|JPN}}</nowiki></tt> → {{gbw|JPN}}
+
*<code><nowiki>{{gbw|JPN}}</nowiki></code> → {{gbw|JPN}}
*<tt><nowiki>{{gbw|USA|name=USA}}</nowiki></tt> → {{gbw|USA|name=USA}}
+
*<code><nowiki>{{gbw|USA|name=USA}}</nowiki></code> → {{gbw|USA|name=USA}}
  
 
==See also==
 
==See also==

Revision as of 23:56, 5 December 2019

Description

{{gbw|nation|variant|size=optional|name=optional}}

Produces a flag icon attached to a wikilinked women's national goalball team article.

Parameters
  • nation — Use either the name of the nation or the three-letter country code as used by IBSA
  • 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!)
  • name (optional) — Can be used to change the wikilink display text

Examples

  • {{gbw|Cuba}} Cuba
  • {{gbw|JPN}} Japan
  • {{gbw|USA|name=USA}} USA

See also