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

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(tidy style)
imported>Jonesey95
m (Fix Linter errors using AutoEd)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
==Description==
 
==Description==
<tt><nowiki>{{fhw-big|nation|variant|name=optional}}</nowiki></tt>
+
<code><nowiki>{{fhw-big|nation|variant|name=optional}}</nowiki></code>
  
 
Produces a flag icon attached to a wikilinked women's national field hockey team article.  This differs from [[Template:fhw]], 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 women's national field hockey team article.  This differs from [[Template:fhw]], 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>{{fhw-big|Australia}}</nowiki></tt> || style="text-align:center;" | {{fhw-big|Australia}}
+
| <code><nowiki>{{fhw-big|Australia}}</nowiki></code> || style="text-align:center;" | {{fhw-big|Australia}}
 
|-
 
|-
| <tt><nowiki>{{fhw-big|ARG}}</nowiki></tt> || style="text-align:center;" | {{fhw-big|ARG}}
+
| <code><nowiki>{{fhw-big|ARG}}</nowiki></code> || style="text-align:center;" | {{fhw-big|ARG}}
 
|-
 
|-
| <tt><nowiki>{{fhw-big|Spain|1945}}</nowiki></tt> || style="text-align:center;" | {{fhw-big|Spain|1945}}
+
| <code><nowiki>{{fhw-big|Spain|1945}}</nowiki></code> || style="text-align:center;" | {{fhw-big|Spain|1945}}
 
|}
 
|}
  

Revision as of 23:56, 5 December 2019

Description

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

Produces a flag icon attached to a wikilinked women's national field hockey team article. This differs from Template:fhw, 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

{{fhw-big|Australia}} 30x27px
Australia
{{fhw-big|ARG}} 30x27px
Argentina
{{fhw-big|Spain|1945}} File:Flag of Spain (1945–1977).svg
Spain

See also