Difference between revisions of "Template:Af-rt/doc"

From blackwiki
Jump to navigation Jump to search
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)
m (10 revisions imported)
 
(One intermediate revision by one other user not shown)
Line 19: Line 19:
 
*[[Template:af]] — for rendering the flag on the left
 
*[[Template:af]] — for rendering the flag on the left
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- Categories and interwikis go here: -->
 
<!-- Categories and interwikis go here: -->
 
[[Category:Flag template system]]
 
[[Category:Flag template system]]
</includeonly>
+
}}</includeonly>

Latest revision as of 10:55, 18 October 2020

Description

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

Produces a flag icon attached to a wikilinked national American football team article. Similar to Template:af, but puts the flag icon on the right side of the team name instead of to the left. This is useful when formatting match results.

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