Difference between revisions of "Template:Fhu"

From blackwiki
Jump to navigation Jump to search
imported>S.A. Julio
(fix cat)
imported>Pauli133
m (fixing lint errors)
 
Line 10: Line 10:
 
}}<noinclude>{{documentation|content=
 
}}<noinclude>{{documentation|content=
 
==Description==
 
==Description==
<tt><nowiki>{{fhu|age|nation|variant|size=optional|name=optional}}</nowiki></tt>
+
{{mono|<nowiki>{{fhu|age|nation|variant|size=optional|name=optional}}</nowiki>}}
  
 
Produces a flag icon attached to a wikilinked men's national under-''NN'' (e.g. under-18, under-21, etc.) field hockey team article.
 
Produces a flag icon attached to a wikilinked men's national under-''NN'' (e.g. under-18, under-21, etc.) field hockey team article.
Line 21: Line 21:
  
 
==Examples==
 
==Examples==
*<tt><nowiki>{{fhu|21|Netherlands}}</nowiki></tt> → {{fhu|21|Netherlands}}
+
*{{mono|<nowiki>{{fhu|21|Netherlands}}</nowiki>}} → {{fhu|21|Netherlands}}
*<tt><nowiki>{{fhu|18|Argentina}}</nowiki></tt> → {{fhu|18|Argentina}}
+
*{{mono|<nowiki>{{fhu|18|Argentina}}</nowiki>}} → {{fhu|18|Argentina}}
*<tt><nowiki>{{fhu|21|ENG}}</nowiki></tt> → {{fhu|21|ENG}}
+
*{{mono|<nowiki>{{fhu|21|ENG}}</nowiki>}} → {{fhu|21|ENG}}
*<tt><nowiki>{{fhu|18|AUS}}</nowiki></tt> → {{fhu|18|AUS}}
+
*{{mono|<nowiki>{{fhu|18|AUS}}</nowiki>}} → {{fhu|18|AUS}}
*<tt><nowiki>{{fhu|21|Romania|1965}}</nowiki></tt> → {{fhu|21|Romania|1965}}
+
*{{mono|<nowiki>{{fhu|21|Romania|1965}}</nowiki>}} → {{fhu|21|Romania|1965}}
 
==See also==
 
==See also==
 
*[[Template:Fh]] — for main national field hockey teams
 
*[[Template:Fh]] — for main national field hockey teams

Latest revision as of 16:27, 12 January 2020

{{country data {{{2}}} | flaglink/core | variant = | size = | name = | altlink = men's national under-{{{1}}} field hockey team | altvar = field hockey | mw = men's | age = under-{{{1}}}

}}

Template documentation

Description

{{fhu|age|nation|variant|size=optional|name=optional}}

Produces a flag icon attached to a wikilinked men's national under-NN (e.g. under-18, under-21, etc.) field hockey team article.

Parameters
  • nation — Use either the name of the nation or the three-letter country code as used by the IOC
  • age — Specifies the age limit (e.g. "20", "21", etc.)
  • 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