Difference between revisions of "Template:Af/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Shootmaster 44
Line 5: Line 5:
 
Produces a flag icon attached to a wikilinked national American football team article.
 
Produces a flag icon attached to a wikilinked national American football team article.
 
;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]].
 
*''size'' (optional) — Can be used to change the flag icon size (use sparingly!)
 
*''size'' (optional) — Can be used to change the flag icon size (use sparingly!)
Line 11: Line 11:
  
 
==Examples==
 
==Examples==
==Examples==
+
*<tt><nowiki>{{af|USA}}</nowiki></tt> → {{af|USA}}
{| class="wikitable"
+
*<tt><nowiki>{{af|Japan}}</nowiki></tt> {{af|Japan}}
|-
+
*<tt><nowiki>{{af|Germany|name=GER}}</nowiki></tt> {{af|Germany|name=GER}}
| <tt><nowiki>{{af|Japan}}</nowiki></tt> ||align=center| {{af|Japan}}
 
|-
 
| <tt><nowiki>{{af|GER}}</nowiki></tt> ||align=center| {{af|GER}}
 
|}
 
  
 
==See also==
 
==See also==
Line 24: Line 20:
 
*[[Template:afu-big]] - for rendering a larger flag, with the team name underneath the flag for junior national teams
 
*[[Template:afu-big]] - for rendering a larger flag, with the team name underneath the flag for junior national teams
 
*[[Template:af-rt]] - for rendering the flag on the right, useful for single line game results
 
*[[Template:af-rt]] - for rendering the flag on the right, useful for single line game results
 +
*[[:Category:National American football teams]]
  
 
<includeonly>
 
<includeonly>
 
[[Category:Flag template system|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
 
</includeonly>
 
</includeonly>

Revision as of 21:31, 25 January 2014

Description

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

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

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.
  • 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