Difference between revisions of "Template:Afu/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Maiō T.
m
blackwiki>Zyxw
m (Since <tt> is obsolete in HTML5, replace with <kbd> – see HTML element#tt and Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
==Description==
 
==Description==
<tt><nowiki>{{afu|nation|variant|size=optional|name=optional}}</nowiki></tt>
+
<kbd><nowiki>{{afu|nation|variant|size=optional|name=optional}}</nowiki></kbd>
  
 
Produces a flag icon attached to a wikilinked national junior American football team article.
 
Produces a flag icon attached to a wikilinked national junior American football team article.
Line 13: Line 13:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
| <tt><nowiki>{{afu|Japan}}</nowiki></tt> || style="text-align:center;" | {{afu|Japan}}
+
| <kbd><nowiki>{{afu|Japan}}</nowiki></kbd> || style="text-align:center;" | {{afu|Japan}}
 
|-
 
|-
| <tt><nowiki>{{afu|GER}}</nowiki></tt> || style="text-align:center;" | {{afu|GER}}
+
| <kbd><nowiki>{{afu|GER}}</nowiki></kbd> || style="text-align:center;" | {{afu|GER}}
 
|}
 
|}
  

Revision as of 05:17, 5 August 2018

Description

{{afu|nation|variant|size=optional|name=optional}}

Produces a flag icon attached to a wikilinked national junior American football team article.

Parameters
  • nation — Use either the name of the nation or the three-letter country code as used by IOC
  • 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

{{afu|Japan}}  Japan
{{afu|GER}}  Germany

See also

  • Template:af - for national teams
  • Template:af-big — for rendering a larger flag, with the team name underneath the flag
  • Template:afu-big - for rendering a larger flag, with the team name underneath the flag for junior national teams