Difference between revisions of "Template:Hb-rt/doc"

From blackwiki
Jump to navigation Jump to search
imported>Hcagri
m
imported>Jonesey95
m (Fix Linter errors using AutoEd)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
==Description==
 
==Description==
<tt><nowiki>{{hb-rt|nation|variant|size=optional|name=optional}}</nowiki></tt>
+
<code><nowiki>{{hb-rt|nation|variant|size=optional|name=optional}}</nowiki></code>
  
 
Produces a flag icon attached to a wikilinked men's national handball team article.  Similar to [[Template:Hb]], 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 handball team article.  Similar to [[Template:Hb]], 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 11: Line 11:
  
 
==Examples==
 
==Examples==
*<tt><nowiki>{{hb-rt|Sweden}}</nowiki></tt> → {{hb-rt|Sweden}}
+
*<code><nowiki>{{hb-rt|Sweden}}</nowiki></code> → {{hb-rt|Sweden}}
*<tt><nowiki>{{hb-rt|FRA}}</nowiki></tt> → {{hb-rt|FRA}}
+
*<code><nowiki>{{hb-rt|FRA}}</nowiki></code> → {{hb-rt|FRA}}
*<tt><nowiki>{{hb-rt|Romania|1965}}</nowiki></tt> → {{hb-rt|Romania|1965}}
+
*<code><nowiki>{{hb-rt|Romania|1965}}</nowiki></code> → {{hb-rt|Romania|1965}}
*<tt><nowiki>{{hb-rt|Germany|name=West Germany}}</nowiki></tt> → {{hb-rt|Germany|name=West Germany}}
+
*<code><nowiki>{{hb-rt|Germany|name=West Germany}}</nowiki></code> → {{hb-rt|Germany|name=West Germany}}
  
 
==See also==
 
==See also==

Revision as of 05:38, 6 December 2019

Description

{{hb-rt|nation|variant|size=optional|name=optional}}

Produces a flag icon attached to a wikilinked men's national handball team article. Similar to Template:Hb, 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 specified by ISO, IOC or FIFA (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