Difference between revisions of "Template:Bio icon/doc"

From blackwiki
Jump to navigation Jump to search
imported>Excirial
(Removing a copypaste error)
imported>Vanisaac
m (→‎TemplateData: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{documentation subpage}}
 +
{{High-use|78,000}}
 
== TemplateData==
 
== TemplateData==
 +
{{TemplateDataHeader}}
 
<TemplateData>
 
<TemplateData>
 
{
 
{
Line 6: Line 9:
 
                 "1": {
 
                 "1": {
 
                         "label": "Country name",
 
                         "label": "Country name",
                         "description": "The name of the country whose flag should be displayed. For a full list of supported values please refer to 'Category:Country data templates",
+
                         "description": "The name of the country whose flag should be displayed. For a full list of supported values please refer to 'Category:Country data templates'",
 
                         "type": "string",
 
                         "type": "string",
 
                         "required": true
 
                         "required": true
Line 19: Line 22:
 
}
 
}
 
</TemplateData>
 
</TemplateData>
 +
<includeonly>{{Sandbox other||
 +
[[Category:Data templates]]
 +
}}</includeonly>

Latest revision as of 23:58, 23 April 2020

TemplateData

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 Bio icon

This template displays an icon of two humans and a country flag, based on the country name provided in the template

Template parameters

ParameterDescriptionTypeStatus
Country name1

The name of the country whose flag should be displayed. For a full list of supported values please refer to 'Category:Country data templates'

Stringrequired
Size2

The size the template should be, measured in pixels (Example: 10px)

Stringoptional