Difference between revisions of "Template:Davis"
Jump to navigation
Jump to search
imported>Andrwsc (update internal templlate name using AWB) |
imported>AGK m (Protected Template:Davis: Highly-visible template (TW) ([edit=autoconfirmed] (indefinite))) |
(No difference)
| |
Revision as of 22:58, 21 April 2012
{{country data {{{1}}} | flaglink/core | variant = | size = | name = | altlink = Davis Cup team | altvar = tennis | mw = Davis
}}
Description
{{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
- {{davis|Australia}} →
Australia - {{davis|USA}} →
United States - {{davis|South Africa|1928}} → 23x15px South Africa
- {{davis|Great Britain|name=British Isles}} → 23x15px British Isles
See also
- 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
ja:Template:Davis id:Templat:Davis
| The above documentation is transcluded from Template:Davis/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |