Difference between revisions of "Template:Af/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>HandsomeFella
m (8 revisions imported)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 +
{{For|the April fools' template|Template:April fools}}
 
==Description==
 
==Description==
<tt><nowiki>{{af|nation|variant|size=optional|name=optional}}</nowiki></tt>
+
<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 12:
  
 
==Examples==
 
==Examples==
*<tt><nowiki>{{af|USA}}</nowiki></tt> → {{af|USA}}
+
*<kbd><nowiki>{{af|USA}}</nowiki></kbd> → {{af|USA}}
*<tt><nowiki>{{af|Japan}}</nowiki></tt> → {{af|Japan}}
+
*<kbd><nowiki>{{af|Japan}}</nowiki></kbd> → {{af|Japan}}
*<tt><nowiki>{{af|Germany|name=GER}}</nowiki></tt> → {{af|Germany|name=GER}}
+
*<kbd><nowiki>{{af|Germany|name=GER}}</nowiki></kbd> → {{af|Germany|name=GER}}
  
 
==See also==
 
==See also==
Line 23: Line 24:
 
*[[:Category:National American football teams]]
 
*[[:Category:National American football teams]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Flag template system|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
</includeonly>
+
}}</includeonly>

Latest revision as of 10:55, 18 October 2020

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