Difference between revisions of "Template:Infobox ethnic group/doc"

From blackwiki
Jump to navigation Jump to search
(+ja)
imported>GreenC
(fix dead links)
 
(91 intermediate revisions by 55 users not shown)
Line 1: Line 1:
{{documentation subpage}}
+
{{Documentation subpage}}
<includeonly>{{pp-template|small=yes}}{{intricate template}}</includeonly>
+
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
== Usage ==
+
{{High-use}}
<pre>
+
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
{{Infobox Ethnic group
+
 
|group     =
+
== Syntax ==
|population =
+
 
|region1    =
+
=== Basic usage ===
|pop1      =
+
{{Parameter names example
|ref1      =
+
|group |native_name <!--|native_name_lang-->
|region2    =
+
|image |image_alt |image_caption |total |total_year |total_source
|pop2      =  
+
|total_ref=<sup class="reference nowrap" style="color:#002bb8;">{{{total_ref}}}</sup>
|ref2      =  
+
|genealogy |regions |languages |religions |related_groups |footnotes
|region3    =  
+
}}
|pop3      =
+
 
|ref3      =
+
<pre style="overflow:auto;">
|region4    =
+
{{Infobox ethnic group
|pop4      =
+
| group            = <!-- (defaults to {{PAGENAME}}) -->
|ref4      =
+
| native_name      =  
|region5    =
+
| native_name_lang =  
|pop5      =
+
| image            =  
|ref5      =
+
| image_caption   =  
|region6    =  
+
| image_alt        =  
|pop6      =
+
 
|ref6      =  
+
| total            = <!-- total population worldwide -->
|region7    =  
+
| total_year       = <!-- year of total population -->
|pop7      =  
+
| total_source    = <!-- source of total population; may be ''census'' or ''estimate'' -->
|ref7      =  
+
| total_ref        = <!-- references supporting total population -->
|region8   =  
+
| genealogy        =  
|pop8      =  
+
| regions          = <!-- e.g., a list of regions (countries), especially if regionN etc below not used -->
|ref8      =
+
 
|region9    =  
+
| languages       =
|pop9       =  
+
| religions       =
|ref9      =  
+
| related_groups  =  
|region10  =  
+
| footnotes       =  
|pop10      =  
 
|ref10      =  
 
|languages =  
 
|religions =  
 
|related    =  
 
|footnotes =  
 
 
}}
 
}}
 
</pre>
 
</pre>
  
