Jump to content

Template:Infobox lake: Difference between revisions

From IdeaWazaWiki
wikademia>Docu
m fix for optional fields
wikademia>Docu
m fix for optional fields
Line 2: Line 2:
{| class="infobox" style="width: 250px; font-size: 90%;"
{| class="infobox" style="width: 250px; font-size: 90%;"
|-
|-
! colspan="2" style="font-size: larger; background-color: #CEDEFF;" | {{#if: {{{lake_name}}}|{{{lake_name}}}}}
! colspan="2" style="font-size: larger; background-color: #CEDEFF;" | {{#if: {{{lake_name|}}}|{{{lake_name}}}}}
|-
|-
{{#if: {{{image_lake}}}|
{{#if: {{{image_lake|}}}|
{{!}} colspan="2" style="line-height: 1.2; border-bottom: 1px solid #CEDEFF;" {{!}} <div style="border: 1px solid #CEDEFF;">[[Image:{{{image_lake}}}|240px|{{#if: {{{lake_name}}}|{{{lake_name}}} -}} {{#if: {{{caption_lake}}}|{{{caption_lake}}}}}]]</div><center>{{{caption_lake}}}</center>}}
{{!}} colspan="2" style="line-height: 1.2; border-bottom: 1px solid #CEDEFF;" {{!}} <div style="border: 1px solid #CEDEFF;">[[Image:{{{image_lake}}}|240px|{{#if: {{{lake_name}}}|{{{lake_name}}} -}} {{#if: {{{caption_lake}}}|{{{caption_lake}}}}}]]</div><center>{{{caption_lake}}}</center>}}
|-
|-
{{#if: {{{image_bathymetry}}}|
{{#if: {{{image_bathymetry|}}}|
{{!}} colspan="2" style="line-height: 1.2; border-bottom: 1px solid #CEDEFF;" {{!}} <div style="border: 1px solid #CEDEFF;">[[Image:{{{image_bathymetry}}}|240px|{{#if: {{{lake_name}}}|{{{lake_name}}} -}} {{#if: {{{caption_bathymetry}}}|{{{caption_bathymetry}}}}}]]</div> <center>{{{caption_bathymetry}}}</center>}}
{{!}} colspan="2" style="line-height: 1.2; border-bottom: 1px solid #CEDEFF;" {{!}} <div style="border: 1px solid #CEDEFF;">[[Image:{{{image_bathymetry}}}|240px|{{#if: {{{lake_name}}}|{{{lake_name}}} -}} {{#if: {{{caption_bathymetry}}}|{{{caption_bathymetry}}}}}]]</div> <center>{{{caption_bathymetry}}}</center>}}
|- <!--
|- <!--
Line 14: Line 14:
{{!}} {{{location}}}}}
{{!}} {{{location}}}}}
|- -->
|- -->
{{#if: {{{coords}}}|
{{#if: {{{coords|}}}|
{{!}} '''Coordinates'''
{{!}} '''Coordinates'''
{{!}} {{{coords}}}}}
{{!}} {{{coords}}}}}
|-
|-
{{#if: {{{type}}}|
{{#if: {{{type|}}}|
{{!}} '''[[Lake#Types of lakes|Lake type]]'''
{{!}} '''[[Lake#Types of lakes|Lake type]]'''
{{!}} {{{type}}}}}
{{!}} {{{type}}}}}
|-
|-
{{#if: {{{inflow}}}|
{{#if: {{{inflow|}}}|
{{!}} '''Primary sources'''
{{!}} '''Primary sources'''
{{!}} {{{inflow}}}}}
{{!}} {{{inflow}}}}}
|-
|-
{{#if: {{{outflow}}}|
{{#if: {{{outflow|}}}|
{{!}} '''Primary outflows'''
{{!}} '''Primary outflows'''
{{!}} {{{outflow}}}}}
{{!}} {{{outflow}}}}}
|-
|-
{{#if: {{{catchment}}}|
{{#if: {{{catchment|}}}|
{{!}} '''Catchment area'''
{{!}} '''Catchment area'''
{{!}} {{{catchment}}}}}
{{!}} {{{catchment}}}}}
|-
|-
{{#if: {{{basin_countries}}}|
{{#if: {{{basin_countries|}}}|
{{!}} '''[[Drainage basin|Basin]] countries'''
{{!}} '''[[Drainage basin|Basin]] countries'''
{{!}} {{{basin_countries}}}}}
{{!}} {{{basin_countries}}}}}
|-
|-
{{#if: {{{length}}}|
{{#if: {{{length|}}}|
{{!}} '''Max-length'''
{{!}} '''Max-length'''
{{!}} {{{length}}}}}
{{!}} {{{length}}}}}
|-
|-
{{#if: {{{width}}}|
{{#if: {{{width|}}}|
{{!}} '''Max-width'''
{{!}} '''Max-width'''
{{!}} {{{width}}}}}
{{!}} {{{width}}}}}
|-
|-
{{#if: {{{area}}}|
{{#if: {{{area|}}}|
{{!}} '''Surface area'''
{{!}} '''Surface area'''
{{!}} {{{area}}}}}
{{!}} {{{area}}}}}
|-
|-
{{#if: {{{depth}}}|
{{#if: {{{depth|}}}|
{{!}} '''Average depth'''
{{!}} '''Average depth'''
{{!}} {{{depth}}}}}
{{!}} {{{depth}}}}}
|-
|-
{{#if: {{{max-depth}}}|
{{#if: {{{max-depth|}}}|
{{!}} '''Max-depth'''
{{!}} '''Max-depth'''
{{!}} {{{max-depth}}}}}
{{!}} {{{max-depth}}}}}
|-
|-
{{#if: {{{volume}}}|
{{#if: {{{volume|}}}|
{{!}} '''Water volume'''
{{!}} '''Water volume'''
{{!}} {{{volume}}}}}
{{!}} {{{volume}}}}}
Line 66: Line 66:
{{!}} {{{residence_time}}}}}
{{!}} {{{residence_time}}}}}
|-
|-
{{#if: {{{shore}}}|
{{#if: {{{shore|}}}|
{{!}} '''Shore length<sup>1</sup>'''
{{!}} '''Shore length<sup>1</sup>'''
{{!}} {{{shore}}}}}
{{!}} {{{shore}}}}}
|-
|-
{{#if: {{{elevation}}}|
{{#if: {{{elevation|}}}|
{{!}} '''Surface elevation'''
{{!}} '''Surface elevation'''
{{!}} {{{elevation}}}}}
{{!}} {{{elevation}}}}}
|-
|-
{{#if: {{{islands}}}|
{{#if: {{{islands|}}}|
{{!}} '''Islands'''
{{!}} '''Islands'''
{{!}} {{{islands}}}}}
{{!}} {{{islands}}}}}
|-
|-
{{#if: {{{cities}}}|
{{#if: {{{cities|}}}|
{{!}} '''Settlements'''
{{!}} '''Settlements'''
{{!}} {{{cities}}}}}
{{!}} {{{cities}}}}}
Line 86: Line 86:
{{!}} {{{reference}}}}}
{{!}} {{{reference}}}}}
|-  
|-  
{{#if: {{{shore}}}|
{{#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 an imprecise measure which may not be standardized for this article.}}
! 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 an imprecise measure which may not be standardized for this article.}}
|}<noinclude><table style="border: #999999 solid 1px; background: #EEEEEE; padding: 8px;">
|}<noinclude><table style="border: #999999 solid 1px; background: #EEEEEE; padding: 8px;">

Revision as of 18:18, 19 November 2006

Please see the talk page for examples and a guide to using it.


{{Infobox_lake
 |lake_name =
 |image_lake =
 |caption_lake =
 |image_bathymetry =
 |caption_bathymetry =
 |Location =
 |coords = {{coor dm|59|59|N|189|59|W|type:waterbody_region:ZZ}}
 |type =
 |inflow =
 |outflow =
 |catchment =
 |basin_countries =
 |length =
 |width =
 |area =
 |depth =
 |max-depth =
 |volume =
 |residence_time =
 |shore =
 |elevation =
 |islands =
 |cities =
}}

fr:Modèle:Lac pt:Predefinição:Infocaixa lago