Template:Rl/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Andrwsc some cleanup; change one example for variety |
meta>Tcncv Added {{PAGENAME}} to category references |
||
Line 23: | Line 23: | ||
<includeonly> | <includeonly> | ||
<!-- categories and interwiki links --> | <!-- categories and interwiki links --> | ||
[[Category:Rugby league templates]] | [[Category:Rugby league templates|{{PAGENAME}}]] | ||
[[Category:Flag template system]] | [[Category:Flag template system|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> |
Revision as of 20:14, 1 September 2008
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