Difference between revisions of "Template:Af/doc"
Jump to navigation
Jump to search
blackwiki>HandsomeFella |
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== | ||
| − | < | + | <kbd><nowiki>{{af|nation|variant|size=optional|name=optional}}</nowiki></kbd> |
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. | ||
| Line 11: | Line 11: | ||
==Examples== | ==Examples== | ||
| − | *< | + | *<kbd><nowiki>{{af|USA}}</nowiki></kbd> → {{af|USA}} |
| − | *< | + | *<kbd><nowiki>{{af|Japan}}</nowiki></kbd> → {{af|Japan}} |
| − | *< | + | *<kbd><nowiki>{{af|Germany|name=GER}}</nowiki></kbd> → {{af|Germany|name=GER}} |
==See also== | ==See also== | ||
Revision as of 05:15, 5 August 2018
| 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
- Template:afw – for women's national teams
- Category:National American football teams