Difference between revisions of "Template:Hopman-big/doc"
Jump to navigation
Jump to search
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 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
==Description== | ==Description== | ||
− | < | + | <code><nowiki>{{hopman-big|nation|variant|size=optional|name=optional}}</nowiki></code> |
Produces a flag icon attached to a wikilinked [[Hopman Cup]] team article. This differs from [[Template:hopman]], making the flag icon larger and putting the team name underneath the flag. This style is used for certain event results tables. | Produces a flag icon attached to a wikilinked [[Hopman Cup]] team article. This differs from [[Template:hopman]], making the flag icon larger and putting the team name underneath the flag. This style is used for certain event results tables. | ||
Line 14: | Line 14: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | | < | + | | <code><nowiki>{{hopman-big|Australia}}</nowiki></code> || style="text-align:center;" | {{hopman-big|Australia}} |
|- | |- | ||
− | | < | + | | <code><nowiki>{{hopman-big|USA}}</nowiki></code> || style="text-align:center;" | {{hopman-big|USA}} |
|- | |- | ||
− | | < | + | | <code><nowiki>{{hopman-big|South Africa|1928}}</nowiki></code> || style="text-align:center;" | {{hopman-big|South Africa|1928}} |
|- | |- | ||
− | | < | + | | <code><nowiki>{{hopman-big|Great Britain|name=British Isles}}</nowiki></code> || style="text-align:center;" | {{hopman-big|Great Britain|name=British Isles}} |
|- | |- | ||
− | | < | + | | <code><nowiki>{{hopman-big|Pacific Oceania|noflag=true}}</nowiki></code> || style="text-align:center;" | {{hopman-big|Pacific Oceania|noflag=true}} |
|} | |} | ||
Line 30: | Line 30: | ||
*[[:Category:Hopman Cup teams]] | *[[:Category:Hopman Cup teams]] | ||
− | <includeonly> | + | <includeonly>{{Sandbox other|| |
− | [[Category:Tennis templates | + | [[Category:Tennis templates]] |
− | [[Category:Flag template system | + | [[Category:Flag template system]] |
− | </includeonly> | + | }}</includeonly> |
Latest revision as of 16:58, 25 April 2020
![]() | This is a documentation subpage for Template:Hopman-big. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{hopman-big|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked Hopman Cup team article. This differs from Template:hopman, making the flag icon larger and putting the team name underneath the flag. This style is used for certain event results tables.
- Parameters
- nation — Use either the name of the nation or a three-letter country code, as specified by ISO, IOC or FIFA (most should work)
- 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
{{hopman-big|Australia}} |
![]() Australia |
{{hopman-big|USA}} |
![]() United States |
{{hopman-big|South Africa|1928}} |
![]() South Africa |
{{hopman-big|Great Britain|name=British Isles}} |
![]() British Isles |
{{hopman-big|Pacific Oceania|noflag=true}} |
Pacific Oceania |
See also
- Template:davis — for men's Davis Cup teams
- Template:fed — for women's Fed Cup teams
- Category:Hopman Cup teams