Difference between revisions of "Template: Ethnic group" - New World Encyclopedia

From New World Encyclopedia
(Fix tags, remove categories)
m (Tweak)
Line 1: Line 1:
{|class="infobox bordered" style="width:22em; font-size:95%; text-align:left;" cellpadding="3"
+
{|class="infobox" style="width:22em; margin-top:0.75em; background:#fff6d9; text-align:center; font-size:95%;" cellpadding="2"
! colspan="2" style="text-align:center; font-size:larger; background-color:#b08261; color:#fee8ab;" | {{{group}}}
+
<!-------------------------Heading------------------------->
 +
!style="background:#b08261; color:#fee8ab; text-align:center; font-size:larger;"| {{{group}}}
 
|-
 
|-
| colspan="2" style="text-align:center; padding:0px; border:none;" | {{{image|}}}
+
<!--------------------------Flag--------------------------->
 +
{{#if:{{{flag|}}} |<!--then:-->
 +
{{!}}style="border:none; padding:0.6em 0 0 0;"{{!}} {{{flag|}}}
 +
{{!-}}
 +
{{!}}style="border:none; {{#if:{{{image|}}}|<!--then small padding:-->padding:0.3em;|<!--else more padding before sections below:-->padding:0.6em;<!--end #if:-->}} line-height:11pt; font-size:95%;"{{!}} {{{flag_caption|}}}
 +
}}
 
|-
 
|-
| colspan="2" style="text-align:center; padding:0px; border:none;" | {{{caption|}}}
+
<!-------------------------Image--------------------------->
 +
{{#if:{{{image|}}} |<!--then:-->
 +
{{!}}style="border:none; padding:0.6em 0 0 0;"{{!}} {{{image|}}}
 +
{{!-}}
 +
{{!}}style="border:none; padding:0.3em 0 0.6em 0; line-height:11pt; font-size:95%;"{{!}} {{{image_caption|}}}{{{caption|}}}
 +
}}
 
|-
 
|-
! style="background-color:#fee8ab;" | Total population
+
<!--------------------Total population--------------------->
| style="background-color:#fff6d9;" | {{{poptime}}}
+
!style="background:#fee8ab;"| Total population
 
|-
 
|-
! style="background-color:#fee8ab;" | Regions with significant populations
+
| {{{population|}}}{{{pop|}}}{{{poptime|}}}
| style="background-color:#fff6d9;" | {{{popplace}}}
 
 
|-
 
|-
! style="background-color:#fee8ab;" | Language
+
<!------------------------Regions-------------------------->
| style="background-color:#fff6d9;" | {{{langs}}}
+
!style="background:#fee8ab; line-height:14pt;"| Regions with significant populations
 
|-
 
|-
! style="background-color:#fee8ab;" | Religion
+
{{!}} {{#if:{{{popplace|}}}{{{regions|}}} |<!--then:-->
| style="background-color:#fff6d9;" | {{{rels}}}
+
{{{popplace|}}}{{{regions|}}} }} {{#if:{{{region1|}}}|<!--then region1 specified, so prepare table:-->{{#if:{{{popplace|}}}{{{regions|}}} |<!--then new row needed:-->
 +
{{!-}}
 +
{{!}} }}<!--
 +
<!----(table begins)----->
 +
{{{!}} align="center" style="width:100%; background:transparent; line-height:12pt; text-align:left; font-size:95%;"
 +
{{#if:{{{tablehdr|}}} | {{!}}colspan="3" style="text-align:center; font-size:105%;"{{!}} {{{tablehdr}}}}}
 +
{{!-}}
 +
{{!}} {{{region1|}}} {{!!}}align="right"{{!}} {{{pop1|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref1|}}}
 +
{{!-}}
 +
{{#if:{{{region2|}}} | {{!}} {{{region2|}}} {{!!}}align="right"{{!}} {{{pop2|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref2|}}}
 +
{{!-}} <!--end #if:-->}}
 +
{{#if:{{{region3|}}} | {{!}} {{{region3|}}} {{!!}}align="right"{{!}} {{{pop3|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref3|}}}
 +
{{!-}} }}
 +
{{#if:{{{region4|}}} | {{!}} {{{region4|}}} {{!!}}align="right"{{!}} {{{pop4|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref4|}}}
 +
{{!-}} }}
 +
{{#if:{{{region5|}}} | {{!}} {{{region5|}}} {{!!}}align="right"{{!}} {{{pop5|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref5|}}}
 +
{{!-}} }}
 +
{{#if:{{{region6|}}} | {{!}} {{{region6|}}} {{!!}}align="right"{{!}} {{{pop6|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref6|}}}
 +
{{!-}} }}
 +
{{#if:{{{region7|}}} | {{!}} {{{region7|}}} {{!!}}align="right"{{!}} {{{pop7|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref7|}}}
 +
{{!-}} }}
 +
{{#if:{{{region8|}}} | {{!}} {{{region8|}}} {{!!}}align="right"{{!}} {{{pop8|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref8|}}}
 +
{{!-}} }}
 +
{{#if:{{{region9|}}} | {{!}} {{{region9|}}} {{!!}}align="right"{{!}} {{{pop9|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref9|}}}
 +
{{!-}} }}
 +
{{#if:{{{region10|}}} | {{!}} {{{region10|}}} {{!!}}align="right"{{!}} {{{pop10|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref10|}}}
 +
{{!-}} }}
 +
{{#if:{{{region11|}}} | {{!}} {{{region11|}}} {{!!}}align="right"{{!}} {{{pop11|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref11|}}}
 +
{{!-}} }}
 +
{{#if:{{{region12|}}} | {{!}} {{{region12|}}} {{!!}}align="right"{{!}} {{{pop12|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref12|}}}
 +
{{!-}} }}
 +
{{#if:{{{region13|}}} | {{!}} {{{region13|}}} {{!!}}align="right"{{!}} {{{pop13|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref13|}}}
 +
{{!-}} }}
 +
{{#if:{{{region14|}}} | {{!}} {{{region14|}}} {{!!}}align="right"{{!}} {{{pop14|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref14|}}}
 +
{{!-}} }}
 +
{{#if:{{{region15|}}} | {{!}} {{{region15|}}} {{!!}}align="right"{{!}} {{{pop15|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref15|}}}
 +
{{!-}} }}
 +
{{#if:{{{region16|}}} | {{!}} {{{region16|}}} {{!!}}align="right"{{!}} {{{pop16|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref16|}}}
 +
{{!-}} }}
 +
{{#if:{{{region17|}}} | {{!}} {{{region17|}}} {{!!}}align="right"{{!}} {{{pop17|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref17|}}}
 +
{{!-}} }}
 +
{{#if:{{{region18|}}} | {{!}} {{{region18|}}} {{!!}}align="right"{{!}} {{{pop18|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref18|}}}
 +
{{!-}} }}
 +
{{#if:{{{region19|}}} | {{!}} {{{region19|}}} {{!!}}align="right"{{!}} {{{pop19|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref19|}}}
 +
{{!-}} }}
 +
{{#if:{{{region20|}}} | {{!}} {{{region20|}}} {{!!}}align="right"{{!}} {{{pop20|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref20|}}}
 +
{{!-}} }}
 +
{{#if:{{{region21|}}} | {{!}} {{{region21|}}} {{!!}}align="right"{{!}} {{{pop21|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref21|}}}
 +
{{!-}} }}
 +
{{#if:{{{region22|}}} | {{!}} {{{region22|}}} {{!!}}align="right"{{!}} {{{pop22|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref22|}}}
 +
{{!-}} }}
 +
{{#if:{{{region23|}}} | {{!}} {{{region23|}}} {{!!}}align="right"{{!}} {{{pop23|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref23|}}}
 +
{{!-}} }}
 +
{{#if:{{{region24|}}} | {{!}} {{{region24|}}} {{!!}}align="right"{{!}} {{{pop24|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref24|}}}
 +
{{!-}} }}
 +
{{#if:{{{region25|}}} | {{!}} {{{region25|}}} {{!!}}align="right"{{!}} {{{pop25|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref25|}}}
 +
{{!-}} }}
 +
{{#if:{{{region26|}}} | {{!}} {{{region26|}}} {{!!}}align="right"{{!}} {{{pop26|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref26|}}}
 +
{{!-}} }}
 +
{{#if:{{{region27|}}} | {{!}} {{{region27|}}} {{!!}}align="right"{{!}} {{{pop27|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref27|}}}
 +
{{!-}} }}
 +
{{#if:{{{region28|}}} | {{!}} {{{region28|}}} {{!!}}align="right"{{!}} {{{pop28|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref28|}}}
 +
{{!-}} }}
 +
{{#if:{{{region29|}}} | {{!}} {{{region29|}}} {{!!}}align="right"{{!}} {{{pop29|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref29|}}}
 +
{{!-}} }}
 +
{{#if:{{{region30|}}} | {{!}} {{{region30|}}} {{!!}}align="right"{{!}} {{{pop30|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref30|}}}
 +
{{!-}} }}
 +
{{#if:{{{region31|}}} | {{!}} {{{region31|}}} {{!!}}align="right"{{!}} {{{pop31|}}} {{!!}}style="padding-left:1em;"{{!}} {{{ref31|}}}
 +
{{!-}} }}
 +
{{!}}}
 +
<!--end #if:-->}}
 
|-
 
|-
! {{#if:{{{related|}}}|style="background-color:#fee8ab;"|}} | {{#if:{{{related|}}}|Related ethnic groups|}}
+
<!------------------------Languages------------------------>
| {{#if:{{{related|}}}|style="background-color:#fff6d9;"|}} | {{#if:{{{related|}}}|{{{related}}}|}}
+
!style="background:#fee8ab;"| Languages
|}<noinclude>
+
|-
==Usage note==
+
| {{{langs|}}}{{{languages|}}}
The parameters are:
+
|-
 
+
<!------------------------Religions------------------------>
* {{{group}}} — the name of the group (e.g. Armenians).
+
!style="background:#fee8ab;"| Religions
* {{{image}}} — place an appropriate image here. (Optional)
+
|-
* {{{caption}}} — place an appropriate caption for the image here. (Optional, should be used only if there is an image)
+
| {{{rels|}}}{{{religions|}}}
* {{{poptime}}} — show how the population has changed over time; you can use {{[[Template:population|population]]}} to format each entry.
+
<!---------------------Related groups---------------------->
* {{{popplace}}} — show the population of the group in various different places; you can use {{[[Template:population|population]]}} to format each entry.
+
{{#if:{{{related|}}}{{{related-c|}}}|<!--then:-->
* {{{langs}}} — list the languages spoken by the group.
+
{{!-}}
* {{{rels}}} — list the religious affiliations of the group.
+
!style="background:#fee8ab;"{{!}} Related ethnic groups
* {{{related}}} — list ethnic groups that are related to the group.
+
{{!-}}
 
+
{{!}} {{{related-c|}}} {{#if:{{{related|}}} | {{{related}}} [[Category:"Related ethnic groups" needing confirmation]]}}
Here's an example of using the image and caption fields appropriately:
+
}}
 
+
<!-----------------------Footnotes------------------------->
<nowiki>|image=[[Image:Praying Tibetan Women.jpg|250px|Two Tibetan women in front of the Potala, Lhasa (2005)]]</nowiki>
+
{{#if:{{{footnotes|}}}|<!--then:-->
 
+
{{!-}}
<nowiki>|caption=Two Tibetan women<br>in front of the [[Potala]], [[Lhasa]] (2005)</nowiki>
+
{{!}}style="background:#fee8ab; line-height:11pt; font-size:90%;"{{!}} Footnotes
{{Template:Esoteric}}</noinclude>
+
{{!-}}
 +
{{!}}style="line-height:11pt; text-align:left; font-size:80%;"{{!}}
 +
{{{footnotes}}}
 +
}}
 +
|}<noinclude>{{pp-template|small=yes}}{{clear}}
 +
{{template doc}}
 +
{{Credits|133581488}}
 +
</noinclude>

Revision as of 01:56, 31 July 2007

{{{group}}}
Total population
Regions with significant populations
Languages
Religions


[view] [edit]Template-info.svg Template documentation
Template:Ethnic group/doc

Credits

New World Encyclopedia writers and editors copied and adjusted this Wikipedia template in accordance with New World Encyclopedia standards. This article abides by terms of the Creative Commons CC-by-sa 3.0 License (CC-by-sa), which may be used and disseminated with proper attribution.The history of earlier contributions by wikipedians is accessible to researchers here:

The history of this article since it was imported to New World Encyclopedia:

Note: Some restrictions may apply to use of individual images which are separately licensed.