Difference between revisions of "Template:Infobox ocean"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
(Adding alternative capitalisation, image_size parameter, and alternative text)
imported>Frietjes
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{| class="infobox vcard" style="width: 250px; font-size: 90%; {{#if: {{{align|}}}|float: {{{align}}}; clear: {{{align}}};|}}"
+
#REDIRECT [[Template:Infobox body of water]]
|-
 
! colspan="2" style="font-size: larger; background-color: #CEDEFF" class="fn org" | {{{name|{{{ocean_name|{{{Ocean_name|}}}}}}}}}
 
|-
 
{{#if: {{{image_ocean|{{{image_Ocean|}}}}}}|
 
{{!}} colspan="2" style="line-height: 1.2; border-bottom: 1px solid #CEDEFF" {{!}} <div style="border: 1px solid #CEDEFF">[[Image:{{{image_ocean|{{{image_Ocean|}}}}}}|{{px|{{{image_size|}}}|240px}}|alt={{{alt_ocean|}}}|{{#if: {{{ocean_name|{{{Ocean_name|}}}}}}|{{{ocean_name|{{{Ocean_name}}}}}}} -}} {{#if: {{{caption_ocean|{{{caption_Ocean|}}}}}}|{{{caption_ocean|{{{caption_Ocean}}}}}}}}]]</div>{{#if: {{{caption_ocean|{{{caption_Ocean|}}}}}}|<center>{{{caption_ocean|{{{caption_Ocean}}}}}}</center>}}}}
 
|-
 
{{#if: {{{image_bathymetry|}}}|
 
{{!}} colspan="2" style="line-height: 1.2; border-bottom: 1px solid #CEDEFF" {{!}} <div style="border: 1px solid #CEDEFF">[[Image:{{{image_bathymetry}}}|{{px|{{{image_size|}}}|240px}}|alt={{{alt_bathymetry|}}}|{{#if: {{{ocean_name|{{{Ocean_name|}}}}}}|{{{ocean_name|{{{Ocean_name}}}}}} -}} {{#if: {{{caption_bathymetry|}}}|{{{caption_bathymetry}}}}}]]</div> <center>{{{caption_bathymetry}}}</center>}}
 
|- class="adr"
 
{{#if: {{{location|}}}|
 
{{!}} '''Location'''
 
{{!}} <span class="region">{{{location}}}</span>}}
 
|-
 
{{#if: {{{coords|}}}|
 
{{!}} '''<span title="Geographical coordinates">Coordinates</span>'''
 
{{!}} {{{coords}}}}}
 
|- class="note"
 
{{#if: {{{type|}}}|
 
{{!}} '''[[Ocean#Types of oceans|Ocean type]]'''
 
{{!}} {{{type}}}}}
 
|- class="note"
 
{{#if: {{{inflow|}}}|
 
{{!}} '''Primary sources'''
 
{{!}} {{{inflow}}}}}
 
|- class="note"
 
{{#if: {{{outflow|}}}|
 
{{!}} '''<span title="Primary outflows: rivers, creeks, evaporation">Primary outflows</span>'''
 
{{!}} {{{outflow}}}}}
 
|- class="note"
 
{{#if: {{{catchment|}}}{{{catchment_km2|}}}{{{catchment_sqmi|}}}|
 
{{!}} '''[[Drainage basin|Catchment area]] '''
 
{{!}} {{convinfobox|{{{catchment_km2|}}}|km2|{{{catchment_sqmi|}}}|sqmi}}{{{catchment|}}}}}
 
|-
 
{{#if: {{{basin_countries|}}}|
 
{{!}} '''[[Drainage basin|Basin]] countries'''
 
{{!}} {{{basin_countries}}}}}
 
|- class="note"
 
{{#if: {{{length|}}}{{{length_km|}}}{{{length_mi|}}}|
 
{{!}} '''Max length'''
 
{{!}} {{convinfobox|{{{length_km|}}}|km|{{{length_mi|}}}|mi}}{{{length|}}}}}
 
|- class="note"
 
{{#if: {{{width|}}}{{{width_km|}}}{{{width_mi|}}}|
 
{{!}} '''Max width'''
 
{{!}} {{convinfobox|{{{width_km|}}}|km|{{{width_mi|}}}|mi}}{{{width|}}}}}
 
|- class="note"
 
{{#if: {{{area|}}}{{{area_km2|}}}{{{area_sqmi|}}}|
 
{{!}} '''Surface area'''
 
{{!}} {{convinfobox|{{{area_km2|}}}|km2|{{{area_sqmi|}}}|sqmi}}{{{area|}}}}}
 
|- class="note"
 
{{#if: {{{depth|}}}{{{depth_m|}}}{{{depth_ft|}}}|
 
{{!}} '''Average depth'''
 
{{!}} {{convinfobox|{{{depth_m|}}}|m|{{{depth_ft|}}}|ft}}{{{depth|}}}}}
 
|- class="note"
 
{{#if: {{{max-depth|}}}{{{max-depth_m|}}}{{{max-depth_ft|}}}|
 
{{!}} '''Max depth'''
 
{{!}} {{convinfobox|{{{max-depth_m|}}}|m|{{{max-depth_ft|}}}|ft}}{{{max-depth|}}}}}
 
|- class="note"
 
{{#if: {{{volume|}}}{{{volume_km3|}}}{{{volume_cumi|}}}|
 
{{!}} '''Water volume'''
 
{{!}} {{convinfobox|{{{volume_km3|}}}|km3|{{{volume_cumi|}}}|cumi}}{{{volume|}}}}}
 
|- class="note"
 
{{#if: {{{residence_time|}}}|
 
{{!}} '''[[Ocean retention time|Residence time]] (of&nbsp;Ocean&nbsp;water)'''
 
{{!}} {{{residence_time}}}}}
 
|- class="note"
 
{{#if: {{{salinity|}}}|
 
{{!}} '''[[Salinity]]'''
 
{{!}} {{{salinity}}}}}
 
|- class="note"
 
{{#if: {{{shore|}}}{{{shore_km|}}}{{{shore_mi|}}}|
 
{{!}} '''Shore length<sup>1</sup>'''
 
{{!}} {{convinfobox|{{{shore_km|}}}|km|{{{shore_mi|}}}|mi}}{{{shore|}}}}}
 
|- class="note"
 
{{#if: {{{temperature_high|}}}{{{temperature_high_C|}}}{{{temperature_high_F|}}}|
 
{{!}} '''Max temperature'''
 
{{!}} {{convinfobox|{{{temperature_high_C|}}}|C|{{{temperature_high_F|}}}|F}}{{{temperature_high|}}}}}
 
|- class="note"
 
{{#if: {{{temperature_low|}}}{{{temperature_low_C|}}}{{{temperature_low_F|}}}|
 
{{!}} '''Min temperature'''
 
{{!}} {{convinfobox|{{{temperature_low_C|}}}|C|{{{temperature_low_F|}}}|F}}{{{temperature_low|}}}}}
 
|- class="note"
 
{{#if: {{{islands|}}}|
 
{{!}} '''[[:Category:Islands by ocean or sea |Islands]]'''
 
{{!}} {{{islands}}}}}
 
|- class="note"
 
{{#if: {{{cities|}}}|
 
{{!}} '''Settlements'''
 
{{!}} {{{cities}}}}}
 
|- class="note"
 
{{#if: {{{trenches|}}}|
 
{{!}} '''Trenches'''
 
{{!}} {{{trenches}}}}}
 
|- class="note"
 
{{#if: {{{benches|}}}|
 
{{!}} '''Benches'''
 
{{!}} {{{benches}}}}}
 
|-  class="note"
 
{{#if: {{{reference|}}}|
 
{{!}} '''References'''
 
{{!}} {{{reference}}}}}
 
|- class="note"
 
{{#if: {{{shore|}}}|
 
! colspan="2" style="font-size: smaller; font-weight:200; border-bottom: 1px solid #CEDEFF; border-top: 1px solid #CEDEFF" {{!}}<sup style="font-weight:900">1</sup> Shore length is not a well-defined measure.}}
 
{{#if: {{{imJKK _bathymetry|}}}|[[Image:Stock alarm.svg]]}}
 
|}</includeonly><noinclude>{{doc}}</noinclude>
 

Latest revision as of 17:40, 21 May 2013