Difference between revisions of "Template:Fhm/doc"

From blackwiki
Jump to navigation Jump to search
imported>Andrwsc
(created doc)
 
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
+
{{documentation subpage}}
 
==Description==
 
==Description==
<code><nowiki>{{fh|nation|variant|size=optional|name=optional}}</nowiki></code>
+
<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==
*<code><nowiki>{{fh|Australia}}</nowiki></code> → {{fh|Australia}}
+
*<code><nowiki>{{fhm|Australia}}</nowiki></code> → {{fh|Australia}}
*<code><nowiki>{{fh|NED}}</nowiki></code> → {{fh|NED}}
+
*<code><nowiki>{{fhm|NED}}</nowiki></code> → {{fh|NED}}
*<code><nowiki>{{fh|India|British}}</nowiki></code> → {{fh|India|British}}
+
*<code><nowiki>{{fhm|India|British}}</nowiki></code> → {{fh|India|British}}
  
 
==See also==
 
==See also==
 
*[[Template:fh-rt]] — for rendering the flag on the right
 
*[[Template:fh-rt]] — for rendering the flag on the right
 +
*[[Template:fh-big]] — for rendering a larger flag, with the team name underneath the flag
 
*[[Template:fhw]] — for women's national field hockey teams
 
*[[Template:fhw]] — for women's national field hockey teams
 
*[[:Category:National field hockey teams]]
 
*[[:Category:National field hockey teams]]
 +
 +
<includeonly>{{Sandbox other||
 +
[[Category:Field hockey templates|{{PAGENAME}}]]
 +
[[Category:Flag template system|{{PAGENAME}}]]
 +
}}</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