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

From blackwiki
Jump to navigation Jump to search
imported>Hcagri
m
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(One intermediate revision by one other user not shown)
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==
Line 20: Line 20:
 
*[[:Category:National handball teams]]
 
*[[:Category:National handball teams]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Handball templates|{{PAGENAME}}]]
 
[[Category:Handball templates|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
Line 26: Line 26:
 
[[no:Mal:Håndballflagg-h]]
 
[[no:Mal:Håndballflagg-h]]
 
[[tr:Şablon:Hb-sağ]]
 
[[tr:Şablon:Hb-sağ]]
</includeonly>
+
}}</includeonly>

Latest revision as of 16:40, 25 April 2020

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