Difference between revisions of "Template:Infobox ocean"
Jump to navigation
Jump to search
imported>Tholme (Use default image size) |
imported>Frietjes (infobox and track with Category:Infobox ocean using redundant parameters) |
||
| Line 1: | Line 1: | ||
| − | + | {{infobox | |
| − | |- | + | | bodyclass = vcard |
| − | + | | bodystyle = {{#if: {{{align|}}}|float: {{{align}}}; clear: {{{align}}};|}} | |
| − | |- | + | |
| − | + | | abovestyle = font-size: larger; background-color: #CEDEFF; | |
| − | + | | aboveclass = fn org | |
| − | | | + | | above = {{{name|{{{ocean_name|{{{Ocean_name|}}}}}}}}} |
| − | {{ | + | |
| − | {{ | + | | imagestyle = line-height: 1.2; border-bottom: 1px solid #CEDEFF |
| − | | | + | | image = {{#if: {{{image_ocean|{{{image_Ocean|}}}}}} |
| − | {{ | + | |<div style="margin: auto; border: 1px solid #CEDEFF">{{#invoke:InfoboxImage|InfoboxImage|image={{{image_ocean|{{{image_Ocean|}}}}}}|size={{{image_size|}}}|sizedefault=frameless|border=yes|alt={{{alt_ocean|}}}}}</div>}} |
| − | + | | caption = {{{caption_ocean|{{{caption_Ocean|}}}}}} | |
| − | + | ||
| − | | | + | | image2 = {{#if: {{{image_bathymetry|}}} |
| − | {{#if: {{{ | + | |<div style="margin: auto; border: 1px solid #CEDEFF">{{#invoke:InfoboxImage|InfoboxImage|image={{{image_bathymetry}}}|size={{{image_size|}}}|sizedefault=frameless|border=yes|alt={{{alt_bathymetry|}}}}}</div>}} |
| − | {{ | + | | caption2 = {{{caption_bathymetry|}}} |
| − | {{ | + | |
| − | + | | label1 = Location | |
| − | {{#if: {{{ | + | | row1class = adr |
| − | {{ | + | | class1 = region |
| − | {{ | + | | data1 = {{{location|}}} |
| − | | | + | |
| − | {{#if: {{{ | + | | label2 = <span title="Geographical coordinates">Coordinates</span> |
| − | {{ | + | | data2 = {{{coords|}}} |
| − | {{ | + | |
| − | | | + | | label3 = [[Ocean#Types of oceans|Ocean type]] |
| − | + | | row3class= note | |
| − | + | | data3 = {{{type|}}} | |
| − | + | ||
| − | | | + | | label4 = Primary sources |
| − | {{#if: {{{ | + | | row4class= note |
| − | {{ | + | | data4 = {{{inflow|}}} |
| − | + | ||
| − | | | + | | label5 = <span title="Primary outflows: rivers, creeks, evaporation">Primary outflows</span> |
| − | {{ | + | | row5class= note |
| − | {{ | + | | data5 = {{{outflow|}}} |
| − | + | ||
| − | | | + | | label6 = [[Drainage basin|Catchment area]] |
| − | {{#if: {{{ | + | | row6class= note |
| − | + | | data6 = {{#if:{{{catchment_km2|}}}{{{catchment_sqmi|}}}|{{convinfobox|{{{catchment_km2|}}}|km2|{{{catchment_sqmi|}}}|sqmi}} }}{{{catchment|}}} | |
| − | + | ||
| − | | | + | | label7 = [[Drainage basin|Basin]] countries |
| − | + | | row7class = note | |
| − | + | | data7 = {{{basin_countries|}}} | |
| − | {{ | + | |
| − | | | + | | label8 = Max length |
| − | + | | row8class= note | |
| − | {{ | + | | data8 = {{#if:{{{length_km|}}}{{{length_mi|}}}|{{convinfobox|{{{length_km|}}}|km|{{{length_mi|}}}|mi}}}}{{{length|}}} |
| − | {{ | + | |
| − | | | + | |
| − | {{#if: {{{ | + | |
| − | {{ | + | | label9 = Max width |
| − | + | | row9class= note | |
| − | | | + | | data9 = {{#if:{{{width_km|}}}{{{width_mi|}}}|{{convinfobox|{{{width_km|}}}|km|{{{width_mi|}}}|mi}}}}{{{width|}}} |
| − | { | + | |
| − | + | | label10 = Surface area | |
| − | + | | row10class= note | |
| − | | | + | | data10 = {{#if:{{{area_km2|}}}{{{area_sqmi|}}}|{{convinfobox|{{{area_km2|}}}|km2|{{{area_sqmi|}}}|sqmi}}}}{{{area|}}} |
| − | + | ||
| − | + | | label11 = Average depth | |
| − | + | | row11class= note | |
| − | + | | data11 = {{#if:{{{depth_m|}}}{{{depth_ft|}}}|{{convinfobox|{{{depth_m|}}}|m|{{{depth_ft|}}}|ft}}}}{{{depth|}}} | |
| − | + | ||
| − | + | | label12 = Max depth | |
| − | + | | row12class= note | |
| − | + | | data12 = {{#if:{{{max-depth_m|}}}{{{max-depth_ft|}}}|{{convinfobox|{{{max-depth_m|}}}|m|{{{max-depth_ft|}}}|ft}}}}{{{max-depth|}}} | |
| − | + | ||
| − | + | | label13 = Water volume | |
| − | + | | row13class= note | |
| − | + | | data13 = {{#if:{{{volume_km3|}}}{{{volume_cumi|}}}|{{convinfobox|{{{volume_km3|}}}|km3|{{{volume_cumi|}}}|cumi}}}}{{{volume|}}} | |
| − | + | ||
| − | + | | label14 = [[Ocean retention time|Residence time]] (of Ocean water) | |
| − | + | | row14class= note | |
| − | + | | data14 = {{{residence_time|}}} | |
| − | + | ||
| − | + | | label15 = [[Salinity]] | |
| − | + | | row15class= note | |
| − | + | | data15 = {{{salinity|}}} | |
| − | + | ||
| − | + | | label16 = Shore length<sup>1</sup> | |
| − | + | | row16class= note | |
| − | + | | data16 = {{#if:{{{shore_km|}}}{{{shore_mi|}}}|{{convinfobox|{{{shore_km|}}}|km|{{{shore_mi|}}}|mi}}}}{{{shore|}}} | |
| − | + | ||
| − | + | | label17 = Max temperature | |
| − | + | | row17class= note | |
| − | + | | data17 = {{#if:{{{temperature_high_C|}}}{{{temperature_high_F|}}}|{{convinfobox|{{{temperature_high_C|}}}|C|{{{temperature_high_F|}}}|F}}}}{{{temperature_high|}}} | |
| − | + | ||
| − | + | | label18 = Min temperature | |
| − | + | | row18class= note | |
| − | + | | data18 = {{#if:{{{temperature_low_C|}}}{{{temperature_low_F|}}}|{{convinfobox|{{{temperature_low_C|}}}|C|{{{temperature_low_F|}}}|F}}}}{{{temperature_low|}}} | |
| − | + | ||
| − | + | | label19 = [[:Category:Islands by ocean or sea |Islands]] | |
| − | + | | row19class= note | |
| − | + | | data19 = {{{islands|}}} | |
| − | + | ||
| − | + | | label20 = Settlements | |
| − | + | | row20class= note | |
| − | + | | data20 = {{{cities|}}} | |
| − | + | ||
| − | + | | label21 = Trenches | |
| − | + | | row21class= note | |
| − | + | | data21 = {{{trenches|}}} | |
| − | + | ||
| − | + | | label22 = Benches | |
| + | | row22class= note | ||
| + | | data22 = {{{benches|}}} | ||
| + | |||
| + | | label23 = References | ||
| + | | row23class= note | ||
| + | | data23 = {{{reference|}}} | ||
| + | |||
| + | | belowclass = note | ||
| + | | belowstyle = font-size: smaller; font-weight:200; border-bottom: 1px solid #CEDEFF; border-top: 1px solid #CEDEFF | ||
| + | | below = {{#if: {{{shore|}}}|<sup style="font-weight:900">1</sup> Shore length is not a well-defined measure.}} | ||
{{#if: {{{imJKK _bathymetry|}}}|[[Image:Stock alarm.svg]]}} | {{#if: {{{imJKK _bathymetry|}}}|[[Image:Stock alarm.svg]]}} | ||
| − | |} | + | }}{{#if: |
| + | {{#if:{{{catchment_km2|}}}{{{catchment_sqmi|}}}|{{#if:{{{catchment|}}}|1}}}} | ||
| + | {{#if:{{{length_km|}}}{{{length_mi|}}}|{{#if:{{{length|}}}|1}}}} | ||
| + | {{#if:{{{width_km|}}}{{{width_mi|}}}|{{#if:{{{width|}}}|1}}}} | ||
| + | {{#if:{{{area_km2|}}}{{{area_sqmi|}}}|{{#if:{{{area|}}}|1}}}} | ||
| + | {{#if:{{{depth_m|}}}{{{depth_ft|}}}|{{#if:{{{depth|}}}|1}}}} | ||
| + | {{#if:{{{max-depth_m|}}}{{{max-depth_ft|}}}|{{#if:{{{max-depth|}}}|1}}}} | ||
| + | {{#if:{{{volume_km3|}}}{{{volume_cumi|}}}|{{#if:{{{volume|}}}|1}}}} | ||
| + | {{#if:{{{shore_km|}}}{{{shore_mi|}}}|{{#if:{{{shore|}}}|1}}}} | ||
| + | {{#if:{{{temperature_high_C|}}}{{{temperature_high_F|}}}|{{#if:{{{temperature_high|}}}|1}}}} | ||
| + | {{#if:{{{temperature_low_C|}}}{{{temperature_low_F|}}}|{{#if:{{{temperature_low|}}}|1}}}} | ||
| + | |[[Category:Infobox ocean using redundant parameters]] | ||
| + | }}<noinclude>{{documentation}}</noinclude> | ||
Revision as of 15:27, 6 May 2013
[[Category:Infobox templates|Template:Remove first word]]
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |