Difference between revisions of "Template:Fhm/doc"
Jump to navigation
Jump to search
imported>Jenks24 m (Jenks24 moved page Template:Fh/doc to Template:Fhm/doc: per requested move discussion, see talk) |
imported>Jenks24 (per move) |
||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
==Description== | ==Description== | ||
| − | <tt><nowiki>{{ | + | <tt><nowiki>{{fhm|nation|variant|size=optional|name=optional}}</nowiki></tt> |
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>{{ | + | *<tt><nowiki>{{fhm|Australia}}</nowiki></tt> → {{fh|Australia}} |
| − | *<tt><nowiki>{{ | + | *<tt><nowiki>{{fhm|NED}}</nowiki></tt> → {{fh|NED}} |
| − | *<tt><nowiki>{{ | + | *<tt><nowiki>{{fhm|India|British}}</nowiki></tt> → {{fh|India|British}} |
==See also== | ==See also== | ||
Revision as of 14:42, 16 June 2014
| This is a documentation subpage for Template:Fhm. It contains usage information, categories and other content that is not part of the original template page. |
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
- {{fhm|Australia}} →
Australia - {{fhm|NED}} →
Netherlands - {{fhm|India|British}} →
India
See also
- 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
- Category:National field hockey teams