Difference between revisions of "Template:Gb/doc"

From blackwiki
Jump to navigation Jump to search
imported>HandsomeFella
imported>Jonesey95
m (Fix Linter errors using AutoEd)
Line 2: Line 2:
  
 
==Description==
 
==Description==
<tt><nowiki>{{gb|nation|variant|size=optional|name=optional}}</nowiki></tt>
+
<code><nowiki>{{gb|nation|variant|size=optional|name=optional}}</nowiki></code>
  
 
Produces a flag icon attached to a wikilinked men's national [[goalball]] team article.
 
Produces a flag icon attached to a wikilinked men's national [[goalball]] team article.
Line 12: Line 12:
  
 
==Examples==
 
==Examples==
*<tt><nowiki>{{gb|Brazil}}</nowiki></tt> → {{gb|Brazil}}
+
*<code><nowiki>{{gb|Brazil}}</nowiki></code> → {{gb|Brazil}}
*<tt><nowiki>{{gb|RUS}}</nowiki></tt> → {{gb|RUS}}
+
*<code><nowiki>{{gb|RUS}}</nowiki></code> → {{gb|RUS}}
*<tt><nowiki>{{gb|ROU|1965}}</nowiki></tt> → {{gb|ROU|1965}}
+
*<code><nowiki>{{gb|ROU|1965}}</nowiki></code> → {{gb|ROU|1965}}
*<tt><nowiki>{{gb|USA|name=USA}}</nowiki></tt> → {{gb|USA|name=USA}}
+
*<code><nowiki>{{gb|USA|name=USA}}</nowiki></code> → {{gb|USA|name=USA}}
  
 
==See also==
 
==See also==

Revision as of 05:37, 6 December 2019

Description

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

Produces a flag icon attached to a wikilinked men'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

See also