Template:Infobox demography: Difference between revisions

From OpenGeofiction
(Setting up)
 
mNo edit summary
Line 4: Line 4:
<tr><th colspan="2" style="text-align:center; background: #e8caca;">Demographics of {{{name|{{PAGENAME}}}}}</th></tr>
<tr><th colspan="2" style="text-align:center; background: #e8caca;">Demographics of {{{name|{{PAGENAME}}}}}</th></tr>
{{#if:{{{demonym|}}}|<tr><td><b>Demonym</b></td><td>{{{demonym|}}}</td></tr>|}}
{{#if:{{{demonym|}}}|<tr><td><b>Demonym</b></td><td>{{{demonym|}}}</td></tr>|}}
{{#if:{{{official_languages|}}}|<tr><td><b>Official languages</b></td><td>{{{official_languages|}}}</td></tr>|}}
{{#if:{{{official_languages|}}}|<tr {{#if:{{{minority_languages|}}}| class="cont" |}}><td><b>Official languages</b></td><td>{{{official_languages|}}}</td></tr>|}}
{{#if:{{{minority_languages|}}}|<tr><td><b>Recognized minority languages</b></td><td>{{{minority_languages|}}}</td></tr>|}}
{{#if:{{{minority_languages|}}}|<tr><td><b>Recognized minority languages</b></td><td>{{{minority_languages|}}}</td></tr>|}}
{{#if:{{{ethnicity_bars|}}}|<tr class="cont"><td colspan="2"><div style="background: #dddddd; text-align: center; padding: .1em;"><b>Ethnicities</b></div></td></tr>
{{#if:{{{ethnicity_bars|}}}|<tr class="cont"><td colspan="2"><div style="background: #dddddd; text-align: center; padding: .1em;"><b>Ethnicities</b></div></td></tr>

Revision as of 19:00, 10 March 2022

This infobox is designed to be used in the demographics or culture section as a short overview of prominent demographic and social features of your territory. This box is not designed to be all-inclusive.

{{Infobox demography
| name = (territory name)
| demonym =
| official_languages =
| minority_languages = (displaces as "recognized minority languages")
| ethnicity_bars = (use {{bar percent}} up to eight times to make a bar chart of ethnic makeup)
| ethnicity_plain = (plain-text field for ethnicity; omit if ethnicity_bars parameter is used)
| religion_bars = (use {{bar percent}} up to eight times to make a bar chart of religious makeup)
| religion_plain = (plain-text field for religion; omit if religion_bars parameter is used)
| literacy = (you may wish to add {{increase}}, {{steady}}, or {{decrease}} before figure to indicate change)
| life_expectancy = (you may wish to add {{increase}}, {{steady}}, or {{decrease}} before figure to indicate change)
| custom_label1 = (custom label that appears in bold on the left side of the infobox)
| custom1 = (custom information that is defined by custom_label1)
| custom_label2 = (custom label that appears in bold on the left side of the infobox)
| custom2 = (custom information that is defined by custom_label1)
}}