Difference between revisions of "Template:Infobox ethnic group/doc"
(+ja) |
imported>GreenC (fix dead links) |
||
| (91 intermediate revisions by 55 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Documentation subpage}} |
| − | < | + | <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> |
| − | == | + | {{High-use}} |
| − | + | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} | |
| − | {{ | + | |
| − | |group | + | == Syntax == |
| − | | | + | |
| − | | | + | === Basic usage === |
| − | | | + | {{Parameter names example |
| − | | | + | |group |native_name <!--|native_name_lang--> |
| − | | | + | |image |image_alt |image_caption |total |total_year |total_source |
| − | | | + | |total_ref=<sup class="reference nowrap" style="color:#002bb8;">{{{total_ref}}}</sup> |
| − | + | |genealogy |regions |languages |religions |related_groups |footnotes | |
| − | + | }} | |
| − | | | + | |
| − | | | + | <pre style="overflow:auto;"> |
| − | | | + | {{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 = |
| − | | | ||
| − | | | ||
| − | |languages | ||
| − | |religions | ||
| − | | | ||
| − | |footnotes | ||
}} | }} | ||
</pre> | </pre> | ||
| − | == | + | === Usage with detailed per-region population === |
| − | + | {{Parameter names example | |
| − | + | |group |native_name <!--|native_name_lang--> | |
| − | + | |image |image_alt|image_caption |total |total_year |total_source | |
| − | + | |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 |pop1 |ref1=<sup class="reference nowrap" style="color:#002bb8;">{{{ref1}}}</sup> | |
| − | | | + | |region2 |pop2 |ref2=<sup class="reference nowrap" style="color:#002bb8;">{{{ref2}}}</sup> |
| − | + | |region3 |pop3 |ref3=<sup class="reference nowrap" style="color:#002bb8;">{{{ref3}}}</sup> | |
| − | | | + | |pop4=............ |
| − | | | + | |region33 |pop33 |ref33=<sup class="reference nowrap" style="color:#002bb8;">{{{ref33}}}</sup> |
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | | | ||
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| − | <pre style="overflow:auto"> | + | <pre style="overflow:auto;"> |
| − | {{Infobox | + | {{Infobox ethnic group |
| − | |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 = | |
| − | |languages | ||
| − | |religions | ||
| − | | | ||
| − | |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"| | + | ! 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.</ | + | |- |
| − | | ''flag_caption'' || Caption to be placed below flag (if used). | + | |width="95px"| ''group'' || Name of the group (e.g., "Armenians"). |
| − | | ''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). | + | | ''native_name'' || Name in local language. If more than one, separate using {{tl|Plain list}} |
| − | | '' | + | |- |
| − | | ''genealogy'' || Worldwide population under criteria including assimilated diasporas (useful to distinguish from ''population'' for certain ethnicities). | + | | ''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. | + | |- |
| − | | ''tablehdr'' || Heading above list of regions (region1, region2, etc). | + | | ''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. | + | |- |
| − | | ''pop1'' || To list population in first region. | + | | ''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. | + | |- |
| − | | ''region2'' ||rowspan="3"| Ditto second region. | + | | ''flag_caption'' || Caption to be placed below flag (if used). |
| − | | ''pop2'' | + | |- |
| − | | ''ref2'' | + | | ''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). |
| − | | ''languages'' || (or ''langs'') List of languages spoken by group. | + | |- |
| − | | ''religions'' || (or ''rels'') List of group's religious affiliations. | + | | ''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'' ||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'' | + | ===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 = | + | |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 |
|image_caption = Zulu warriors (late nineteenth century) | |image_caption = Zulu warriors (late nineteenth century) | ||
| + | |image_alt = Zulu warriors (late nineteenth century) | ||
</pre> | </pre> | ||
| − | == | + | == Microformat == |
| − | + | {{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 | + | [[Category:Society and social science infobox templates|Ethnic Group]] |
| − | [[Category:WikiProject Ethnic groups templates | + | [[Category:WikiProject Ethnic groups templates]] |
| − | + | [[Category:Templates that add a tracking category]] | |
| − | + | }}</includeonly> | |
| − | [[ | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | </includeonly> | ||
Latest revision as of 03:31, 24 January 2021
| 40px | This is a documentation subpage for Template:Infobox ethnic group. It contains usage information, categories and other content that is not part of the original template page. |
| 40px | This template is used on approximately 6,500 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
| 30px | This template uses Lua: |
Contents
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
تاجيک Тоҷик | |
|---|---|
| Thomas Edward Gordon Lake Victoria, Great Pamir, May 2nd, 1874 | |
| Total population | |
| c. 16.5 to 28.5 million | |
| Regions with significant populations | |
| Afghanistan | 8,400,000[1] |
| Tajikistan | 5,849,331[2] |
| Uzbekistan | |
| Iran | 1,700,000 |
| Pakistan | 900,000 |
| Russia | 500,000 |
| Germany | 120,000 |
| United States | 93,000 |
| Qatar | 87,000 |
| China (PRC) | 41,000 |
| Ukraine | 419[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
TemplateData
TemplateData for Infobox ethnic group
Infobox template for an ethnic group
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | group | The name of the ethnic group. Defaults to the page name if empty.
| String | suggested |
| Native name | native_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.}}. | Content | suggested |
| Native name language code | native_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.
| Line | suggested |
| Flag | flag | A flag for the ethnic group | File | optional |
| Flag caption | flag_caption | A caption for the flag | String | optional |
| Flag_alt | flag_alt | no description | Unknown | optional |
| raw image | rawimage | no description | File | optional |
| Image | image | no description | File | optional |
| image caption | image_caption caption | no description | Unknown | optional |
| Image_alt | image_alt | no description | Unknown | optional |
| Population | population pop total total1 | no description | Number | optional |
| Total_ref | total_ref | no description | Unknown | optional |
| Ethnic population | genealogy | Population including ancestral descent | Number | optional |
| Total_year | total_year | no description | Unknown | optional |
| Population source | total_source | "census" or "estimate"
| String | optional |
| Total1_year | total1_year | no description | Unknown | optional |
| Total1_source | total1_source | no description | Unknown | optional |
| Total1_ref | total1_ref | no description | Unknown | optional |
| Total2_year | total2_year | no description | Unknown | optional |
| Total2_source | total2_source | no description | Unknown | optional |
| Total2 | total2 | no description | Unknown | optional |
| Total2_ref | total2_ref | no description | Unknown | optional |
| Total3_year | total3_year | no description | Unknown | optional |
| Total3_source | total3_source | no description | Unknown | optional |
| Total3 | total3 | no description | Unknown | optional |
| Total3_ref | total3_ref | no description | Unknown | optional |
| Popplace | popplace | no description | Unknown | optional |
| Regions | regions | no description | Unknown | optional |
| Region1 | region1 | no description | Unknown | optional |
| Tablehdr | tablehdr | no description | Unknown | optional |
| Pop_embed | pop_embed | no description | Unknown | optional |
| Pop1 | pop1 | no description | Unknown | optional |
| Ref1 | ref1 | no description | Unknown | optional |
| Region2 | region2 | no description | Unknown | optional |
| Pop2 | pop2 | no description | Unknown | optional |
| Ref2 | ref2 | no description | Unknown | optional |
| Region3 | region3 | no description | Unknown | optional |
| Pop3 | pop3 | no description | Unknown | optional |
| Ref3 | ref3 | no description | Unknown | optional |
| Region4 | region4 | no description | Unknown | optional |
| Pop4 | pop4 | no description | Unknown | optional |
| Ref4 | ref4 | no description | Unknown | optional |
| Region5 | region5 | no description | Unknown | optional |
| Pop5 | pop5 | no description | Unknown | optional |
| Ref5 | ref5 | no description | Unknown | optional |
| Region6 | region6 | no description | Unknown | optional |
| Pop6 | pop6 | no description | Unknown | optional |
| Ref6 | ref6 | no description | Unknown | optional |
| Region7 | region7 | no description | Unknown | optional |
| Pop7 | pop7 | no description | Unknown | optional |
| Ref7 | ref7 | no description | Unknown | optional |
| Region8 | region8 | no description | Unknown | optional |
| Pop8 | pop8 | no description | Unknown | optional |
| Ref8 | ref8 | no description | Unknown | optional |
| Region9 | region9 | no description | Unknown | optional |
| Pop9 | pop9 | no description | Unknown | optional |
| Ref9 | ref9 | no description | Unknown | optional |
| Region10 | region10 | no description | Unknown | optional |
| Pop10 | pop10 | no description | Unknown | optional |
| Ref10 | ref10 | no description | Unknown | optional |
| Region11 | region11 | no description | Unknown | optional |
| Pop11 | pop11 | no description | Unknown | optional |
| Ref11 | ref11 | no description | Unknown | optional |
| Region12 | region12 | no description | Unknown | optional |
| Pop12 | pop12 | no description | Unknown | optional |
| Ref12 | ref12 | no description | Unknown | optional |
| Region13 | region13 | no description | Unknown | optional |
| Pop13 | pop13 | no description | Unknown | optional |
| Ref13 | ref13 | no description | Unknown | optional |
| Region14 | region14 | no description | Unknown | optional |
| Pop14 | pop14 | no description | Unknown | optional |
| Ref14 | ref14 | no description | Unknown | optional |
| Region15 | region15 | no description | Unknown | optional |
| Pop15 | pop15 | no description | Unknown | optional |
| Ref15 | ref15 | no description | Unknown | optional |
| Region16 | region16 | no description | Unknown | optional |
| Pop16 | pop16 | no description | Unknown | optional |
| Ref16 | ref16 | no description | Unknown | optional |
| Region17 | region17 | no description | Unknown | optional |
| Pop17 | pop17 | no description | Unknown | optional |
| Ref17 | ref17 | no description | Unknown | optional |
| Region18 | region18 | no description | Unknown | optional |
| Pop18 | pop18 | no description | Unknown | optional |
| Ref18 | ref18 | no description | Unknown | optional |
| Region19 | region19 | no description | Unknown | optional |
| Pop19 | pop19 | no description | Unknown | optional |
| Ref19 | ref19 | no description | Unknown | optional |
| Region20 | region20 | no description | Unknown | optional |
| Pop20 | pop20 | no description | Unknown | optional |
| Ref20 | ref20 | no description | Unknown | optional |
| Region21 | region21 | no description | Unknown | optional |
| Pop21 | pop21 | no description | Unknown | optional |
| Ref21 | ref21 | no description | Unknown | optional |
| Region22 | region22 | no description | Unknown | optional |
| Pop22 | pop22 | no description | Unknown | optional |
| Ref22 | ref22 | no description | Unknown | optional |
| Region23 | region23 | no description | Unknown | optional |
| Pop23 | pop23 | no description | Unknown | optional |
| Ref23 | ref23 | no description | Unknown | optional |
| Region24 | region24 | no description | Unknown | optional |
| Pop24 | pop24 | no description | Unknown | optional |
| Ref24 | ref24 | no description | Unknown | optional |
| Region25 | region25 | no description | Unknown | optional |
| Pop25 | pop25 | no description | Unknown | optional |
| Ref25 | ref25 | no description | Unknown | optional |
| Region26 | region26 | no description | Unknown | optional |
| Pop26 | pop26 | no description | Unknown | optional |
| Ref26 | ref26 | no description | Unknown | optional |
| Region27 | region27 | no description | Unknown | optional |
| Pop27 | pop27 | no description | Unknown | optional |
| Ref27 | ref27 | no description | Unknown | optional |
| Region28 | region28 | no description | Unknown | optional |
| Pop28 | pop28 | no description | Unknown | optional |
| Ref28 | ref28 | no description | Unknown | optional |
| Region29 | region29 | no description | Unknown | optional |
| Pop29 | pop29 | no description | Unknown | optional |
| Ref29 | ref29 | no description | Unknown | optional |
| Region30 | region30 | no description | Unknown | optional |
| Pop30 | pop30 | no description | Unknown | optional |
| Ref30 | ref30 | no description | Unknown | optional |
| Region31 | region31 | no description | Unknown | optional |
| Pop31 | pop31 | no description | Unknown | optional |
| Ref31 | ref31 | no description | Unknown | optional |
| Region32 | region32 | no description | Unknown | optional |
| Pop32 | pop32 | no description | Unknown | optional |
| Ref32 | ref32 | no description | Unknown | optional |
| Region33 | region33 | no description | Unknown | optional |
| Pop33 | pop33 | no description | Unknown | optional |
| Ref33 | ref33 | no description | Unknown | optional |
| Languages | languages langs | no description
| String | suggested |
| Religions | religions rels | Religions associated with the ethnic group
| Content | suggested |
| Related ethnic groups | related_groups related | Ethnic groups related to this group
| Content | suggested |
| Related-c | related-c | no description | Unknown | optional |
| Footnotes | footnotes | no description | Unknown | optional |
Tracking categories
- Category:"Related ethnic groups" needing confirmation (0)
- Category:Pages using infobox ethnic group with unsupported parameters (0)
- Category:Articles using infobox ethnic group with image parameters (0)
- Category:Articles using Template:Infobox ethnic group with deprecated parameters (0)
See also
- {{Infobox caste}}
- {{Infobox clan}}
- {{Infobox religious group}}
- {{Infobox tribe}}
- Wikipedia:WikiProject Ethnic groups/Template
Template:Organization infoboxes