Difference between revisions of "Template:Fhm/doc"

From blackwiki
Jump to navigation Jump to search
imported>Andrwsc
(update template documentation using AWB)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
==Description==
 
==Description==
<tt><nowiki>{{fh|nation|variant|size=optional|name=optional}}</nowiki></tt>
+
<code><nowiki>{{fhm|nation|variant|size=optional|name=optional}}</nowiki></code>
  
 
Produces a flag icon attached to a wikilinked national field hockey team article.
 
Produces a flag icon attached to a wikilinked national field hockey team article.
Line 11: Line 11:
  
 
==Examples==
 
==Examples==
*<tt><nowiki>{{fh|Australia}}</nowiki></tt> → {{fh|Australia}}
+
*<code><nowiki>{{fhm|Australia}}</nowiki></code> → {{fh|Australia}}
*<tt><nowiki>{{fh|NED}}</nowiki></tt> → {{fh|NED}}
+
*<code><nowiki>{{fhm|NED}}</nowiki></code> → {{fh|NED}}
*<tt><nowiki>{{fh|India|British}}</nowiki></tt> → {{fh|India|British}}
+
*<code><nowiki>{{fhm|India|British}}</nowiki></code> → {{fh|India|British}}
  
 
==See also==
 
==See also==
Line 21: Line 21:
 
*[[:Category:National field hockey teams]]
 
*[[:Category:National field hockey teams]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Field hockey templates|{{PAGENAME}}]]
 
[[Category:Field hockey templates|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
</includeonly>
+
}}</includeonly>

Latest revision as of 04:37, 25 April 2020

Description

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

Produces a flag icon attached to a wikilinked national field hockey team article.

Parameters
  • nation — Use either the name of the nation or the three-letter country code as used by IOC, FIFA, etc. (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