Template:Infobox demography: Difference between revisions

From OpenGeofiction
(slight modification to {{{birth_rate}}} and {{{death_rate}}})
(correcting silly error)
 
Line 12: Line 12:
-->{{#if:{{{religion_plain|}}}|<tr><td><b>Religion</b></td><td>{{{religion_plain|}}}</td></tr>|}}<!--
-->{{#if:{{{religion_plain|}}}|<tr><td><b>Religion</b></td><td>{{{religion_plain|}}}</td></tr>|}}<!--
-->{{#if:{{{literacy|}}}|<tr><td><b>Literacy</b></td><td>{{{literacy|}}}</td></tr>|}}<!--
-->{{#if:{{{literacy|}}}|<tr><td><b>Literacy</b></td><td>{{{literacy|}}}</td></tr>|}}<!--
-->{{#if:{{{life_expectancy|}}}|<tr><td><b>Life expectancy</b></td><td>{{{life_expectancy|}}}</td></tr>|}}<!--
-->{{#if:{{{life_expectancy|}}}|<tr {{#if:{{{birth_rate|}}}{{{death_rate|}}}| class="cont" |}}><td><b>Life expectancy</b></td><td>{{{life_expectancy|}}}</td></tr>|}}<!--
-->{{#if:{{{birth_rate|}}}|<tr {{#if:{{{life_expectancy|}}}| class="cont" |}}><td><b>Birth rate</b></td><td>{{{birth_rate|}}}</td></tr>|}}<!--
-->{{#if:{{{birth_rate|}}}|<tr {{#if:{{{death_rate|}}}| class="cont" |}}><td><b>Birth rate</b></td><td>{{{birth_rate|}}}</td></tr>|}}<!--
-->{{#if:{{{death_rate|}}}|<tr {{#if:{{{life_expectancy|}}}{{{birth_rate|}}}| class="cont" |}}><td><b>Death rate</b></td><td>{{{death_rate|}}}</td></tr>|}}<!--
-->{{#if:{{{death_rate|}}}|<tr><td><b>Death rate</b></td><td>{{{death_rate|}}}</td></tr>|}}<!--
-->{{#if:{{{custom_label1|}}}{{{custom1|}}}|<tr><td><b>{{{custom_label1|}}}</b></td><td>{{{custom1|}}}</td></tr>|}}<!--
-->{{#if:{{{custom_label1|}}}{{{custom1|}}}|<tr><td><b>{{{custom_label1|}}}</b></td><td>{{{custom1|}}}</td></tr>|}}<!--
-->{{#if:{{{custom_label2|}}}{{{custom2|}}}|<tr><td><b>{{{custom_label2|}}}</b></td><td>{{{custom2|}}}</td></tr>|}}
-->{{#if:{{{custom_label2|}}}{{{custom2|}}}|<tr><td><b>{{{custom_label2|}}}</b></td><td>{{{custom2|}}}</td></tr>|}}

Latest revision as of 19:08, 18 April 2024

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)
| birth_rate = (you may wish to add {{increase}}, {{steady}}, or {{decrease}} before figure to indicate change)
| death_rate = (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)
}}