Difference between revisions of "Template:Case Description"

From AquaPedia Case Study Database
Jump to: navigation, search
 
(67 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Case Description
 
{{Case Description
|Case Study=
 
 
|Geolocation=
 
|Geolocation=
 
|Population=
 
|Population=
Line 11: Line 10:
 
|Land Use=
 
|Land Use=
 
|Water Use=
 
|Water Use=
 +
|Water Features=
 +
|Water Projects=
 +
|Agreements=
 +
|Riparian=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{{Only Category|Only Category=Case Description}}
+
<div class="section-right-box">'''Case Description'''
{{#ifeq: {{#show: {{PAGENAME}} | ?Category | link=none}} | Category:Case Study | |Included in Case Studies: {{#arraymap:{{{Case Study|}}}|,|x|[[Case Study::x]]}}}}
+
 
<div class="section-right-box">
+
{{#display_point:{{{Geolocation|}}}
{|  
+
| width=200
! Geolocation
+
| height=200
| [[Geolocation::{{{Geolocation|}}}]]
+
| zoom=3}}  
 +
 
 +
{| style="text-align: left; font-size:10px;"
 +
! {{#if: {{{Geolocation|}}} | Geolocation: }}
 +
| {{#if: {{{Geolocation|}}} | [[Geolocation::{{{Geolocation|}}}]] }}
 
|-
 
|-
! Total Watershed Population
+
! {{#if: {{{Population|}}} | Total Population }}
| [[Population::{{{Population|}}}]]
+
| {{#if: {{{Population|}}} | [[Population::{{{Population|}}}]] }}{{#if: {{{Population|}}} | million}}
 
|-
 
|-
! Total Watershed Area
+
! {{#if: {{{Area|}}} | Total Area }}
| [[Area::{{{Area|}}}]]
+
| {{#if: {{{Area|}}} |  [[Area::{{{Area|}}}]] km<sup>2</sup> }}
 
|-
 
|-
! Climate Descriptors
+
! {{#if: {{{Climate|}}} | Climate Descriptors }}
| {{#arraymap:{{{Climate|}}}|,|x|[[Climate::x]]}}
+
| {{#if: {{{Climate|}}} | {{#arraymap:{{{Climate|}}}|;|x|[[Climate::x]]| ,&#32;}}  }}  
 
|-
 
|-
! Predominant Land Use and Land Cover Descriptors
+
! {{#if: {{{Land Use|}}} | Predominent Land Use Descriptors }}
| {{#arraymap:{{{Land Use|}}}|,|x|[[Land Use::x]]}}
+
| {{#if: {{{Land Use|}}} | {{#arraymap:{{{Land Use|}}}|,|x|[[Land Use::x]]| ,&#32;}}  }}  
 
|-
 
|-
! Most Important Uses of Water
+
! {{#if: {{{Water Use|}}} | Important Uses of Water}}
| {{#arraymap:{{{Water Use|}}}|,|x|[[Water Use::x]]}}
+
| {{#if: {{{Water Use|}}} | {{#arraymap:{{{Water Use|}}}|,|x|[[Water Use::x]]| ,&#32;}} }}
 +
|-
 +
{{#if: {{{Water Features|}}} | ! Water Features: {{!}}{{!}} {{#arraymap:{{{Water Features}}}|;|x|[[Water Feature::x]] | ,&#32;}}
 +
{{!}}- }}
 +
{{#if: {{{Riparians|}}} | ! Riparians: {{!}}{{!}} {{#arraymap:{{{Riparians}}}|;|x|[[Riparian::x]] | ,&#32; }}
 +
{{!}}- }}
 +
{{#if: {{{Water Projects|}}} | ! Water Projects: {{!}}{{!}} {{#arraymap:{{{Water Projects}}}|;|x|[[Water Project::x]] |  ,&#32; }}
 +
{{!}}- }}
 +
{{#if: {{{Agreements|}}} | ! Agreements: {{!}}{{!}} {{#arraymap:{{{Agreements|}}}|;|x|[[Agreement::x]] | ,&#32; }}
 +
{{!}}- }}
 
|}
 
|}
 
</div>
 
</div>

Latest revision as of 09:23, 27 May 2014

This is the "Case Description" template. It should be called in the following format:

{{Case Description
|Geolocation=
|Population=
|Area=
|Climate=
|Land Use=
|Water Use=
|Water Features=
|Water Projects=
|Agreements=
|Riparian=
}}

Edit the page to see the template text.