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

From blackwiki
Jump to navigation Jump to search
blackwiki>Maiō T.
(new doc page)
 
blackwiki>Maiō T.
(add size)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
==Description==
+
===Description===
<code><nowiki>{{arf-big|nation|variant|name=optional}}</nowiki></code>
+
<code><nowiki>{{arf-big|nation|variant|size=optional|name=optional}}</nowiki></code>
  
Produces a flag icon attached to a wikilinked national Australian rules football team article. This differs from [[Template:arf]], making the flag icon larger and putting the team name underneath the flag. This style is used for certain event results tables.<br />
+
Produces a flag icon attached to a wikilinked national Australian rules football team article. This differs from [[Template:arf]], making the flag icon larger and putting the team name underneath the flag. This style is used for certain event results tables.
'''Parameters'''
+
 
 +
===Parameters===
 
*''nation'' — Use either the name of the nation or the three-letter country code
 
*''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]].
 
*''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
 
*''name'' (optional) — Can be used to change the wikilink display text
  
==Examples==
+
===Examples===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 18: Line 20:
 
| <code><nowiki>{{arf-big|South Africa|1928}}</nowiki></code> || style="text-align:center;" | {{arf-big|South Africa|1928}}
 
| <code><nowiki>{{arf-big|South Africa|1928}}</nowiki></code> || style="text-align:center;" | {{arf-big|South Africa|1928}}
 
|-
 
|-
| <code><nowiki>{{arf-big|USA|1912|name=USA}}</nowiki></code> || style="text-align:center;" | {{arf-big|USA|1912|name=USA}}
+
| <code><nowiki>{{arf-big|SAM|size=50px|name=SAM}}</nowiki></code> || style="text-align:center;" | {{arf-big|SAM|size=50px|name=SAM}}
 
|}
 
|}
  
==See also==
+
===See also===
*[[Template:arf]] — to put the flag on the left
+
*[[Template:arf]] — for rendering the flag on the left
*[[Template:arf-rt]] — to put the flag on the right
+
*[[Template:arf-rt]] — for rendering the flag on the right
  
 
<includeonly>
 
<includeonly>

Revision as of 22:10, 2 May 2015

Description

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

Produces a flag icon attached to a wikilinked national Australian rules football team article. This differs from Template:arf, making the flag icon larger and putting the team name underneath the flag. This style is used for certain event results tables.

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

Examples

{{arf-big|Australia}}
Australia
{{arf-big|NZL}}
New Zealand
{{arf-big|South Africa|1928}}
South Africa
{{arf-big|SAM|size=50px|name=SAM}}
SAM

See also