Difference between revisions of "Template:Fh-big/doc"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(tidy style)
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>{{fh-big|nation|variant|name=optional}}</nowiki></tt>
+
<code><nowiki>{{fh-big|nation|variant|name=optional}}</nowiki></code>
  
 
Produces a flag icon attached to a wikilinked national field hockey team article.  This differs from [[Template:fh]], making the flag icon larger and putting the team name underneath the flag.  This style is used for certain event results tables.
 
Produces a flag icon attached to a wikilinked national field hockey team article.  This differs from [[Template:fh]], making the flag icon larger and putting the team name underneath the flag.  This style is used for certain event results tables.
Line 12: Line 12:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
| <tt><nowiki>{{fh-big|Australia}}</nowiki></tt> || style="text-align:center;" | {{fh-big|Australia}}
+
| <code><nowiki>{{fh-big|Australia}}</nowiki></code> || style="text-align:center;" | {{fh-big|Australia}}
 
|-
 
|-
| <tt><nowiki>{{fh-big|NED}}</nowiki></tt> || style="text-align:center;" | {{fh-big|NED}}
+
| <code><nowiki>{{fh-big|NED}}</nowiki></code> || style="text-align:center;" | {{fh-big|NED}}
 
|-
 
|-
| <tt><nowiki>{{fh-big|India|British}}</nowiki></tt> || style="text-align:center;" | {{fh-big|India|British}}
+
| <code><nowiki>{{fh-big|India|British}}</nowiki></code> || style="text-align:center;" | {{fh-big|India|British}}
 
|}
 
|}
  
Line 25: Line 25:
 
*[[:Category:National field hockey teams]]
 
*[[:Category:National field hockey teams]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Field hockey templates]]
 
[[Category:Field hockey templates]]
 
[[Category:Flag template system]]
 
[[Category:Flag template system]]
</includeonly>
+
}}</includeonly>

Latest revision as of 04:33, 25 April 2020

Description

{{fh-big|nation|variant|name=optional}}

Produces a flag icon attached to a wikilinked national field hockey team article. This differs from Template:fh, making the flag icon larger and putting the team name underneath the flag. This style is used for certain event results tables.

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.
  • name (optional) — Can be used to change the wikilink display text

Examples

{{fh-big|Australia}}
Australia
{{fh-big|NED}}
Netherlands
{{fh-big|India|British}}
India

See also