Difference between revisions of "Template:Gb/doc"

From blackwiki
Jump to navigation Jump to search
imported>HandsomeFella
(Created page with '{{documentation subpage}} ==Description== <tt><nowiki>{{gb|nation|variant|size=optional|name=optional}}</nowiki></tt> Produces a flag icon attached to a wikili...')
 
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(2 intermediate revisions by 2 users not shown)
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==
Line 23: Line 23:
 
*[[:Category:National goalball teams]]
 
*[[:Category:National goalball teams]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
[[Category:goalball templates|{{PAGENAME}}]]
+
[[Category:Goalball templates|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
  
</includeonly>
+
}}</includeonly>

Latest revision as of 15:18, 25 April 2020

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