Difference between revisions of "Template:Crw/doc"

From blackwiki
Jump to navigation Jump to search
imported>DC Assam
(Undid revision 514468758 by Dipankar Chetia (talk))
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
==Description==
 
==Description==
<tt><nowiki>{{crw|nation|variant|size=optional|name=optional}}</nowiki></tt>
+
<kbd><nowiki>{{crw|nation|variant|size=optional|name=optional}}</nowiki></kbd>
  
 
Produces a flag icon attached to a wikilinked national cricket team article.
 
Produces a flag icon attached to a wikilinked national cricket team article.
Line 11: Line 11:
  
 
==Examples==
 
==Examples==
*<tt><nowiki>{{crw|AUS}}</nowiki></tt> → {{crw|AUS}}
+
*<kbd><nowiki>{{crw|AUS}}</nowiki></kbd> → {{crw|AUS}}
*<tt><nowiki>{{crw|Sri Lanka}}</nowiki></tt> → {{crw|Sri Lanka}}
+
*<kbd><nowiki>{{crw|Sri Lanka}}</nowiki></kbd> → {{crw|Sri Lanka}}
*<tt><nowiki>{{crw|South Africa|1928}}</nowiki></tt> → {{crw|South Africa|1928}}
+
*<kbd><nowiki>{{crw|South Africa|1928}}</nowiki></kbd> → {{crw|South Africa|1928}}
*<tt><nowiki>{{crw|India|name=IND}}</nowiki></tt> → {{crw|India|name=IND}}
+
*<kbd><nowiki>{{crw|India|name=IND}}</nowiki></kbd> → {{crw|India|name=IND}}
  
 
== See also ==
 
== See also ==
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}}]]
</includeonly>
+
}}</includeonly>

Latest revision as of 22:17, 24 April 2020

Description

{{crw|nation|variant|size=optional|name=optional}}

Produces a flag icon attached to a wikilinked national cricket 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

See also