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 | 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| | *<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 | ||
*[[:Category:International rugby league teams]] | |||
*[[:Category: | |||
<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
This is a documentation subpage for Template:Rl. It may contain usage information, categories and other content that is not part of the original template page. |
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
- {{rl|Australia}} → File:Flag of Australia (converted).svg Australia
- {{rl|ENG}} → File:Flag of England.svg England
- {{rl|South Africa|1928}} → File:Flag of South Africa (1928–1994).svg South Africa
- {{rl|PNG|name=PNG}} → PNG
See also
- Template:rl-rt — for rendering the flag on the right
- Category:International rugby league teams