Difference between revisions of "Template:Gb/doc"
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== | ||
| − | < | + | <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== | ||
| − | *< | + | *<code><nowiki>{{gb|Brazil}}</nowiki></code> → {{gb|Brazil}} |
| − | *< | + | *<code><nowiki>{{gb|RUS}}</nowiki></code> → {{gb|RUS}} |
| − | *< | + | *<code><nowiki>{{gb|ROU|1965}}</nowiki></code> → {{gb|ROU|1965}} |
| − | *< | + | *<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: | + | [[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
| 40px | This is a documentation subpage for Template:Gb. It contains usage information, categories and other content that is not part of the original template page. |
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
{{gb|Brazil}}→ 23x15px Brazil{{gb|RUS}}→ 23x15px Russia{{gb|ROU|1965}}→ 23x15px Romania{{gb|USA|name=USA}}→ 23x15px USA
See also
- Template:gb-rt — for rendering the flag on the right
- Template:gb-big — for rendering a larger flag, with the team name underneath the flag
- Template:gbw — for women's national teams
- Category:National goalball teams