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

From blackwiki
Jump to navigation Jump to search
blackwiki>The Banner
blackwiki>Maiō T.
(add description & parameters)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 +
 +
===Description===
 +
<code><nowiki>{{arf-rt|nation|variant|size=optional|name=optional}}</nowiki></code>
 +
 +
Produces a flag icon attached to a wikilinked national Australian rules football team article. Similar to [[Template:arf]], 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''&nbsp;– Use either the name of the nation or the three-letter country code
 +
*''variant'' (optional)&nbsp;– Specifies an alternate (historical) flag to use.  This parameter is documented by the appropriate template in [[:Category:Country data templates]].
 +
*''size'' (optional)&nbsp;– Can be used to change the flag icon size (use sparingly!)
 +
*''name'' (optional)&nbsp;– Can be used to change the wikilink display text
  
 
=== Usage ===
 
=== Usage ===
Line 10: Line 21:
 
=== See also ===
 
=== See also ===
 
*[[Template:arf]] — for rendering the flag on the left
 
*[[Template:arf]] — for rendering the flag on the left
 +
*[[Template:arf-big]] — for rendering a larger flag, with the team name underneath the flag
  
 
<includeonly>
 
<includeonly>

Revision as of 22:01, 2 May 2015

Description

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

Produces a flag icon attached to a wikilinked national Australian rules football team article. Similar to Template:arf, 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
  • 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

Usage

See also

  • Template:arf — for rendering the flag on the left
  • Template:arf-big — for rendering a larger flag, with the team name underneath the flag