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

From blackwiki
Jump to navigation Jump to search
imported>03md
(Created page with '{{documentation subpage}} ==Description== <tt><nowiki>{{hopman-big|nation|variant|size=optional|name=optional}}</nowiki></tt> Produces a flag icon attached to a wi...')
 
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
==Description==
 
==Description==
<tt><nowiki>{{hopman-big|nation|variant|size=optional|name=optional}}</nowiki></tt>
+
<code><nowiki>{{hopman-big|nation|variant|size=optional|name=optional}}</nowiki></code>
  
 
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.
 
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.
Line 14: Line 14:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
| <tt><nowiki>{{hopman-big|Australia}}</nowiki></tt> ||align=center| {{hopman-big|Australia}}
+
| <code><nowiki>{{hopman-big|Australia}}</nowiki></code> || style="text-align:center;" | {{hopman-big|Australia}}
 
|-
 
|-
| <tt><nowiki>{{hopman-big|USA}}</nowiki></tt> ||align=center| {{hopman-big|USA}}
+
| <code><nowiki>{{hopman-big|USA}}</nowiki></code> || style="text-align:center;" | {{hopman-big|USA}}
 
|-
 
|-
| <tt><nowiki>{{hopman-big|South Africa|1928}}</nowiki></tt> ||align=center| {{hopman-big|South Africa|1928}}
+
| <code><nowiki>{{hopman-big|South Africa|1928}}</nowiki></code> || style="text-align:center;" | {{hopman-big|South Africa|1928}}
 
|-
 
|-
| <tt><nowiki>{{hopman-big|Great Britain|name=British Isles}}</nowiki></tt> ||align=center| {{hopman-big|Great Britain|name=British Isles}}
+
| <code><nowiki>{{hopman-big|Great Britain|name=British Isles}}</nowiki></code> || style="text-align:center;" | {{hopman-big|Great Britain|name=British Isles}}
 +
|-
 +
| <code><nowiki>{{hopman-big|Pacific Oceania|noflag=true}}</nowiki></code> || style="text-align:center;" | {{hopman-big|Pacific Oceania|noflag=true}}
 
|}
 
|}
  
Line 28: Line 30:
 
*[[:Category:Hopman Cup teams]]
 
*[[:Category:Hopman Cup teams]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
[[Category:Tennis templates|{{PAGENAME}}]]
+
[[Category:Tennis templates]]
[[Category:Flag template system|{{PAGENAME}}]]
+
[[Category:Flag template system]]
  
</includeonly>
+
}}</includeonly>

Latest revision as of 16:58, 25 April 2020

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