Difference between revisions of "Template:Gb/doc"
Jump to navigation
Jump to search
imported>HandsomeFella m (→See also) |
imported>Jonesey95 |
||
| 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== | ||
Revision as of 05:37, 6 December 2019
| 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