Difference between revisions of "Template:Fhu-rt"
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=== | ||
| − | + | {{mono|<nowiki>{{fhu-big|age category|nation|variant|name=optional}}</nowiki>}} | |
Produces a flag icon attached to a wikilinked men's national under-''NN'' field hockey team article. Similar to [[Template:fhu]], but puts the flag icon on the right side of the team name instead of to the left. This is useful when formatting match results. | Produces a flag icon attached to a wikilinked men's national under-''NN'' field hockey team article. Similar to [[Template:fhu]], but puts the flag icon on the right side of the team name instead of to the left. This is useful when formatting match results. | ||
| Line 24: | Line 24: | ||
==Examples== | ==Examples== | ||
| − | * | + | *{{mono|<nowiki>{{fhu-rt|21|Netherlands}}</nowiki>}} → {{fhu-rt|21|Netherlands}} |
| − | * | + | *{{mono|<nowiki>{{fhu-rt|20|Brazil}}</nowiki>}} → {{fhu-rt|18|Brazil}} |
| − | * | + | *{{mono|<nowiki>{{fhu-rt|21|ENG}}</nowiki>}} → {{fhu-rt|21|ENG}} |
| − | * | + | *{{mono|<nowiki>{{fhu-rt|20|COL}}</nowiki>}} → {{fhu-rt|18|COL}} |
| − | * | + | *{{mono|<nowiki>{{fhu-rt|21|Romania|1965}}</nowiki>}} → {{fhu-rt|21|Romania|1965}} |
[[Category:Field hockey templates]] | [[Category:Field hockey templates]] | ||
[[Category:Flag template system]] | [[Category:Flag template system]] | ||
}}</noinclude> | }}</noinclude> | ||
Latest revision as of 16:27, 12 January 2020
{{country data {{{2}}} | flagright/core | variant = | size = | name = | altlink = men's national under-{{{1}}} field hockey team | altvar = field hockey | mw = men's | age = under-{{{1}}}
}}
50px Template documentation
Description
{{fhu-big|age category|nation|variant|name=optional}}
Produces a flag icon attached to a wikilinked men's national under-NN field hockey team article. Similar to Template:fhu, but puts the flag icon on the right side of the team name instead of to the left. This is useful when formatting match results.
- Parameters
- nation — Use either the name of the nation or the three-letter country code as used by IOC
- age category — Use number for the variable NN (e.g. 18, 21, etc.)
- variant (optional) — Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.
- name (optional) — Can be used to change the wikilink display text
See also
- Template:fh-rt — for men's national field hockey teams
- Template:fhwu-rt — for women's national under-NN field hockey teams
Examples
- {{fhu-rt|21|Netherlands}} → Netherlands 23x15px
- {{fhu-rt|20|Brazil}} → Brazil 23x15px
- {{fhu-rt|21|ENG}} → England 23x15px
- {{fhu-rt|20|COL}} → Colombia 23x15px
- {{fhu-rt|21|Romania|1965}} → Romania 23x15px
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |