Difference between revisions of "Template:Cr/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>Zyxw
(prevent sandbox for being included in categories)
 
Line 44: Line 44:
 
*[[:Category:National cricket teams]]
 
*[[:Category:National cricket teams]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
[[Category:Cricket templates|{{PAGENAME}}]]
+
[[Category:Cricket templates]]
[[Category:Flag template system|{{PAGENAME}}]]
+
[[Category:Flag template system]]
</includeonly>
+
 
 +
}}</includeonly>

Latest revision as of 00:04, 17 December 2018

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

Description

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Cr

Produces a flag icon attached to a wikilinked national cricket team article.
ParameterDescriptionTypeStatus
Nation1
Use either the name of the nation or a three-letter country code, as specified by ISO 3166-1, IOC or FIFA (most should work),
Stringrequired
Flag variant2
variant
Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.
Stringoptional
Image sizesize
Can be used to change the flag icon size (use sparingly!)
Unknownoptional
Link textname
Can be used to change the wikilink display text.
Lineoptional

Examples

See also