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

From New World Encyclopedia
m (Reverted edits by Robert Brooks (); changed back to last version by Laura Brooks)
(Fix tags, remove categories)
Line 16: Line 16:
 
|-
 
|-
 
! style="background-color:#fee8ab;" | Religion
 
! style="background-color:#fee8ab;" | Religion
| style="background-color:#fff6d9;" | {{{rels}}} {{
+
| style="background-color:#fff6d9;" | {{{rels}}}
#if: {{{related|}}} |
+
|-
<tr>
+
! {{#if:{{{related|}}}|style="background-color:#fee8ab;"|}} | {{#if:{{{related|}}}|Related ethnic groups|}}
<th style="background-color:#fee8ab;">Related ethnic groups</th>
+
| {{#if:{{{related|}}}|style="background-color:#fff6d9;"|}} | {{#if:{{{related|}}}|{{{related}}}|}}
<td style="background-color:#fff6d9;">{{{related}}}</td>
 
</tr>
 
|}}
 
 
|}<noinclude>
 
|}<noinclude>
 
==Usage note==
 
==Usage note==
Line 41: Line 38:
  
 
<nowiki>|caption=Two Tibetan women<br>in front of the [[Potala]], [[Lhasa]] (2005)</nowiki>
 
<nowiki>|caption=Two Tibetan women<br>in front of the [[Potala]], [[Lhasa]] (2005)</nowiki>
{{Template:Esoteric}}
+
{{Template:Esoteric}}</noinclude>
[[Category:Infobox templates|Ethnic group]]
 
[[Category:WikiProject Ethnic groups templates|Infobox]]
 
 
 
[[es:Plantilla:Grupo étnico]]
 
[[fr:Modèle:Boite Groupe ethnique]]
 
[[hr:Template:Infobox Etnička grupa]]
 
[[pl:Szablon:Naród infobox]]
 
[[he:תבנית:קבוצה אתנית]]
 
[[rmy:Format:Sel]]
 
[[ru:Шаблон:Народ]]
 
[[uk:Шаблон:Етнічна група]]
 
</noinclude>
 

Revision as of 01:20, 15 November 2006

{{{group}}}
Total population {{{poptime}}}
Regions with significant populations {{{popplace}}}
Language {{{langs}}}
Religion {{{rels}}}

Usage note

The parameters are:

  • {{{group}}} — the name of the group (e.g. Armenians).
  • {{{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)
  • {{{poptime}}} — show how the population has changed over time; you can use {{population}} to format each entry.
  • {{{popplace}}} — show the population of the group in various different places; you can use {{population}} to format each entry.
  • {{{langs}}} — list the languages spoken by the group.
  • {{{rels}}} — list the religious affiliations of the group.
  • {{{related}}} — list ethnic groups that are related to the group.

Here's an example of using the image and caption fields appropriately:

|image=[[Image:Praying Tibetan Women.jpg|250px|Two Tibetan women in front of the Potala, Lhasa (2005)]]

|caption=Two Tibetan women<br>in front of the [[Potala]], [[Lhasa]] (2005)

Comment This template contains one or more optional parameters: see the talk page for details.

This template employs some extremely complicated and esoteric features of template syntax. Please do not attempt to alter it unless you are certain that you understand the setup and are prepared to repair any consequent collateral damage if the results are unexpected. Any experiments should be conducted via the template sandbox or your user space.