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

From CWS Planet
Jump to navigation Jump to search
m (1 revision imported)
 
(No difference)

Latest revision as of 12:38, 18 January 2016

Syntax

Basic usage

{{{group}}}
{{{native_name}}}
[[File:{{{image}}}|frameless]]
{{{image_caption}}}
Total population
{{{total}}}{{{total_ref}}} ({{{total_year}}})
Languages
{{{languages}}}
Religion
{{{religions}}}
Related ethnic groups
{{{related_groups}}}

{{{footnotes}}}
{{Infobox ethnic group
| group =             <!-- (defaults to {{PAGENAME}}) -->
| native_name = 
| native_name_lang = 
| flag =              <!-- (image filename) -->
| flag_caption = 
| image =             <!-- filename; or | rawimage = -->
| image_caption = 

| 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 =           <!-- for 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

{{{group}}}
{{{native_name}}}
[[File:{{{image}}}|frameless]]
{{{image_caption}}}
Total population
{{{total}}}{{{total_ref}}} ({{{total_year}}})
Regions with significant populations
{{{region1}}}{{{pop1}}}{{{ref1}}}
{{{region2}}}{{{pop2}}}{{{ref2}}}
{{{region3}}}{{{pop3}}}{{{ref3}}}
............
{{{region32}}}{{{pop32}}}{{{ref32}}}
Languages
{{{languages}}}
Religion
{{{religions}}}
Related ethnic groups
{{{related_groups}}}

{{{footnotes}}}
{{Infobox ethnic group
| group =             <!-- (defaults to {{PAGENAME}}) -->
| native_name = 
| native_name_lang = 
| flag =              <!-- (image filename) -->
| flag_caption = 
| image =             <!-- filename; or | rawimage = -->
| image_caption = 

| 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 =           <!-- for e.g. a list of regions (countries), especially if regionN etc below not used -->

| region1 =           <!-- first region (country)'s name / {{flagcountry|name}} -->
| pop1 =              <!-- population in first region -->
| ref1 =              <!-- <ref>erence/s supporting pop1 data -->
| region2 = 
| pop2 = 
| ref2 = 
| region3 = 
| pop3 = 
| ref3 = 
<!-- etc, to: -->
| region32 = 
| pop32 = 
| ref32 = 

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

Example

Tajiks
تاجيک Тоҷик
Total population
c. 16.5 to 28.5 million
Regions with significant populations
File:Flag of Afghanistan.svg Afghanistan8,400,000[1]
File:Flag of Tajikistan.svg Tajikistan5,849,331[2]
File:Flag of Uzbekistan.svg Uzbekistan
File:Flag of Iran.svg Iran1,700,000
File:Flag of Pakistan.svg Pakistan900,000
File:Flag of Russia.svg Russia500,000
File:Flag of Germany.svg Germany120,000
File:Flag of the United States.svg United States93,000
File:Flag of Qatar.svg Qatar87,000
File:Flag of the People's Republic of China.svg China (PRC)41,000
File:Flag of Ukraine.svg 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%|{{unicode|Тоҷик}}}}
| image = | image_caption = 
| population = {{circa}} 16.5 to 28.5 million
| region1  = {{flagcountry|Afghanistan}}
| pop1     = 8,400,000
| ref1     = <ref>[https://www.cia.gov/library/publications/the-world-factbook/geos/af.html CIA - The World Factbook - Afghanistan]</ref>
| region2  = {{flagcountry|Tajikistan}}
| pop2     = 5,849,331
| ref2     = <ref>[https://www.cia.gov/library/publications/the-world-factbook/geos/ti.html CIA - The World Factbook - Tajikistan]</ref>
| region3  = {{flagcountry|Uzbekistan}}
| pop3     =
   {{Unbulleted list |class=nowrap
    | 1,365,356<ref>[https://www.cia.gov/library/publications/the-world-factbook/geos/uz.html 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  = {{flagcountry|Iran}}
| pop4     = 1,700,000
| ref4     = 
| region5  = {{flagcountry|Pakistan}}
| pop5     = 900,000
| ref5     = 
| region6  = {{flagcountry|Russia}}
| pop6     = 500,000
| ref6     = 
| region7  = {{flagcountry|Germany}}
| pop7     = 120,000
| ref7     = 
| region8  = {{flagcountry|United States}}
| pop8     = 93,000
| ref8     = 
| region9  = {{flagcountry|Qatar}}
| pop9     = 87,000
| ref9     = 
| region10 = {{flagcountry|People's Republic of China|name=China (PRC)}}
| pop10    = 41,000
| ref10    = 
| region11 = {{flagcountry|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_caption Caption to be placed below flag (if used).
image To specify an image below the titlebar (or flag); see below for example.
rawimage To specify raw code for an image below the titlebar. Overrides image.
image_caption (or caption) Caption to be placed below image (if used).
population (or pop or poptime) 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
......
region31 Ditto thirty-first (and, currently, last) region.
pop31
ref31
languages (or langs) List of languages spoken by group.
religions (or rels) List of group's religious affiliations.
related List of other ethnic groups related to the group.
footnotes List of footnotes

Example use of flag, flag_caption, image and image_caption (caption)

(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]]

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

Microformat

The HTML mark-up produced by this template includes an hCard microformat that makes an organization's details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

Subtemplates

Please do not remove instances of these subtemplates.

Classes used

The HTML classes of this microformat include:

Page Template:Flatlist/styles.css has no content.
  • adr
  • agent
  • category
  • country-name
  • extended-address
  • fn
  • geo
  • label
  • latitude
  • locality
  • longitude
  • nickname
  • note
  • org
  • region
  • street-address
  • url
  • vcard
Please do not rename or remove these classes
nor collapse nested elements which use them.

See also