Template:Rl/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Nthep →See also: add link |
meta>Jonesey95 |
||
Line 2: | Line 2: | ||
==Description== | ==Description== | ||
< | <code><nowiki>{{rl|nation|variant|size=optional|name=optional}}</nowiki></code> | ||
Produces a flag icon attached to a wikilinked national [[rugby league]] team article. | Produces a flag icon attached to a wikilinked national [[rugby league]] team article. | ||
Line 12: | Line 12: | ||
==Examples== | ==Examples== | ||
*< | *<code><nowiki>{{rl|Australia}}</nowiki></code> → {{rl|Australia}} | ||
*< | *<code><nowiki>{{rl|ENG}}</nowiki></code> → {{rl|ENG}} | ||
*< | *<code><nowiki>{{rl|South Africa|1928}}</nowiki></code> → {{rl|South Africa|1928}} | ||
*< | *<code><nowiki>{{rl|PNG|name=PNG}}</nowiki></code> → {{rl|PNG|name=PNG}} | ||
*< | *<code><nowiki>{{rl|New Zealand Māori}}</nowiki></code> → {{rl|New Zealand Māori}} | ||
==See also== | ==See also== |
Revision as of 23:52, 5 December 2019
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{{rl|New Zealand Māori}}
→ Māori
See also
- Template:rl-rt — for rendering the flag on the right
- Template:rlicon – for rendering a flagicon (only) wikilinked national rugby league team article
- Template:rlnt — for rendering a text only link to the national rugby league team article
- Category:National rugby league teams