== Example ==
+
=== Usage with detailed per-region population ===
{{Infobox Ethnic group
+
{{Parameter names example
|image        =  
+
|group |native_name <!--|native_name_lang-->
|group        = Tajiks<br/>(تاجيک {{unicode|Тоҷик}})
+
|image |image_alt|image_caption |total |total_year |total_source
|population  = [[Circa|c.]] 16.5 to 28.5 million
+
|total_ref=<sup class="reference nowrap" style="color:#002bb8;">{{{total_ref}}}</sup>|total1 |total1_year |total1_source |total1_ref |genealogy |regions |languages |religions |related_groups |footnotes
|region1      = {{flag|Afghanistan}}
+
|region1 |pop1 |ref1=<sup class="reference nowrap" style="color:#002bb8;">{{{ref1}}}</sup>
|pop1        = 8,400,000
+
|region2 |pop2 |ref2=<sup class="reference nowrap" style="color:#002bb8;">{{{ref2}}}</sup>
|ref1        = {{lower|0.75em|<ref>[https://www.cia.gov/library/publications/the-world-factbook/geos/af.html#People CIA - The World Factbook - Afghanistan]</ref>}}
+
|region3 |pop3 |ref3=<sup class="reference nowrap" style="color:#002bb8;">{{{ref3}}}</sup>
|region2      = {{flag|Tajikistan}}
+
|pop4=............
|pop2        = 5,849,331
+
|region33 |pop33 |ref33=<sup class="reference nowrap" style="color:#002bb8;">{{{ref33}}}</sup>
|ref2        = {{lower|0.75em|<ref>[https://www.cia.gov/library/publications/the-world-factbook/geos/ti.html#People CIA - The World Factbook - Tajikistan]</ref>}}
 
|region3      = {{flag|Uzbekistan}}<br/>{{spaces|9}}<small>(estimates vary)</small>
 
|pop3        = 1,365,356<br/>or&nbsp;4,915,284<br/>or&nbsp;11,000,000
 
|ref3        = {{lower|0.75em|<ref>[https://www.cia.gov/library/publications/the-world-factbook/geos/uz.html#People CIA - The World Factbook - Uzbekistan]</ref>}}<br/>{{lower|1.35em|<ref>[http://www.state.gov/g/drl/rls/hrrpt/1999/369.htm  US Department of State Report]</ref>}}<br/>{{lower|1.9em|<ref>D. Carlson, ''"Uzbekistan:  Ethnic Composition and Discriminations"'', [[Harvard University]], August 2003</ref>}}
 
|region4      = {{flag|Iran}}
 
|pop4        = 1,700,000
 
|ref4        =
 
|region5      = {{flag|Pakistan}}
 
|pop5        = 900,000
 
|ref5        =
 
|region6      = {{flag|Russia}}
 
|pop6        = 500,000
 
|ref6        =  
 
|region7      = {{flag|Germany}}
 
|pop7        = 120,000
 
|ref7        =  
 
|region8      = {{flag|United States}}
 
|pop8        = 93,000
 
|ref8        =
 
|region9      = {{flag|Qatar}}
 
|pop9        = 87,000
 
|ref9        =
 
|region10    = {{flag|People's Republic of China|name=China (PRC)}}
 
|pop10        = 41,000
 
|ref10        =
 
|languages    = [[Persian language|Persian]] (varieties of [[Dari]] and [[Tajik language|Tajik]])
 
|religions    = [[Islam]] (mostly [[Sunni]])
 
|related      = Other [[Iranian people]]
 
|footnotes    = Lorem ipsum dolor sit amet...<br />{{reflist}}
 
 
}}
 
}}
  
<pre style="overflow:auto">
+
<pre style="overflow:auto;">
{{Infobox Ethnic group
+
{{Infobox ethnic group
|group     = Tajiks<br/>(تاجيک {{unicode|Тоҷик}})
+
| group           = <!-- (defaults to {{PAGENAME}}) -->
|population = 16.5 to 28.5 million
+
| native_name      =  
|region1    = {{flag|Afghanistan}}
+
| native_name_lang =  
|pop1      = 8,400,000
+
| image            = <!-- filename -->
|ref1      = {{lower|<ref>...</ref>}}
+
| image_caption   =  
|region2   = {{flag|Tajikistan}}
+
| image_alt        =  
|pop2      = 5,849,331
+
 
|ref2      = {{lower|<ref>...</ref>}}
+
| total            = <!-- total population worldwide -->
|region3    = {{flag|Uzbekistan}}<br/>{{spaces|9}}<small>(estimates vary)</small>
+
| total_year      = <!-- year of total population -->
|pop3      = 1,365,356<br/>or&nbsp;4,915,284<br/>or&nbsp;11,000,000
+
| total_source    = <!-- source of total population; may be ''census'' or ''estimate'' -->
|ref3      = {{lower|0.75em|<ref>...</ref>}}<br/>{{lower|1.35em|<ref>...</ref>}}<br/>{{lower|1.9em|<ref>...</ref>}}
+
| total_ref        = <!-- references supporting total population -->
|region4    = {{flag|Iran}}
+
| total1          = <!-- up to | total3 = -->
|pop4      = 1,700,000
+
| total1_year      = <!-- up to | total3_year = -->
|ref4      =  
+
| total1_source    = <!-- up to | total3_source = -->
|region5    = {{flag|Pakistan}}
+
| total1_ref       = <!-- up to | total3_ref = -->
|pop5       = 900,000
+
| genealogy        =  
|ref5      =  
+
| regions          = <!-- e.g., a list of regions (countries), especially if regionN etc below not used -->
|region6    = {{flag|Russia}}
+
 
|pop6      = 500,000
+
| region1          = <!-- first region (country)'s name -->
|ref6      =  
+
| pop1            = <!-- population in first region -->
|region7    = {{flag|Germany}}
+
| ref1            = <!-- <ref>erence/s supporting pop1 data -->
|pop7      = 120,000
+
| region2          =  
|ref7      =  
+
| pop2            =  
|region8    = {{flag|United States}}
+
| ref2            =  
|pop8      = 93,000
+
| region3          = <!-- up to | region33 = -->
|ref8      =  
+
| pop3            = <!-- up to | pop33 = -->
|region9    = {{flag|Qatar}}
+
| ref3            = <!-- up to | ref33 = -->
|pop9      = 87,000
+
 
|ref9      =  
+
| languages       =  
|region10  =  
+
| religions       =  
|pop10      =  
+
| related_groups  =  
|ref10      =
+
| footnotes       =  
|languages =  
 
|religions =  
 
|related    =  
 
|footnotes =  
 
 
}}
 
}}
 
</pre>
 
</pre>
  
{{-}}
+
== Example ==
 +
{{Infobox ethnic group
 +
| group = Tajiks
 +
| native_name = {{lang|tgk|size=115%|تاجيک}} {{lang|tg|size=90%|Тоҷик}}
 +
| image = Thomas Edward Gordon Lake Victoria, Great Pamir, May 2nd, 1874.png
 +
| image_alt = Thomas Edward Gordon Lake Victoria, Great Pamir, May 2nd, 1874
 +
| population = {{circa}} 16.5 to 28.5 million
 +
| region1  = Afghanistan
 +
| pop1    = 8,400,000
 +
| ref1    = <ref>[https://www.cia.gov/the-world-factbook/countries/afghanistan CIA - The World Factbook - Afghanistan]</ref>
 +
| region2  = Tajikistan
 +
| pop2    = 5,849,331
 +
| ref2    = <ref>[https://www.cia.gov/the-world-factbook/countries/tajikistan CIA - The World Factbook - Tajikistan]</ref>
 +
| region3  = Uzbekistan
 +
| pop3    =
 +
  {{Unbulleted list |class=nowrap
 +
    | 1,365,356<ref>[https://www.cia.gov/the-world-factbook/countries/uzbekistan CIA - The World Factbook - Uzbekistan]</ref>
 +
    | or 4,915,284<ref>[http://www.state.gov/g/drl/rls/hrrpt/1999/369.htm US Department of State Report]</ref>
 +
    | or 11,000,000<ref>D. Carlson, ''Uzbekistan: Ethnic Composition and Discriminations'', [[Harvard University]], August 2003.</ref>
 +
  }}
 +
| region4  = Iran
 +
| pop4    = 1,700,000
 +
| ref4    =
 +
| region5  = Pakistan
 +
| pop5    = 900,000
 +
| ref5    =
 +
| region6  = Russia
 +
| pop6    = 500,000
 +
| ref6    =
 +
| region7  = Germany
 +
| pop7    = 120,000
 +
| ref7    =
 +
| region8  = United States
 +
| pop8    = 93,000
 +
| ref8    =
 +
| region9  = Qatar
 +
| pop9    = 87,000
 +
| ref9    =
 +
| region10 = China (PRC)
 +
| pop10    = 41,000
 +
| ref10    =
 +
| region11 = Ukraine
 +
| pop11    = 419
 +
| ref11    = <ref>[http://2001.ukrcensus.gov.ua/results/nationality_population/nationality_popul1/select_5/?botton=cens_db&box=5.1W&k_t=00&p=75&rz=1_1&rz_b=2_1%20%20%20&n_page=4 State statistics committee of Ukraine - National composition of population, 2001 census] (Ukrainian)</ref><ref>[http://www.state.gov/g/drl/rls/hrrpt/1999/369.htm  US Department of State Report]</ref><ref>D. Carlson, ''"Uzbekistan:  Ethnic Composition and Discriminations"'', [[Harvard University]], August 2003</ref>
 +
| languages = [[Persian language|Persian]] (varieties of [[Dari (Eastern Persian)|Dari]] and [[Tajik language|Tajik]])
 +
| religions = [[Islam]] (mostly [[Sunni]])
 +
| related_groups = Other [[Iranian peoples]]
 +
| footnotes = ''Lorem ipsum dolor sit amet...''<br/>{{reflist}}
 +
}}
 +
 
 +
<pre style="overflow:auto;">
 +
{{Infobox ethnic group
 +
| group = Tajiks
 +
| native_name = {{lang|tgk|size=115%|تاجيک}} {{lang|tg|size=90%|Тоҷик}}
 +
| image = Thomas Edward Gordon Lake Victoria, Great Pamir, May 2nd, 1874.png
 +
| image_alt = Thomas Edward Gordon Lake Victoria, Great Pamir, May 2nd, 1874
 +
| population = {{circa}} 16.5 to 28.5 million
 +
| region1  = Afghanistan
 +
| pop1    = 8,400,000
 +
| ref1    = <ref>[https://www.cia.gov/the-world-factbook/countries/afghanistan CIA - The World Factbook - Afghanistan]</ref>
 +
| region2  = Tajikistan
 +
| pop2    = 5,849,331
 +
| ref2    = <ref>[https://www.cia.gov/the-world-factbook/countries/tajikistan CIA - The World Factbook - Tajikistan]</ref>
 +
| region3  = Uzbekistan
 +
| pop3    =
 +
  {{Unbulleted list |class=nowrap
 +
    | 1,365,356<ref>[https://www.cia.gov/the-world-factbook/countries/uzbekistan CIA - The World Factbook - Uzbekistan]</ref>
 +
    | or 4,915,284<ref>[http://www.state.gov/g/drl/rls/hrrpt/1999/369.htm US Department of State Report]</ref>
 +
    | or 11,000,000<ref>D. Carlson, ''Uzbekistan: Ethnic Composition and Discriminations'', [[Harvard University]], August 2003.</ref>
 +
  }}
 +
| region4  = Iran
 +
| pop4    = 1,700,000
 +
| ref4    =
 +
| region5  = Pakistan
 +
| pop5    = 900,000
 +
| ref5    =
 +
| region6  = Russia
 +
| pop6    = 500,000
 +
| ref6    =
 +
| region7  = Germany
 +
| pop7    = 120,000
 +
| ref7    =
 +
| region8  = United States
 +
| pop8    = 93,000
 +
| ref8    =
 +
| region9  = Qatar
 +
| pop9    = 87,000
 +
| ref9    =
 +
| region10 = China (PRC)
 +
| pop10    = 41,000
 +
| ref10    =
 +
| region11 = Ukraine
 +
| pop11    = 419
 +
| ref11    = <ref>[http://2001.ukrcensus.gov.ua/results/nationality_population/nationality_popul1/select_5/?botton=cens_db&box=5.1W&k_t=00&p=75&rz=1_1&rz_b=2_1%20%20%20&n_page=4 State statistics committee of Ukraine - National composition of population, 2001 census] (Ukrainian)</ref><ref>[http://www.state.gov/g/drl/rls/hrrpt/1999/369.htm  US Department of State Report]</ref><ref>D. Carlson, ''"Uzbekistan:  Ethnic Composition and Discriminations"'', [[Harvard University]], August 2003</ref>
 +
| languages = [[Persian language|Persian]] (varieties of [[Dari (Eastern Persian)|Dari]] and [[Tajik language|Tajik]])
 +
| religions = [[Islam]] (mostly [[Sunni]])
 +
| related_groups = Other [[Iranian peoples]]
 +
| footnotes = ''Lorem ipsum dolor sit amet...''<br/>{{reflist}}
 +
}}
 +
</pre>{{clear right}}
  
 
== Parameters ==
 
== Parameters ==
 
All parameters optional except ''group''.
 
All parameters optional except ''group''.
 
{| class="wikitable"
 
{| class="wikitable"
|width="95px"| '''''group''''' || Name of the group (e.g. "Armenians").</tr>
+
! Parameter !! Description
| ''flag''          || To specify a flag image below the titlebar; see below for example. Please be cautious about using this: most ethnic groups do ''not'' have a strongly associated flag.</tr>
+
|-
| ''flag_caption''  || Caption to be placed below flag (if used).</tr>
+
|width="95px"| ''group'' || Name of the group (e.g., "Armenians").
| ''image''        || To specify an image below the titlebar (or flag); see below for example.</tr>
+
|-
| ''image_caption'' || (or ''caption'') Caption to be placed below image (if used).</tr>
+
| ''native_name''  || Name in local language. If more than one, separate using {{tl|Plain list}}
| ''population''    || (or ''pop'' or ''poptime'') Worldwide population.</tr>
+
|-
| ''genealogy''    || Worldwide population  under criteria including assimilated diasporas (useful to distinguish from ''population'' for certain ethnicities).</tr>
+
| ''native_name_lang'' || [[List of ISO 639-2 codes|ISO 639-2 code]], e.g., "fr" for French. If more than one, use {{tl|lang}} instead
| ''regions''      || (or ''popplace'') To introduce and/or indicate regional populations.</tr>
+
|-
| ''tablehdr''      || Heading above list of regions (region1, region2, etc).</tr>
+
| ''flag''          || To specify a flag image below the titlebar; see below for example. Please be cautious about using this: most ethnic groups do ''not'' have a strongly associated flag.
| ''region1''      || To list first region.</tr>
+
|-
| ''pop1''          || To list population in first region.</tr>
+
| ''flag_border''  || set to <code>no</code> to suppress the thin border around the flag image.
| ''ref1''          || To list footnote/s and/or URL/s for first region's information.</tr>
+
|-
| ''region2''      ||rowspan="3"| Ditto second region.</tr>
+
| ''flag_caption''  || Caption to be placed below flag (if used).  
| ''pop2''</tr>
+
|-
| ''ref2''</tr>
+
| ''flag_alt''      || Alt caption to be placed on flag image, per [[WP:ACCIM]].
| ......            || </tr>
+
|-
| ''region31''      ||rowspan="3"| Ditto thirty-first (and, currently, last) region.</tr>
+
| ''image''        || To specify an image below the titlebar (or flag); see below for example.
| ''pop31''</tr>
+
|-
| ''ref31''</tr>
+
| ''image_caption'' || (or ''caption'') Caption to be placed below image (if used).
| ''languages''    || (or ''langs'') List of languages spoken by group.</tr>
+
|-
| ''religions''    || (or ''rels'') List of group's religious affiliations.</tr>
+
| ''image_alt''    || Alt caption to be placed on image, per [[WP:ACCIM]].
| ''related''      || List of other ethnic groups related to the group. </tr>
+
|-
 +
| ''total''    || (or ''population'' or ''pop'') Worldwide population.
 +
|-
 +
| ''genealogy''    || Worldwide population  under criteria, including assimilated diasporas (useful to distinguish from ''population'' for certain ethnicities).
 +
|-
 +
| ''regions''      || (or ''popplace'') To introduce and/or indicate regional populations.
 +
|-
 +
| ''tablehdr''      || Heading above list of regions (region1, region2, etc.).
 +
|-
 +
| ''region1''      || To list first region.
 +
|-
 +
| ''pop1''          || To list population in first region.
 +
|-
 +
| ''ref1''          || To list footnote/s and/or URL/s for first region's information.
 +
|-
 +
| ''region2''      ||rowspan="3"| Ditto second region.
 +
|-
 +
| ''pop2''
 +
|-
 +
| ''ref2''
 +
|-
 +
| ......            ||  
 +
|-
 +
| ''region40''      ||rowspan="3"| Ditto fortiest (and, currently, last) region.
 +
|-
 +
| ''pop40''
 +
|-
 +
| ''ref40''
 +
|-
 +
| ''languages''    || (or ''langs'') List of languages spoken by group.
 +
|-
 +
| ''religions''    || (or ''rels'') List of group's religious affiliations.
 +
|-
 +
| ''related_groups''      || List of other ethnic groups related to the group.
 +
|-
 
| ''footnotes''    || List of footnotes
 
| ''footnotes''    || List of footnotes
 
|}
 
|}
  
===Example use of ''flag'', ''flag_caption'', ''image'' and ''image_caption'' (''caption'')===
+
===Example use of ''flag'' and ''image'' parameters===
{{smaller|(''flag'' and ''flag_caption'' for [[Basque people]], ''image'' and ''image_caption'' for [[Zulu]] people)}}
+
{{smaller|(''flag'' and ''flag_caption'' for [[Basque people]], ''image'' and ''image_caption'' for [[Zulu people|Zulu]] people)}}
 
<pre>
 
<pre>
|flag          = [[Image:Flag of the Basque Country.svg|100px]]
+
|flag          = Flag of the Basque Country.svg
 
|flag_caption  = The [[Ikurriña]], flag of the [[Basque Country]]
 
|flag_caption  = The [[Ikurriña]], flag of the [[Basque Country]]
 +
|flag_alt      = The Ikurriña, flag of the Basque Country
  
|image        = [[Image:ZuluWarriors.jpg|none|300px]]
+
|image        = ZuluWarriors.jpg
 
|image_caption = Zulu warriors (late nineteenth century)
 
|image_caption = Zulu warriors (late nineteenth century)
 +
|image_alt    = Zulu warriors (late nineteenth century)
 
</pre>
 
</pre>
  
== Related groups ==
+
== Microformat ==
''(discussion moved to talk)''
+
{{UF-hcard-org}}
  
 +
== TemplateData ==
 +
{{TemplateData header}}
 +
<templatedata>
 +
{
 +
"description": "Infobox template for an ethnic group",
 +
"format": "{{_\n| ________________ = _\n}}\n",
 +
"params": {
 +
"group": {
 +
"label": "Name",
 +
"description": "The name of the ethnic group. Defaults to the page name if empty.",
 +
"type": "string",
 +
"example": "Armenians",
 +
"default": "{{PAGENAME}}",
 +
"suggested": true
 +
},
 +
"native_name": {
 +
"label": "Native name",
 +
"description": "The name of the ethnic group in the local language. If there is more than one, enter each using the following templates: {{Plainlist|*{{lang|ISO 639-2 code (e.g., \"fr\")|First name}} *{{lang|ISO code|Second name}}}} etc.}}.",
 +
"type": "content",
 +
"suggested": true
 +
},
 +
"native_name_lang": {
 +
"label": "Native name language code",
 +
"description": "ISO 639-2 code (e.g., \"fr\" for French) for the language of the native name, if there is only one. If there is more than one, use just the \"Native name\" parameter instead, following the instructions there.",
 +
"type": "line",
 +
"example": "fr",
 +
"suggested": true
 +
},
 +
"flag": {
 +
"label": "Flag",
 +
"description": "A flag for the ethnic group",
 +
"type": "wiki-file-name"
 +
},
 +
"flag_caption": {
 +
"label": "Flag caption",
 +
"description": "A caption for the flag",
 +
"type": "string"
 +
},
 +
"rawimage": {
 +
"label": "raw image",
 +
"type": "wiki-file-name"
 +
},
 +
"image": {
 +
"label": "Image",
 +
"type": "wiki-file-name"
 +
},
 +
"image_caption": {
 +
"aliases": [
 +
"caption"
 +
],
 +
"label": "image caption"
 +
},
 +
"population": {
 +
"aliases": [
 +
"pop",
 +
"total",
 +
"total1"
 +
],
 +
"label": "Population",
 +
"type": "number"
 +
},
 +
"total_ref": {},
 +
"genealogy": {
 +
"label": "Ethnic population",
 +
"description": "Population including ancestral descent",
 +
"type": "number"
 +
},
 +
"total_year": {},
 +
"total_source": {
 +
"label": "Population source",
 +
"description": "\"census\" or \"estimate\"",
 +
"example": "census",
 +
"type": "string"
 +
},
 +
"total1_year": {},
 +
"total1_source": {},
 +
"total1_ref": {},
 +
"total2_year": {},
 +
"total2_source": {},
 +
"total2": {},
 +
"total2_ref": {},
 +
"total3_year": {},
 +
"total3_source": {},
 +
"total3": {},
 +
"total3_ref": {},
 +
"popplace": {},
 +
"regions": {},
 +
"region1": {},
 +
"tablehdr": {},
 +
"pop_embed": {},
 +
"pop1": {},
 +
"ref1": {},
 +
"region2": {},
 +
"pop2": {},
 +
"ref2": {},
 +
"region3": {},
 +
"pop3": {},
 +
"ref3": {},
 +
"region4": {},
 +
"pop4": {},
 +
"ref4": {},
 +
"region5": {},
 +
"pop5": {},
 +
"ref5": {},
 +
"region6": {},
 +
"pop6": {},
 +
"ref6": {},
 +
"region7": {},
 +
"pop7": {},
 +
"ref7": {},
 +
"region8": {},
 +
"pop8": {},
 +
"ref8": {},
 +
"region9": {},
 +
"pop9": {},
 +
"ref9": {},
 +
"region10": {},
 +
"pop10": {},
 +
"ref10": {},
 +
"region11": {},
 +
"pop11": {},
 +
"ref11": {},
 +
"region12": {},
 +
"pop12": {},
 +
"ref12": {},
 +
"region13": {},
 +
"pop13": {},
 +
"ref13": {},
 +
"region14": {},
 +
"pop14": {},
 +
"ref14": {},
 +
"region15": {},
 +
"pop15": {},
 +
"ref15": {},
 +
"region16": {},
 +
"pop16": {},
 +
"ref16": {},
 +
"region17": {},
 +
"pop17": {},
 +
"ref17": {},
 +
"region18": {},
 +
"pop18": {},
 +
"ref18": {},
 +
"region19": {},
 +
"pop19": {},
 +
"ref19": {},
 +
"region20": {},
 +
"pop20": {},
 +
"ref20": {},
 +
"region21": {},
 +
"pop21": {},
 +
"ref21": {},
 +
"region22": {},
 +
"pop22": {},
 +
"ref22": {},
 +
"region23": {},
 +
"pop23": {},
 +
"ref23": {},
 +
"region24": {},
 +
"pop24": {},
 +
"ref24": {},
 +
"region25": {},
 +
"pop25": {},
 +
"ref25": {},
 +
"region26": {},
 +
"pop26": {},
 +
"ref26": {},
 +
"region27": {},
 +
"pop27": {},
 +
"ref27": {},
 +
"region28": {},
 +
"pop28": {},
 +
"ref28": {},
 +
"region29": {},
 +
"pop29": {},
 +
"ref29": {},
 +
"region30": {},
 +
"pop30": {},
 +
"ref30": {},
 +
"region31": {},
 +
"pop31": {},
 +
"ref31": {},
 +
"region32": {},
 +
"pop32": {},
 +
"ref32": {},
 +
"languages": {
 +
"aliases": [
 +
"langs"
 +
],
 +
"label": "Languages",
 +
"type": "string",
 +
"example": "[[American English]], [[Hebrew language|Hebrew]], [[Yiddish]], minority [[Ladino]]",
 +
"suggested": true
 +
},
 +
"religions": {
 +
"aliases": [
 +
"rels"
 +
],
 +
"label": "Religions",
 +
"description": "Religions associated with the ethnic group",
 +
"type": "content",
 +
"example": "[[Christianity]]  ([[Roman Catholicism]] and [[Protestantism]]), minority [[Judaism]] and [[Buddhism]]",
 +
"suggested": true
 +
},
 +
"related_groups": {
 +
"aliases": [
 +
"related"
 +
],
 +
"label": "Related ethnic groups",
 +
"description": "Ethnic groups related to this group",
 +
"type": "content",
 +
"example": "[[Americans]], [[Canadians]], [[Han Chinese]]",
 +
"suggested": true
 +
},
 +
"related-c": {},
 +
"footnotes": {},
 +
"ref33": {},
 +
"region33": {},
 +
"pop33": {},
 +
"image_alt": {},
 +
"flag_alt": {}
 +
},
 +
"paramOrder": [
 +
"group",
 +
"native_name",
 +
"native_name_lang",
 +
"flag",
 +
"flag_caption",
 +
"flag_alt",
 +
"rawimage",
 +
"image",
 +
"image_caption",
 +
"image_alt",
 +
"population",
 +
"total_ref",
 +
"genealogy",
 +
"total_year",
 +
"total_source",
 +
"total1_year",
 +
"total1_source",
 +
"total1_ref",
 +
"total2_year",
 +
"total2_source",
 +
"total2",
 +
"total2_ref",
 +
"total3_year",
 +
"total3_source",
 +
"total3",
 +
"total3_ref",
 +
"popplace",
 +
"regions",
 +
"region1",
 +
"tablehdr",
 +
"pop_embed",
 +
"pop1",
 +
"ref1",
 +
"region2",
 +
"pop2",
 +
"ref2",
 +
"region3",
 +
"pop3",
 +
"ref3",
 +
"region4",
 +
"pop4",
 +
"ref4",
 +
"region5",
 +
"pop5",
 +
"ref5",
 +
"region6",
 +
"pop6",
 +
"ref6",
 +
"region7",
 +
"pop7",
 +
"ref7",
 +
"region8",
 +
"pop8",
 +
"ref8",
 +
"region9",
 +
"pop9",
 +
"ref9",
 +
"region10",
 +
"pop10",
 +
"ref10",
 +
"region11",
 +
"pop11",
 +
"ref11",
 +
"region12",
 +
"pop12",
 +
"ref12",
 +
"region13",
 +
"pop13",
 +
"ref13",
 +
"region14",
 +
"pop14",
 +
"ref14",
 +
"region15",
 +
"pop15",
 +
"ref15",
 +
"region16",
 +
"pop16",
 +
"ref16",
 +
"region17",
 +
"pop17",
 +
"ref17",
 +
"region18",
 +
"pop18",
 +
"ref18",
 +
"region19",
 +
"pop19",
 +
"ref19",
 +
"region20",
 +
"pop20",
 +
"ref20",
 +
"region21",
 +
"pop21",
 +
"ref21",
 +
"region22",
 +
"pop22",
 +
"ref22",
 +
"region23",
 +
"pop23",
 +
"ref23",
 +
"region24",
 +
"pop24",
 +
"ref24",
 +
"region25",
 +
"pop25",
 +
"ref25",
 +
"region26",
 +
"pop26",
 +
"ref26",
 +
"region27",
 +
"pop27",
 +
"ref27",
 +
"region28",
 +
"pop28",
 +
"ref28",
 +
"region29",
 +
"pop29",
 +
"ref29",
 +
"region30",
 +
"pop30",
 +
"ref30",
 +
"region31",
 +
"pop31",
 +
"ref31",
 +
"region32",
 +
"pop32",
 +
"ref32",
 +
"region33",
 +
"pop33",
 +
"ref33",
 +
"languages",
 +
"religions",
 +
"related_groups",
 +
"related-c",
 +
"footnotes"
 +
]
 +
}
 +
</templatedata>
  
<includeonly>
+
== Tracking categories ==
<!--Categories-->
+
* {{clc|"Related ethnic groups" needing confirmation}}
 +
* {{clc|Pages using infobox ethnic group with unsupported parameters}}
 +
* {{clc|Articles using infobox ethnic group with image parameters}}
 +
* {{clc|Articles using Template:Infobox ethnic group with deprecated parameters}}
 +
 
 +
== See also ==
 +
* {{tl|Infobox caste}}
 +
* {{tl|Infobox clan}}
 +
* {{tl|Infobox religious group}}
 +
* {{tl|Infobox tribe}}
 +
* [[Wikipedia:WikiProject Ethnic groups/Template]]
 +
 
 +
{{Organization infoboxes}}
 +
 
 +
<includeonly>{{sandbox other||
 +
<!-- Categories below this line; interwikis at Wikidata -->
 
[[Category:Ethnic group templates| ]]
 
[[Category:Ethnic group templates| ]]
[[Category:Society and social science infobox templates|Ethnic group]]
+
[[Category:Society and social science infobox templates|Ethnic Group]]
[[Category:WikiProject Ethnic groups templates|Infobox]]
+
[[Category:WikiProject Ethnic groups templates]]
 
+
[[Category:Templates that add a tracking category]]
<!--Other languages-->
+
}}</includeonly>
[[ar:قالب:مجموعة عرقية]]
 
[[br:Patrom:Infobox pobl]]
 
[[ca:Plantilla:Grup humà]]
 
[[cs:Šablona:Infobox etnické skupiny]]
 
[[da:Skabelon:Infoboks Folk]]
 
[[de:Vorlage:Infobox Ethnische Gruppe]]
 
[[dsb:Pśedłoga:Infokašćik etniska kupka]]
 
[[eo:Ŝablono:Informkesto etna grupo]]
 
[[es:Plantilla:Grupo étnico]]
 
[[fr:Modèle:Boite Groupe ethnique]]
 
[[hr:Template:Infobox Etnička grupa]]
 
[[he:תבנית:קבוצה אתנית]]
 
[[hsb:Předłoha:Infokašćik etniska skupina]]
 
[[it:Template:Gruppo etnico]]
 
[[ja:Template:Infobox 民族]]
 
[[ka:თარგი:ინფოდაფა ეთნიკური ჯგუფი]]
 
[[lv:Veidne:Tauta]]
 
[[hu:Sablon:Népcsoport]]
 
[[nl:Sjabloon:Volk]]
 
[[no:Mal:Infoboks folkeslag]]
 
[[pl:Szablon:Naród infobox]]
 
[[pt:Predefinição:Infobox grupo étnico]]
 
[[rmy:Format:Sel]]
 
[[ro:Format:Grup etnic]]
 
[[ru:Шаблон:Народ]]
 
[[simple:Template:Infobox Ethnic group]]
 
[[sl:Predloga:Infopolje Etnična skupina]]
 
[[fi:Malline:Etninen ryhmä]]
 
[[sv:Mall:Folkgrupp]]
 
[[tr:Şablon:Irk ve Etnik Grup]]
 
[[uk:Шаблон:Етнічна група]]
 
[[zh:Template:Infobox Ethnic group]]
 
</includeonly>
 

Latest revision as of 03:31, 24 January 2021

Syntax

Basic usage

Template:Parameter names example

{{Infobox ethnic group
| group            = <!-- (defaults to {{PAGENAME}}) -->
| native_name      = 
| native_name_lang = 
| image            = 
| image_caption    = 
| image_alt        = 

| total            = <!-- total population worldwide -->
| total_year       = <!-- year of total population -->
| total_source     = <!-- source of total population; may be ''census'' or ''estimate'' -->
| total_ref        = <!-- references supporting total population -->
| genealogy        = 
| regions          = <!-- e.g., a list of regions (countries), especially if regionN etc below not used -->

| languages        =
| religions        =
| related_groups   = 
| footnotes        = 
}}

Usage with detailed per-region population

Template:Parameter names example

{{Infobox ethnic group
| group            = <!-- (defaults to {{PAGENAME}}) -->
| native_name      = 
| native_name_lang = 
| image            = <!-- filename -->
| image_caption    = 
| image_alt        = 

| total            = <!-- total population worldwide -->
| total_year       = <!-- year of total population -->
| total_source     = <!-- source of total population; may be ''census'' or ''estimate'' -->
| total_ref        = <!-- references supporting total population -->
| total1           = <!-- up to | total3 = -->
| total1_year      = <!-- up to | total3_year = -->
| total1_source    = <!-- up to | total3_source = -->
| total1_ref       = <!-- up to | total3_ref = -->
| genealogy        = 
| regions          = <!-- e.g., a list of regions (countries), especially if regionN etc below not used -->

| region1          = <!-- first region (country)'s name -->
| pop1             = <!-- population in first region -->
| ref1             = <!-- <ref>erence/s supporting pop1 data -->
| region2          = 
| pop2             = 
| ref2             = 
| region3          = <!-- up to | region33 = -->
| pop3             = <!-- up to | pop33 = -->
| ref3             = <!-- up to | ref33 = -->

| languages        = 
| religions        = 
| related_groups   = 
| footnotes        = 
}}

Example

Tajiks
تاجيک Тоҷик
Thomas Edward Gordon Lake Victoria, Great Pamir, May 2nd, 1874
Total population
c. 16.5 to 28.5 million
Regions with significant populations
Afghanistan8,400,000[1]
Tajikistan5,849,331[2]
Uzbekistan
Iran1,700,000
Pakistan900,000
Russia500,000
Germany120,000
United States93,000
Qatar87,000
China (PRC)41,000
Ukraine419[6][7][8]
Languages
Persian (varieties of Dari and Tajik)
Religion
Islam (mostly Sunni)
Related ethnic groups
Other Iranian peoples

Lorem ipsum dolor sit amet...
{{Infobox ethnic group
| group = Tajiks
| native_name = {{lang|tgk|size=115%|تاجيک}} {{lang|tg|size=90%|Тоҷик}}
| image = Thomas Edward Gordon Lake Victoria, Great Pamir, May 2nd, 1874.png
| image_alt = Thomas Edward Gordon Lake Victoria, Great Pamir, May 2nd, 1874
| population = {{circa}} 16.5 to 28.5 million
| region1  = Afghanistan
| pop1     = 8,400,000
| ref1     = <ref>[https://www.cia.gov/the-world-factbook/countries/afghanistan CIA - The World Factbook - Afghanistan]</ref>
| region2  = Tajikistan
| pop2     = 5,849,331
| ref2     = <ref>[https://www.cia.gov/the-world-factbook/countries/tajikistan CIA - The World Factbook - Tajikistan]</ref>
| region3  = Uzbekistan
| pop3     =
   {{Unbulleted list |class=nowrap
    | 1,365,356<ref>[https://www.cia.gov/the-world-factbook/countries/uzbekistan CIA - The World Factbook - Uzbekistan]</ref>
    | or 4,915,284<ref>[http://www.state.gov/g/drl/rls/hrrpt/1999/369.htm US Department of State Report]</ref>
    | or 11,000,000<ref>D. Carlson, ''Uzbekistan: Ethnic Composition and Discriminations'', [[Harvard University]], August 2003.</ref>
   }}
| region4  = Iran
| pop4     = 1,700,000
| ref4     = 
| region5  = Pakistan
| pop5     = 900,000
| ref5     = 
| region6  = Russia
| pop6     = 500,000
| ref6     = 
| region7  = Germany
| pop7     = 120,000
| ref7     = 
| region8  = United States
| pop8     = 93,000
| ref8     = 
| region9  = Qatar
| pop9     = 87,000
| ref9     = 
| region10 = China (PRC)
| pop10    = 41,000
| ref10    = 
| region11 = Ukraine
| pop11    = 419
| ref11    = <ref>[http://2001.ukrcensus.gov.ua/results/nationality_population/nationality_popul1/select_5/?botton=cens_db&box=5.1W&k_t=00&p=75&rz=1_1&rz_b=2_1%20%20%20&n_page=4 State statistics committee of Ukraine - National composition of population, 2001 census] (Ukrainian)</ref><ref>[http://www.state.gov/g/drl/rls/hrrpt/1999/369.htm  US Department of State Report]</ref><ref>D. Carlson, ''"Uzbekistan:  Ethnic Composition and Discriminations"'', [[Harvard University]], August 2003</ref>
| languages = [[Persian language|Persian]] (varieties of [[Dari (Eastern Persian)|Dari]] and [[Tajik language|Tajik]])
| religions = [[Islam]] (mostly [[Sunni]])
| related_groups = Other [[Iranian peoples]]
| footnotes = ''Lorem ipsum dolor sit amet...''<br/>{{reflist}}
}}

Parameters

All parameters optional except group.

Parameter Description
group Name of the group (e.g., "Armenians").
native_name Name in local language. If more than one, separate using {{Plain list}}
native_name_lang ISO 639-2 code, e.g., "fr" for French. If more than one, use {{lang}} instead
flag To specify a flag image below the titlebar; see below for example. Please be cautious about using this: most ethnic groups do not have a strongly associated flag.
flag_border set to no to suppress the thin border around the flag image.
flag_caption Caption to be placed below flag (if used).
flag_alt Alt caption to be placed on flag image, per WP:ACCIM.
image To specify an image below the titlebar (or flag); see below for example.
image_caption (or caption) Caption to be placed below image (if used).
image_alt Alt caption to be placed on image, per WP:ACCIM.
total (or population or pop) Worldwide population.
genealogy Worldwide population under criteria, including assimilated diasporas (useful to distinguish from population for certain ethnicities).
regions (or popplace) To introduce and/or indicate regional populations.
tablehdr Heading above list of regions (region1, region2, etc.).
region1 To list first region.
pop1 To list population in first region.
ref1 To list footnote/s and/or URL/s for first region's information.
region2 Ditto second region.
pop2
ref2
......
region40 Ditto fortiest (and, currently, last) region.
pop40
ref40
languages (or langs) List of languages spoken by group.
religions (or rels) List of group's religious affiliations.
related_groups List of other ethnic groups related to the group.
footnotes List of footnotes

Example use of flag and image parameters

(flag and flag_caption for Basque people, image and image_caption for Zulu people)

|flag          = Flag of the Basque Country.svg
|flag_caption  = The [[Ikurriña]], flag of the [[Basque Country]]
|flag_alt      = The Ikurriña, flag of the Basque Country

|image         = ZuluWarriors.jpg
|image_caption = Zulu warriors (late nineteenth century)
|image_alt     = Zulu warriors (late nineteenth century)

Microformat

Template:UF-hcard-org

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 Infobox ethnic group

Infobox template for an ethnic group

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Namegroup

The name of the ethnic group. Defaults to the page name if empty.

Default
{{PAGENAME}}
Example
Armenians
Stringsuggested
Native namenative_name

The name of the ethnic group in the local language. If there is more than one, enter each using the following templates: {{Plainlist|*{{lang|ISO 639-2 code (e.g., "fr")|First name}} *{{lang|ISO code|Second name}}}} etc.}}.

Contentsuggested
Native name language codenative_name_lang

ISO 639-2 code (e.g., "fr" for French) for the language of the native name, if there is only one. If there is more than one, use just the "Native name" parameter instead, following the instructions there.

Example
fr
Linesuggested
Flagflag

A flag for the ethnic group

Fileoptional
Flag captionflag_caption

A caption for the flag

Stringoptional
Flag_altflag_alt

no description

Unknownoptional
raw imagerawimage

no description

Fileoptional
Imageimage

no description

Fileoptional
image captionimage_caption caption

no description

Unknownoptional
Image_altimage_alt

no description

Unknownoptional
Populationpopulation pop total total1

no description

Numberoptional
Total_reftotal_ref

no description

Unknownoptional
Ethnic populationgenealogy

Population including ancestral descent

Numberoptional
Total_yeartotal_year

no description

Unknownoptional
Population sourcetotal_source

"census" or "estimate"

Example
census
Stringoptional
Total1_yeartotal1_year

no description

Unknownoptional
Total1_sourcetotal1_source

no description

Unknownoptional
Total1_reftotal1_ref

no description

Unknownoptional
Total2_yeartotal2_year

no description

Unknownoptional
Total2_sourcetotal2_source

no description

Unknownoptional
Total2total2

no description

Unknownoptional
Total2_reftotal2_ref

no description

Unknownoptional
Total3_yeartotal3_year

no description

Unknownoptional
Total3_sourcetotal3_source

no description

Unknownoptional
Total3total3

no description

Unknownoptional
Total3_reftotal3_ref

no description

Unknownoptional
Popplacepopplace

no description

Unknownoptional
Regionsregions

no description

Unknownoptional
Region1region1

no description

Unknownoptional
Tablehdrtablehdr

no description

Unknownoptional
Pop_embedpop_embed

no description

Unknownoptional
Pop1pop1

no description

Unknownoptional
Ref1ref1

no description

Unknownoptional
Region2region2

no description

Unknownoptional
Pop2pop2

no description

Unknownoptional
Ref2ref2

no description

Unknownoptional
Region3region3

no description

Unknownoptional
Pop3pop3

no description

Unknownoptional
Ref3ref3

no description

Unknownoptional
Region4region4

no description

Unknownoptional
Pop4pop4

no description

Unknownoptional
Ref4ref4

no description

Unknownoptional
Region5region5

no description

Unknownoptional
Pop5pop5

no description

Unknownoptional
Ref5ref5

no description

Unknownoptional
Region6region6

no description

Unknownoptional
Pop6pop6

no description

Unknownoptional
Ref6ref6

no description

Unknownoptional
Region7region7

no description

Unknownoptional
Pop7pop7

no description

Unknownoptional
Ref7ref7

no description

Unknownoptional
Region8region8

no description

Unknownoptional
Pop8pop8

no description

Unknownoptional
Ref8ref8

no description

Unknownoptional
Region9region9

no description

Unknownoptional
Pop9pop9

no description

Unknownoptional
Ref9ref9

no description

Unknownoptional
Region10region10

no description

Unknownoptional
Pop10pop10

no description

Unknownoptional
Ref10ref10

no description

Unknownoptional
Region11region11

no description

Unknownoptional
Pop11pop11

no description

Unknownoptional
Ref11ref11

no description

Unknownoptional
Region12region12

no description

Unknownoptional
Pop12pop12

no description

Unknownoptional
Ref12ref12

no description

Unknownoptional
Region13region13

no description

Unknownoptional
Pop13pop13

no description

Unknownoptional
Ref13ref13

no description

Unknownoptional
Region14region14

no description

Unknownoptional
Pop14pop14

no description

Unknownoptional
Ref14ref14

no description

Unknownoptional
Region15region15

no description

Unknownoptional
Pop15pop15

no description

Unknownoptional
Ref15ref15

no description

Unknownoptional
Region16region16

no description

Unknownoptional
Pop16pop16

no description

Unknownoptional
Ref16ref16

no description

Unknownoptional
Region17region17

no description

Unknownoptional
Pop17pop17

no description

Unknownoptional
Ref17ref17

no description

Unknownoptional
Region18region18

no description

Unknownoptional
Pop18pop18

no description

Unknownoptional
Ref18ref18

no description

Unknownoptional
Region19region19

no description

Unknownoptional
Pop19pop19

no description

Unknownoptional
Ref19ref19

no description

Unknownoptional
Region20region20

no description

Unknownoptional
Pop20pop20

no description

Unknownoptional
Ref20ref20

no description

Unknownoptional
Region21region21

no description

Unknownoptional
Pop21pop21

no description

Unknownoptional
Ref21ref21

no description

Unknownoptional
Region22region22

no description

Unknownoptional
Pop22pop22

no description

Unknownoptional
Ref22ref22

no description

Unknownoptional
Region23region23

no description

Unknownoptional
Pop23pop23

no description

Unknownoptional
Ref23ref23

no description

Unknownoptional
Region24region24

no description

Unknownoptional
Pop24pop24

no description

Unknownoptional
Ref24ref24

no description

Unknownoptional
Region25region25

no description

Unknownoptional
Pop25pop25

no description

Unknownoptional
Ref25ref25

no description

Unknownoptional
Region26region26

no description

Unknownoptional
Pop26pop26

no description

Unknownoptional
Ref26ref26

no description

Unknownoptional
Region27region27

no description

Unknownoptional
Pop27pop27

no description

Unknownoptional
Ref27ref27

no description

Unknownoptional
Region28region28

no description

Unknownoptional
Pop28pop28

no description

Unknownoptional
Ref28ref28

no description

Unknownoptional
Region29region29

no description

Unknownoptional
Pop29pop29

no description

Unknownoptional
Ref29ref29

no description

Unknownoptional
Region30region30

no description

Unknownoptional
Pop30pop30

no description

Unknownoptional
Ref30ref30

no description

Unknownoptional
Region31region31

no description

Unknownoptional
Pop31pop31

no description

Unknownoptional
Ref31ref31

no description

Unknownoptional
Region32region32

no description

Unknownoptional
Pop32pop32

no description

Unknownoptional
Ref32ref32

no description

Unknownoptional
Region33region33

no description

Unknownoptional
Pop33pop33

no description

Unknownoptional
Ref33ref33

no description

Unknownoptional
Languageslanguages langs

no description

Example
[[American English]], [[Hebrew language|Hebrew]], [[Yiddish]], minority [[Ladino]]
Stringsuggested
Religionsreligions rels

Religions associated with the ethnic group

Example
[[Christianity]] ([[Roman Catholicism]] and [[Protestantism]]), minority [[Judaism]] and [[Buddhism]]
Contentsuggested
Related ethnic groupsrelated_groups related

Ethnic groups related to this group

Example
[[Americans]], [[Canadians]], [[Han Chinese]]
Contentsuggested
Related-crelated-c

no description

Unknownoptional
Footnotesfootnotes

no description

Unknownoptional

Tracking categories

See also

Template:Organization infoboxes