Template:Rl/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Meddlin' Pedant Creation |
m 10 revisions imported |
||
(9 intermediate revisions by 9 users not shown) | |||
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 | 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 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== | ||
*[[Template:rl-rt]] — for rendering the flag on the right | *[[Template:rl-rt]] — for rendering the flag on the right | ||
*[[Template: | *[[Template:rlicon]] – for rendering a flagicon (only) wikilinked national rugby league team article | ||
*[[Template: | *[[Template:rlnt]] — for rendering a text only link to the national rugby league team article | ||
*[[:Category:National rugby league teams]] | *[[:Category:National rugby league teams]] | ||
<includeonly> | <includeonly>{{Sandbox other|| | ||
<!-- 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}}]] | ||
[[bn:টেমপ্লেট:Rl]] | |||
</includeonly> | }}</includeonly> |
Latest revision as of 13:41, 3 September 2020
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