Difference between revisions of "Template:Af/doc"
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 [[ | + | *''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== | ||
| − | + | *<tt><nowiki>{{af|USA}}</nowiki></tt> → {{af|USA}} | |
| − | {| | + | *<tt><nowiki>{{af|Japan}}</nowiki></tt> → {{af|Japan}} |
| − | | | + | *<tt><nowiki>{{af|Germany|name=GER}}</nowiki></tt> → {{af|Germany|name=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
| This is a documentation subpage for Template:Af. It contains usage information, categories and other content that is not part of the original template page. |
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
- {{af|USA}} →
United States - {{af|Japan}} →
Japan - {{af|Germany|name=GER}} →
GER
See also
- Template:af-big — for rendering a larger flag, with the team name underneath the flag
- Template:afu — 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
- Category:National American football teams