Template:Infobox geography: Difference between revisions
mNo edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><table class="infobox"> | ||
<table class="infobox"> | |||
<tr class="cont"><th colspan="2" style="text-align:center; background: #e8caca;>[[File:Community Noun project 4864.svg|50px|link=]]</th></tr> | <tr class="cont"><th colspan="2" style="text-align:center; background: #e8caca;>[[File:Community Noun project 4864.svg|50px|link=]]</th></tr> | ||
<tr><th colspan="2" style="text-align:center; background: #e8caca;">Geography of {{{name|{{PAGENAME}}}}}</th></tr> | <tr><th colspan="2" style="text-align:center; background: #e8caca;">Geography of {{{name|{{PAGENAME}}}}}</th></tr><!-- | ||
{{#if:{{{continent|}}}|<tr {{#if:{{{region|}}}| class="cont" |}}><td><b>Continent</b></td><td>{{{continent|}}}</td></tr>|}} | -->{{#if:{{{continent|}}}|<tr {{#if:{{{region|}}}| class="cont" |}}><td><b>Continent</b></td><td>{{{continent|}}}</td></tr>|}}<!-- | ||
{{#if:{{{region|}}}|<tr><td><b>Region</b></td><td>{{{region|}}}</td></tr>|}} | -->{{#if:{{{region|}}}|<tr><td><b>Region</b></td><td>{{{region|}}}</td></tr>|}}<!-- | ||
{{#if:{{{population|}}}|<tr><td><b>Population</b></td><td>{{{population|}}} ({{{population_year|}}})</td></tr>|}} | -->{{#if:{{{population|}}}|<tr><td><b>Population</b></td><td>{{{population|}}} ({{{population_year|}}})</td></tr>|}}<!-- | ||
{{#if:{{{area_km2|}}}{{{area_sq_mi|}}}|<tr class="cont"><td><b>Area</b></td><td></td></tr> | -->{{#if:{{{area_km2|}}}{{{area_sq_mi|}}}|<tr class="cont"><td><b>Area</b></td><td></td></tr> | ||
<tr {{#if:{{{percent_water|}}}| class="cont" |}}><td>• Total</td><td>{{#if:{{{area_km2|}}}|{{{area_km2|}}} km<sup>2</sup> {{#if:{{{area_sq_mi|}}}|<br />|}} |}}{{#if:{{{area_sq_mi|}}}|{{{area_sq_mi|}}} sq mi|}}</td></tr>|}} | <tr {{#if:{{{percent_water|}}}| class="cont" |}}><td>• Total</td><td>{{#if:{{{area_km2|}}}|{{{area_km2|}}} km<sup>2</sup> {{#if:{{{area_sq_mi|}}}|<br />|}} |}}{{#if:{{{area_sq_mi|}}}|{{{area_sq_mi|}}} sq mi|}}</td></tr>|}}<!-- | ||
{{#if:{{{percent_water|}}}|<tr><td>• Water (%)</td><td>{{{percent_water|}}}</td></tr>|}} | -->{{#if:{{{percent_water|}}}|<tr><td>• Water (%)</td><td>{{{percent_water|}}}</td></tr>|}}<!-- | ||
{{#if:{{{density_km2|}}}{{{density_sq_mi|}}}|<tr><td><b>Population density</b></td><td>{{#if:{{{density_km2|}}}|{{{density_km2|}}} km<sup>2</sup> {{#if:{{{density_sq_mi|}}}|<br />|}} |}}{{#if:{{{density_sq_mi|}}}|{{{density_sq_mi|}}} sq mi|}}</td></tr>|}} | -->{{#if:{{{density_km2|}}}{{{density_sq_mi|}}}|<tr><td><b>Population density</b></td><td>{{#if:{{{density_km2|}}}|{{{density_km2|}}} km<sup>2</sup> {{#if:{{{density_sq_mi|}}}|<br />|}} |}}{{#if:{{{density_sq_mi|}}}|{{{density_sq_mi|}}} sq mi|}}</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>|}}<!-- | ||
{{#if:{{{time_zone|}}}|<tr><td><b>Time zone</b></td><td>{{{time_zone|}}}</td></tr>|}} | -->{{#if:{{{time_zone|}}}|<tr><td><b>[[Index:Time zones|Time zone]]</b></td><td>{{{time_zone|}}}</td></tr>|}} | ||
</table> | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
This infobox is designed to provide an overview of a basic geographical overview of your territory. Two custom fields are available, so that location-specific information may be listed such as 'major rivers.' | This infobox is designed to provide an overview of a basic geographical overview of your territory. Two custom fields are available, so that location-specific information may be listed such as 'major rivers.' |
Latest revision as of 20:25, 21 May 2022
This infobox is designed to provide an overview of a basic geographical overview of your territory. Two custom fields are available, so that location-specific information may be listed such as 'major rivers.'
{{Infobox geography | name = (territory name) | continent = | region = | population = | population_year = | area_km2 = | area_sq_mi = | percent_water = | density_km2 = | density_sq_mi = | 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) | time_zone = }}