Difference between revisions of "Template:Hopman-big"

From blackwiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{{#if:{{{noflag|}}}
 
{{#if:{{{noflag|}}}
  |[[{{{1}}} at the Hopman Cup|{{{1}}}]]
+
  |<span class="flagicon" style="padding-left:{{{size|30px}}};">&nbsp;</span><br>[[{{{1}}} at the Hopman Cup|{{{1}}}]]
 
  |{{country data {{{1}}}
 
  |{{country data {{{1}}}
 
| flagbig/core
 
| flagbig/core

Revision as of 14:45, 29 January 2014

{{country data {{{1}}} | flagbig/core | variant = | size = | name = | altlink = at the Hopman Cup | altvar = tennis | mw = Hopman

}}

Template documentation[view] [edit] [history] [purge]

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