Difference between revisions of "Template:Bh-rt/doc"
Jump to navigation
Jump to search
imported>Frietjes m |
imported>Zyxw m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB) |
||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
==Description== | ==Description== | ||
| − | < | + | <kbd><nowiki>{{bh-rt|nation|variant|size=optional|name=optional}}</nowiki></kbd> |
Produces a flag icon attached to a wikilinked national beach handball team article. Similar to [[Template:bh]], 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 national beach handball team article. Similar to [[Template:bh]], 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 12: | Line 12: | ||
==Examples== | ==Examples== | ||
| − | *< | + | *<kbd><nowiki>{{bh-rt|Brazil}}</nowiki></kbd> → {{bh-rt|Brazil}} |
| − | *< | + | *<kbd><nowiki>{{bh-rt|UKR}}</nowiki></kbd> → {{bh-rt|UKR}} |
| − | *< | + | *<kbd><nowiki>{{bh-rt|India|British}}</nowiki></kbd> → {{bh-rt|India|British}} |
==See also== | ==See also== | ||
Revision as of 05:34, 5 August 2018
| This is a documentation subpage for Template:Bh-rt. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{bh-rt|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national beach handball team article. Similar to Template:bh, 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, 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
- {{bh-rt|Brazil}} → Brazil File:Flag of Brazil.svg
- {{bh-rt|UKR}} → Ukraine File:Flag of Ukraine.svg
- {{bh-rt|India|British}} → India 23x15px
See also
- Template:bh — for rendering the flag on the left
- Template:fh-rt — for field hockey
- Category:National beach handball teams