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

From blackwiki
Jump to navigation Jump to search
blackwiki>Pink Fae
m (6 revisions imported)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
==Description==
 
==Description==
<tt><nowiki>{{af-big|nation|variant|name=optional}}</nowiki></tt>
+
<kbd><nowiki>{{af-big|nation|variant|name=optional}}</nowiki></kbd>
  
 
Produces a flag icon attached to a wikilinked national American football team article.  This differs from [[Template:af]], 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 American football team article.  This differs from [[Template:af]], making the flag icon larger and putting the team name underneath the flag.  This style is used for certain event results tables.
 
;Parameters
 
;Parameters
*''nation'' — Use either the name of the nation or the three-letter country code as used by [[List of IOC country codes|IOC]]
+
*''nation'' — Use either the name of the nation or the three-letter country code as used by [[International Federation of American Football|IFAF]]
 
*''variant'' (optional) — Specifies an alternate (historical) flag to use.  This parameter is documented by the appropriate template in [[:Category:Country data templates]].
 
*''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
 
*''name'' (optional) — Can be used to change the wikilink display text
Line 12: Line 12:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
| <tt><nowiki>{{af-big|Japan}}</nowiki></tt> ||align=center| {{af-big|Japan}}
+
| <kbd><nowiki>{{af-big|USA}}</nowiki></kbd> || style="text-align:center;" | {{af-big|USA}}
 
|-
 
|-
| <tt><nowiki>{{af-big|GER}}</nowiki></tt> ||align=center| {{af-big|GER}}
+
| <kbd><nowiki>{{af-big|Japan}}</nowiki></kbd> || style="text-align:center;" | {{af-big|Japan}}
 +
|-
 +
| <kbd><nowiki>{{af-big|Germany|name=GER}}</nowiki></kbd> || style="text-align:center;" | {{af-big|Germany|name=GER}}
 
|}
 
|}
  
Line 20: Line 22:
 
*[[Template:af]] — for rendering the flag on the left
 
*[[Template:af]] — for rendering the flag on the left
  
<includeonly>
+
<includeonly>{{Sandbox other||
[[Category:Flag template system|{{PAGENAME}}]]
+
[[Category:Flag template system]]
</includeonly>
+
}}</includeonly>

Latest revision as of 10:55, 18 October 2020

Description

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

Produces a flag icon attached to a wikilinked national American football team article. This differs from Template:af, 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 IFAF
  • 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

{{af-big|USA}}
United States
{{af-big|Japan}}
Japan
{{af-big|Germany|name=GER}}
GER

See also