Difference between revisions of "Template:Hopman/doc"

From blackwiki
Jump to navigation Jump to search
imported>03md
(Created page with '{{documentation subpage}} ==Description== <tt><nowiki>{{davis|nation|variant|size=optional|name=optional}}</nowiki></tt> Produces a flag icon attached to a wikilin...')
 
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
==Description==
 
==Description==
<tt><nowiki>{{davis|nation|variant|size=optional|name=optional}}</nowiki></tt>
+
<code><nowiki>{{hopman|nation|variant|size=optional|name=optional}}</nowiki></code>
  
 
Produces a flag icon attached to a wikilinked [[Hopman Cup]] team article.
 
Produces a flag icon attached to a wikilinked [[Hopman Cup]] team article.
Line 11: Line 11:
  
 
==Examples==
 
==Examples==
*<tt><nowiki>{{hopman|United States}}</nowiki></tt> → {{hopman|Australia}}
+
*<code><nowiki>{{hopman|Australia}}</nowiki></code> → {{hopman|Australia}}
*<tt><nowiki>{{hopman|ARG}}</nowiki></tt> → {{hopman|ARG}}
+
*<code><nowiki>{{hopman|ARG}}</nowiki></code> → {{hopman|ARG}}
*<tt><nowiki>{{hopman|South Africa|1928}}</nowiki></tt> → {{hopman|South Africa|1928}}
+
*<code><nowiki>{{hopman|South Africa|1928}}</nowiki></code> → {{hopman|South Africa|1928}}
*<tt><nowiki>{{hopman|Great Britain|name=British Isles}}</nowiki></tt> → {{hopman|Great Britain|name=British Isles}}
+
*<code><nowiki>{{hopman|Great Britain|name=British Isles}}</nowiki></code> → {{hopman|Great Britain|name=British Isles}}
  
 
==See also==
 
==See also==
*[[Template:Davis]] — for men's [[Davis Cup teams]]
+
*[[Template:Davis]] — for men's [[Davis Cup]] teams
 
*[[Template:fed]] — for women's [[Fed Cup]] teams
 
*[[Template:fed]] — for women's [[Fed Cup]] teams
 
*[[:Category:Hopman Cup teams]]
 
*[[:Category:Hopman Cup teams]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Tennis templates|{{PAGENAME}}]]
 
[[Category:Tennis templates|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
</includeonly>
+
}}</includeonly>

Latest revision as of 16:59, 25 April 2020

Description

{{hopman|nation|variant|size=optional|name=optional}}

Produces a flag icon attached to a wikilinked Hopman 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

See also