Template:Rl/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Meddlin' Pedant
Creation
 
meta>Andrwsc
some cleanup; change one example for variety
Line 4: Line 4:
<tt><nowiki>{{rl|nation|variant|size=optional|name=optional}}</nowiki></tt>
<tt><nowiki>{{rl|nation|variant|size=optional|name=optional}}</nowiki></tt>


Produces a flag icon attached to a wikilinked national rugby union team article.
Produces a flag icon attached to a wikilinked national [[rugby league]] team article.
;Parameters
;Parameters
*''nation'' — Use either the name of the nation or a three-letter country code, as specified by [[ISO 3166-1 alpha-3|ISO]], [[List of IOC country codes|IOC]] or [[List of FIFA country codes|FIFA]] (most should work)
*''nation'' — Use either the name of the nation or a three-letter country code, as specified by [[ISO 3166-1 alpha-3|ISO]], [[List of IOC country codes|IOC]] or [[List of FIFA country codes|FIFA]] (most should work)
Line 15: Line 15:
*<tt><nowiki>{{rl|ENG}}</nowiki></tt> → {{rl|ENG}}
*<tt><nowiki>{{rl|ENG}}</nowiki></tt> → {{rl|ENG}}
*<tt><nowiki>{{rl|South Africa|1928}}</nowiki></tt> → {{rl|South Africa|1928}}
*<tt><nowiki>{{rl|South Africa|1928}}</nowiki></tt> → {{rl|South Africa|1928}}
*<tt><nowiki>{{rl|France|name=FRA}}</nowiki></tt> → {{rl|France|name=FRA}}
*<tt><nowiki>{{rl|PNG|name=PNG}}</nowiki></tt> → {{rl|PNG|name=PNG}}


==See also==
==See also==
*[[Template:rl-rt]] — for rendering the flag on the right
*[[Template:rl-rt]] — for rendering the flag on the right
*[[Template:rl21]] — for men's under-21 national teams
*[[:Category:International rugby league teams]]
*[[Template:rlw]] — for women's national teams
*[[:Category:National rugby league teams]]


<includeonly>
<includeonly>
Line 27: Line 25:
[[Category:Rugby league templates]]
[[Category:Rugby league templates]]
[[Category:Flag template system]]
[[Category:Flag template system]]
</includeonly>
</includeonly>

Revision as of 18:45, 4 November 2007

Description

{{rl|nation|variant|size=optional|name=optional}}

Produces a flag icon attached to a wikilinked national rugby league team article.

Parameters
  • nation — Use either the name of the nation or a three-letter country code, as specified by ISO, IOC or FIFA (most should work)
  • 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