Difference between revisions of "Template:Cr-rt/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 23: Line 23:
 
*[[:Category:National cricket teams]]
 
*[[:Category:National cricket teams]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Cricket templates|{{PAGENAME}}]]
 
[[Category:Cricket templates|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
  
 
[[hi:Template:Cr-rt]]
 
[[hi:Template:Cr-rt]]
</includeonly>
+
}}</includeonly>

Latest revision as of 22:10, 24 April 2020

Description

{{cr-rt|nation|variant|size=optional|name=optional}}

Produces a flag icon attached to a wikilinked national cricket team article. Similar to Template:Cr, but puts the flag icon on the right side of the team name instead of to the left. This is useful when formatting match results.

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