Difference between revisions of "Template:Cr/doc"

From blackwiki
Jump to navigation Jump to search
imported>Andrwsc
(Replaced content with 'Lies')
Line 1: Line 1:
{{documentation subpage}}
+
Lies
==Description==
 
<tt><nowiki>{{cr|nation|variant|size=optional|name=optional}}</nowiki></tt>
 
 
 
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 3166-1 alpha-3|ISO]], [[List of IOC country codes|IOC]] or [[List of FIFA country codes|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==
 
*<tt><nowiki>{{cr|AUS}}</nowiki></tt> → {{cr|AUS}}
 
*<tt><nowiki>{{cr|India|name=IND}}</nowiki></tt> → {{cr|India|name=IND}}
 
*<tt><nowiki>{{cr|Pakistan|name=PAK}}</nowiki></tt> → {{cr|Pakistan|name=PAK}}
 
*<tt><nowiki>{{cr|Sri Lanka}}</nowiki></tt> → {{cr|Sri Lanka}}
 
*<tt><nowiki>{{cr|South Africa|1928}}</nowiki></tt> → {{cr|South Africa|1928}}
 
 
 
==See also==
 
*[[Template:cr-rt]] — for rendering the flag on the right
 
*[[Template:crw]] — for women's teams
 
*[[Template:cr19]] — for Under-19 teams
 
*[[Template:cricon]] — for rendering the flag icon only
 
*[[:Category:National cricket teams]]
 
 
 
<includeonly>
 
[[Category:Cricket templates|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
 
</includeonly>
 

Revision as of 07:21, 2 August 2016

Lies