Template:Davis/doc
Appearance
This is a documentation subpage for Template:Davis. It may contain usage information, categories and other content that is not part of the original template page. |
Description
[edit]{{davis|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked Davis 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
[edit]- {{davis|Australia}} → Australia
- {{davis|USA}} → United States
- {{davis|South Africa|1928}} → South Africa
- {{davis|Great Britain|name=British Isles}} → British Isles
See also
[edit]- Template:davis-big — for rendering a larger flag, with the team name underneath the flag
- Template:fed — for women's Fed Cup teams
- Category:Davis Cup teams