X

Track changes made to this page

If you find this page useful and would like to be notified of changes made to this page, start by inputting your email below.



Privacy policy
Close this window

powered by ChangeDetection

Difference between revisions of "Geobox"

m (1 revision)
 
Line 684: Line 684:
 
{{ {{#if: {{{discharge|}}}{{{discharge_average|}}}{{{discharge_imperial|}}}{{{discharge_average_imperial|}}} | Geobox2 data | Geobox 0}}
 
{{ {{#if: {{{discharge|}}}{{{discharge_average|}}}{{{discharge_imperial|}}}{{{discharge_average_imperial|}}} | Geobox2 data | Geobox 0}}
 
| Discharge | {{{discharge_type|}}} | Discharge figures measured at | {{{discharge_label|}}}
 
| Discharge | {{{discharge_type|}}} | Discharge figures measured at | {{{discharge_label|}}}
|{{#switch: {{lc:{{{discharge_location|}}}}} | mouth = [[mouth (river)|mouth]] | source = [[river source|source]] | {{#if: {{{discharge_location|}}}|for {{#ifexist:{{{discharge_location|}}}|[[{{{discharge_location|}}}]]|{{{discharge_location|}}}}}}} }}|{{{discharge_location_note|}}}|
+
|{{#switch: {{lc:{{{discharge_location|}}}}} | mouth = [[wikipedia:mouth (river)|mouth]] | source = [[wikipedia:river source|source]] | {{#if: {{{discharge_location|}}}|for {{#ifexist:{{{discharge_location|}}}|[[wikipedia:{{{discharge_location|}}}|{{{discharge_location|}}}]]|{{{discharge_location|}}}}}}} }}|{{{discharge_location_note|}}}|
 
}} {{ {{#if: {{{discharge|}}}{{{discharge_average|}}}{{{discharge_imperial|}}}{{{discharge_average_imperial|}}} |
 
}} {{ {{#if: {{{discharge|}}}{{{discharge_average|}}}{{{discharge_imperial|}}}{{{discharge_average_imperial|}}} |
  
Line 707: Line 707:
  
 
Geobox2 unit | Geobox 0}} | sub = 1
 
Geobox2 unit | Geobox 0}} | sub = 1
| {{#ifexist: {{{discharge1_location|}}} | [[{{{discharge1_location|}}}]] | {{{discharge1_location|}}} }}| | Discharge for {{{discharge1_location|}}} |
+
| {{#ifexist: {{{discharge1_location|}}} | [[wikipedia:{{{discharge1_location|}}}|{{{discharge1_location|}}}]] | {{{discharge1_location|}}} }}| | Discharge for {{{discharge1_location|}}} |
 
|discharge|cbm|cbft|{{#if: {{{discharge1_unit|}}}|{{{discharge1_unit|}}}|{{{discharge_unit|}}} }}|{{{discharge1_average|}}}|{{{discharge1_average_imperial|}}}|{{#if: {{{discharge1_round|}}}|{{{discharge1_round|}}}|{{{discharge_round|0}}} }}|{{{discharge1_note|}}}|
 
|discharge|cbm|cbft|{{#if: {{{discharge1_unit|}}}|{{{discharge1_unit|}}}|{{{discharge_unit|}}} }}|{{{discharge1_average|}}}|{{{discharge1_average_imperial|}}}|{{#if: {{{discharge1_round|}}}|{{{discharge1_round|}}}|{{{discharge_round|0}}} }}|{{{discharge1_note|}}}|
 
}} {{ {{#if: {{{discharge2_average|}}}{{{discharge2_average_imperial|}}} |
 
}} {{ {{#if: {{{discharge2_average|}}}{{{discharge2_average_imperial|}}} |
  
 
Geobox2 unit | Geobox 0}} | sub = 1
 
Geobox2 unit | Geobox 0}} | sub = 1
| {{#ifexist: {{{discharge2_location|}}} | [[{{{discharge2_location|}}}]] | {{{discharge2_location|}}} }}| | Discharge for {{{discharge2_location|}}} |
+
| {{#ifexist: {{{discharge2_location|}}} | [[wikipedia:{{{discharge2_location|}}}|{{{discharge2_location|}}}]] | {{{discharge2_location|}}} }}| | Discharge for {{{discharge2_location|}}} |
 
|discharge|cbm|cbft|{{#if: {{{discharge2_unit|}}}|{{{discharge2_unit|}}}|{{{discharge_unit|}}} }}|{{{discharge2_average|}}}|{{{discharge2_average_imperial|}}}|{{#if: {{{discharge2_round|}}}|{{{discharge2_round|}}}|{{{discharge_round|0}}} }}|{{{discharge2_note|}}}|
 
|discharge|cbm|cbft|{{#if: {{{discharge2_unit|}}}|{{{discharge2_unit|}}}|{{{discharge_unit|}}} }}|{{{discharge2_average|}}}|{{{discharge2_average_imperial|}}}|{{#if: {{{discharge2_round|}}}|{{{discharge2_round|}}}|{{{discharge_round|0}}} }}|{{{discharge2_note|}}}|
 
}} {{ {{#if: {{{discharge3_average|}}}{{{discharge3_average_imperial|}}} |
 
}} {{ {{#if: {{{discharge3_average|}}}{{{discharge3_average_imperial|}}} |
  
 
Geobox2 unit | Geobox 0}} | sub = 1
 
Geobox2 unit | Geobox 0}} | sub = 1
| {{#ifexist: {{{discharge3_location|}}} | [[{{{discharge3_location|}}}]] | {{{discharge3_location|}}} }}| | Discharge for {{{discharge3_location|}}} |
+
| {{#ifexist: {{{discharge3_location|}}} | [[wikipedia:{{{discharge3_location|}}}|{{{discharge3_location|}}}]] | {{{discharge3_location|}}} }}| | Discharge for {{{discharge3_location|}}} |
 
|discharge|cbm|cbft|{{#if: {{{discharge3_unit|}}}|{{{discharge3_unit|}}}|{{{discharge_unit|}}} }}|{{{discharge3_average|}}}|{{{discharge3_average_imperial|}}}|{{#if: {{{discharge3_round|}}}|{{{discharge3_round|}}}|{{{discharge_round|0}}} }}|{{{discharge3_note|}}}|
 
|discharge|cbm|cbft|{{#if: {{{discharge3_unit|}}}|{{{discharge3_unit|}}}|{{{discharge_unit|}}} }}|{{{discharge3_average|}}}|{{{discharge3_average_imperial|}}}|{{#if: {{{discharge3_round|}}}|{{{discharge3_round|}}}|{{{discharge_round|0}}} }}|{{{discharge3_note|}}}|
 
}} {{ {{#if: {{{discharge4_average|}}}{{{discharge4_average_imperial|}}} |
 
}} {{ {{#if: {{{discharge4_average|}}}{{{discharge4_average_imperial|}}} |
  
 
Geobox2 unit | Geobox 0}} | sub = 1
 
Geobox2 unit | Geobox 0}} | sub = 1
| {{#ifexist: {{{discharge4_location|}}} | [[{{{discharge4_location|}}}]] | {{{discharge4_location|}}} }}| | Discharge for {{{discharge4_location|}}} |
+
| {{#ifexist: {{{discharge4_location|}}} | [[wikipedia:{{{discharge4_location|}}}|{{{discharge4_location|}}}]] | {{{discharge4_location|}}} }}| | Discharge for {{{discharge4_location|}}} |
 
|discharge|cbm|cbft|{{#if: {{{discharge4_unit|}}}|{{{discharge4_unit|}}}|{{{discharge_unit|}}} }}|{{{discharge4_average|}}}|{{{discharge4_average_imperial|}}}|{{#if: {{{discharge4_round|}}}|{{{discharge4_round|}}}|{{{discharge_round|0}}} }}|{{{discharge4_note|}}}|
 
|discharge|cbm|cbft|{{#if: {{{discharge4_unit|}}}|{{{discharge4_unit|}}}|{{{discharge_unit|}}} }}|{{{discharge4_average|}}}|{{{discharge4_average_imperial|}}}|{{#if: {{{discharge4_round|}}}|{{{discharge4_round|}}}|{{{discharge_round|0}}} }}|{{{discharge4_note|}}}|
 
}} }}
 
}} }}
Line 812: Line 812:
 
Geobox2 list{{#if:{{{biome_fold|}}}|_fold}} | Geobox 0}}
 
Geobox2 list{{#if:{{{biome_fold|}}}|_fold}} | Geobox 0}}
 
| {{#if: {{{biome1|}}}| Biomes | Biome }} | {{{biome_type|}}} | Biomes of the area | {{{biome_label|}}}
 
| {{#if: {{{biome1|}}}| Biomes | Biome }} | {{{biome_type|}}} | Biomes of the area | {{{biome_label|}}}
|{{#ifexist:{{{biome|}}}|[[{{{biome|}}}]]|{{{biome|}}}}}{{#if:{{{biome_share|}}}| ({{{biome_share|}}}%)}}|{{{biome_note|}}}|{{{biome1|}}}|{{{biome1_note|}}}|{{{biome2|}}}|{{{biome2_note|}}}|{{{biome3|}}}|{{{biome3_note|}}}|{{{biome4|}}}|{{{biome4_note|}}}|{{{biome5|}}}|{{{biome5_note|}}}|{{{biome6|}}}|{{{biome6_note|}}}|{{{biome7|}}}|{{{biome7_note|}}}|{{{biome8|}}}|{{{biome8_note|}}}|{{{biome9|}}}|{{{biome9_note|}}}|{{{biome10|}}}|{{{biome10_note|}}}|{{{biome11|}}}|{{{biome11_note|}}}|{{{biome12|}}}|{{{biome12_note|}}}|{{{biome13|}}}|{{{biome13_note|}}}|{{{biome14|}}}|{{{biome14_note|}}}|{{{biome15|}}}|{{{biome15_note|}}}|
+
|{{#ifexist:{{{biome|}}}|[[wikipedia:{{{biome|}}}|{{{biome|}}}]]|{{{biome|}}}}}{{#if:{{{biome_share|}}}| ({{{biome_share|}}}%)}}|{{{biome_note|}}}|{{{biome1|}}}|{{{biome1_note|}}}|{{{biome2|}}}|{{{biome2_note|}}}|{{{biome3|}}}|{{{biome3_note|}}}|{{{biome4|}}}|{{{biome4_note|}}}|{{{biome5|}}}|{{{biome5_note|}}}|{{{biome6|}}}|{{{biome6_note|}}}|{{{biome7|}}}|{{{biome7_note|}}}|{{{biome8|}}}|{{{biome8_note|}}}|{{{biome9|}}}|{{{biome9_note|}}}|{{{biome10|}}}|{{{biome10_note|}}}|{{{biome11|}}}|{{{biome11_note|}}}|{{{biome12|}}}|{{{biome12_note|}}}|{{{biome13|}}}|{{{biome13_note|}}}|{{{biome14|}}}|{{{biome14_note|}}}|{{{biome15|}}}|{{{biome15_note|}}}|
 
}} {{ {{#if: {{{geology|}}} |
 
}} {{ {{#if: {{{geology|}}} |
  
Line 1,050: Line 1,050:
 
{{ {{#if: {{{timezone|}}} | Geobox2 data plain | Geobox 0}}
 
{{ {{#if: {{{timezone|}}} | Geobox2 data plain | Geobox 0}}
 
| Timezone | {{{timezone_type|}}} | Basic timezone | {{{timezone_label|}}}
 
| Timezone | {{{timezone_type|}}} | Basic timezone | {{{timezone_label|}}}
| {{#ifexist: {{{timezone|}}} | [[{{{timezone|}}}]] | {{{timezone|}}} }}{{#if: {{{utc_offset|}}}|  ([[UTC{{{utc_offset}}}]]) }} | {{{timezone_note|}}}|
+
| {{#ifexist: {{{timezone|}}} | [[wikipedia:{{{timezone|}}}|{{{timezone|}}}]] | {{{timezone|}}} }}{{#if: {{{utc_offset|}}}|  ([[wikipedia:UTC{{{utc_offset}}}|UTC{{{utc_offset}}}]]) }} | {{{timezone_note|}}}|
 
}} {{ {{#if: {{{timezone_DST|}}} |
 
}} {{ {{#if: {{{timezone_DST|}}} |
  
 
Geobox2 data plain | Geobox 0}} | sub = 1
 
Geobox2 data plain | Geobox 0}} | sub = 1
 
| summer (DST) | {{{timezone_type_DST|}}} | Summer (Daylight saving) time | {{{timezone_DST_label|}}}
 
| summer (DST) | {{{timezone_type_DST|}}} | Summer (Daylight saving) time | {{{timezone_DST_label|}}}
| {{#ifexist: {{{timezone_DST|}}} | [[{{{timezone_DST|}}}]] | {{{timezone_DST|}}} }}{{#if: {{{utc_offset_DST|}}}|  ([[UTC{{{utc_offset_DST}}}]]) }} | {{{timezone_DST_note|}}}|
+
| {{#ifexist: {{{timezone_DST|}}} | [[wikipedia:{{{timezone_DST|}}}|{{{timezone_DST|}}}]] | {{{timezone_DST|}}} }}{{#if: {{{utc_offset_DST|}}}|  ([[wikipedia:UTC{{{utc_offset_DST}}}|UTC{{{utc_offset_DST}}}]]) }} | {{{timezone_DST_note|}}}|
 
}} }} {{ {{#if: {{{iso_code|}}} |
 
}} }} {{ {{#if: {{{iso_code|}}} |
  
 
Geobox2 data plain | Geobox 0 }}
 
Geobox2 data plain | Geobox 0 }}
 
| ISO 3166-2 code | {{{iso_code_type|}}} | ISO 3166-2 code | {{{iso_code_label|}}}
 
| ISO 3166-2 code | {{{iso_code_type|}}} | ISO 3166-2 code | {{{iso_code_label|}}}
| [[ISO 3166-2:{{{iso_code|}}}|{{{iso_code|}}}-{{{iso_subcode|}}}]] | {{{iso_code_note|}}}|
+
| [[wikipedia:ISO 3166-2:{{{iso_code|}}}|{{{iso_code|}}}-{{{iso_subcode|}}}]] | {{{iso_code_note|}}}|
 
}} {{ {{#if: {{{postal_code|}}} |
 
}} {{ {{#if: {{{postal_code|}}} |
  
Line 1,108: Line 1,108:
  
 
Geobox2 line plain | Geobox 0}} | style = background-color: {{Geobox2 color  | {{{1|}}} }}; text-align: center; padding-bottom: 6px;
 
Geobox2 line plain | Geobox 0}} | style = background-color: {{Geobox2 color  | {{{1|}}} }}; text-align: center; padding-bottom: 6px;
| [[World Heritage Site|UNESCO World Heritage Site]] | | This location has been inscribed on the UNSECO World Heritage Site List |
+
| [[wikipedia:World Heritage Site|UNESCO World Heritage Site]] | | This location has been inscribed on the UNSECO World Heritage Site List |
 
}} {{ {{#if: {{{whs_name|}}} |
 
}} {{ {{#if: {{{whs_name|}}} |
  
Line 1,117: Line 1,117:
  
 
Geobox2 data plain | Geobox 0}}
 
Geobox2 data plain | Geobox 0}}
| [[World Heritage Site#World Heritage Committee Session|Year]] | | Year of inscription (session number) |
+
| [[wikipedia:World Heritage Site#World Heritage Committee Session|Year]] | | Year of inscription (session number) |
 
| {{{whs_year|}}} (#{{#expr:({{{whs_year}}} - 1976)}})| {{{whs_year_note|}}} |
 
| {{{whs_year|}}} (#{{#expr:({{{whs_year}}} - 1976)}})| {{{whs_year_note|}}} |
 
}} {{ {{#if: {{{whs_number|}}} |
 
}} {{ {{#if: {{{whs_number|}}} |
Line 1,129: Line 1,129:
 
| Region | | Region as classified by UNESCO |
 
| Region | | Region as classified by UNESCO |
 
| {{#switch: {{{whs_region|}}}
 
| {{#switch: {{{whs_region|}}}
| 1 = [[List of World Heritage Sites in Africa|Africa]]
+
| 1 = [[wikipedia:List of World Heritage Sites in Africa|Africa]]
| 2 = [[List of World Heritage Sites in the Arab States|Arab States]]
+
| 2 = [[wikipedia:List of World Heritage Sites in the Arab States|Arab States]]
 
| 3 = Asia-Pacific
 
| 3 = Asia-Pacific
| 4 = [[List of World Heritage Sites in Europe|Europe and North America]]
+
| 4 = [[wikipedia:List of World Heritage Sites in Europe|Europe and North America]]
 
| 5 = Latin America & Caribbean
 
| 5 = Latin America & Caribbean
 
| {{{whs_region|}}} }} |{{{whs_region_note|}}} |
 
| {{{whs_region|}}} }} |{{{whs_region_note|}}} |
Line 1,138: Line 1,138:
  
 
Geobox2 data plain | Geobox 0}}
 
Geobox2 data plain | Geobox 0}}
| [[World Heritage Site#Selection criteria|Criteria]] | | Selection criteria |
+
| [[wikipedia:World Heritage Site#Selection criteria|Criteria]] | | Selection criteria |
 
| {{{whs_criteria|}}} | {{{whs_criteria_note|}}} |
 
| {{{whs_criteria|}}} | {{{whs_criteria_note|}}} |
 
}} }} {{ {{#if: {{{category_iucn|}}} |
 
}} }} {{ {{#if: {{{category_iucn|}}} |
  
 
Geobox2 data plain| Geobox 0}} | style = "color: {{Geobox2 color  | {{{1|}}} }}"
 
Geobox2 data plain| Geobox 0}} | style = "color: {{Geobox2 color  | {{{1|}}} }}"
| [[World Commission on Protected Areas#IUCN Categories of Protected Area|IUCN category]] | | IUCN category |
+
| [[wikipedia:World Commission on Protected Areas#IUCN Categories of Protected Area|IUCN category]] | | IUCN category |
 
| {{#switch: {{lc:{{{category_iucn|}}}}}
 
| {{#switch: {{lc:{{{category_iucn|}}}}}
 
| ia = Ia - Strict Nature Reserve
 
| ia = Ia - Strict Nature Reserve

Latest revision as of 03:30, 12 April 2014

Geobox
Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

Blank templates

See Template:Geobox/type for descriptions of each feature type: Protected area, Region, River, Settlement, etc.

Blank templates for each feature type:

Examples

See the following for examples of template usage:

Parameters

A full list of the parameters available can be found at Template:Geobox/legend#Fields.

Purpose

These geoboxes were created:

  • To provide a means for creating consistently-formatted tables and summarizing information
  • To improve navigation between articles within closely-related subjects
  • To maximize the ease of creating and upgrading infoboxes
  • To improve the ease of transferring information to other language Wikipedias by using standardized, database-like fields

Features

  • no need to format the input data in any way; it is handled by the template
  • automated locator dot placement on maps, based on coordinates or X/Y values
  • automated unit conversion from metric to imperial or reverse
  • automated wikilinking
  • additional fields
  • background maps
  • foldable list on all multiple fields
  • international categories, (e.g., World Heritage Site), eliminating the need for a second infobox on the same page

Tracking categories

Other guidelines

This general, multi-purpose geobox template duplicates features contained in various other, more specific geography and place infobox templates (like {{Infobox settlement}} for settlements, and {{Infobox protected area}} for protected areas. Editors should not change from one to the other without good reason or broad consensus.

  • The use of this template for mountains is deprecated. Use {{Infobox mountain}} instead. All instances have been replaced.
  • The use of this template for mountain ranges is deprecated. Use {{Infobox mountain range}} instead. All instances have been replaced.
  • The use of this template for provinces is deprecated. Use {{Infobox settlement}} instead. The former instances have been replaced.

See also

  • Help:Infobox – from the Editor Handbook
  • History – version notes
  • Legend – instructions for each field
  • Samples – several completed examples to view for reference
  • Types – sample templates for buildings, nature protected areas, regions, settlements and water, etc.