Difference between revisions of "Template:Hopman/doc"
Jump to navigation
Jump to search
imported>JMDP |
imported>Ninney (Corrected the wrong template listed for Australia country) |
||
| Line 11: | Line 11: | ||
==Examples== | ==Examples== | ||
| − | *<tt><nowiki>{{hopman| | + | *<tt><nowiki>{{hopman|Australia}}</nowiki></tt> → {{hopman|Australia}} |
*<tt><nowiki>{{hopman|ARG}}</nowiki></tt> → {{hopman|ARG}} | *<tt><nowiki>{{hopman|ARG}}</nowiki></tt> → {{hopman|ARG}} | ||
*<tt><nowiki>{{hopman|South Africa|1928}}</nowiki></tt> → {{hopman|South Africa|1928}} | *<tt><nowiki>{{hopman|South Africa|1928}}</nowiki></tt> → {{hopman|South Africa|1928}} | ||
Revision as of 18:21, 5 January 2013
| This is a documentation subpage for Template:Hopman. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{hopman|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked Hopman Cup team article.
- 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|Australia}} → 23x15px Australia
- {{hopman|ARG}} →
Argentina - {{hopman|South Africa|1928}} →
South Africa - {{hopman|Great Britain|name=British Isles}} → File:Flag of the United Kingdom (3-5).svg British Isles
See also
- Template:Davis — for men's Davis Cup teams
- Template:fed — for women's Fed Cup teams
- Category:Hopman Cup teams