Difference between revisions of "Template:Davis-big/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 28: Line 28:
 
*[[:Category:Davis Cup teams]]
 
*[[:Category:Davis Cup teams]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Tennis templates]]
 
[[Category:Tennis templates]]
 
[[Category:Flag template system]]
 
[[Category:Flag template system]]
Line 34: Line 34:
 
[[ja:Template:Davis-big]]
 
[[ja:Template:Davis-big]]
 
[[id:Templat:Davis-big]]
 
[[id:Templat:Davis-big]]
</includeonly>
+
}}</includeonly>

Latest revision as of 22:51, 24 April 2020

Description

{{davis-big|nation|variant|size=optional|name=optional}}

Produces a flag icon attached to a wikilinked Davis Cup team article. This differs from Template:davis, 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

{{davis-big|Australia}} 30x27px
Australia
{{davis-big|USA}}
United States
{{davis-big|South Africa|1928}} 30x27px
South Africa
{{davis-big|Great Britain|name=British Isles}}
British Isles

See also