Difference between revisions of "Template:Case Description"

From AquaPedia Case Study Database
Jump to: navigation, search
 
 
(83 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Case Description
 
{{Case Description
|Issue=
+
|Geolocation=
 +
|Population=
 +
|Area=
 +
|Climate=
 +
|Land 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>{| class="wikitable"
+
</noinclude><includeonly>
! Issue
+
<div class="section-right-box">'''Case Description'''
| {{#arraymap:{{{Issue|}}}|,|x|[[Issue::x]]}}
+
|}
+
  
[[Category:Case Description]]
+
{{#display_point:{{{Geolocation|}}}
</includeonly>
+
| width=200
 +
| height=200
 +
| zoom=3}}
 +
 
 +
{| style="text-align: left; font-size:10px;"
 +
! {{#if: {{{Geolocation|}}} | Geolocation: }}
 +
| {{#if: {{{Geolocation|}}} | [[Geolocation::{{{Geolocation|}}}]] }}
 +
|-
 +
! {{#if: {{{Population|}}} | Total Population }}
 +
| {{#if: {{{Population|}}} | [[Population::{{{Population|}}}]] }}{{#if: {{{Population|}}} | million}}
 +
|-
 +
! {{#if: {{{Area|}}} | Total Area }}
 +
| {{#if: {{{Area|}}} |  [[Area::{{{Area|}}}]]  km<sup>2</sup> }}
 +
|-
 +
! {{#if: {{{Climate|}}} | Climate Descriptors }}
 +
| {{#if: {{{Climate|}}} | {{#arraymap:{{{Climate|}}}|;|x|[[Climate::x]]| ,&#32;}}  }}
 +
|-
 +
! {{#if: {{{Land Use|}}} | Predominent Land Use Descriptors }}
 +
| {{#if: {{{Land Use|}}} | {{#arraymap:{{{Land Use|}}}|,|x|[[Land Use::x]]| ,&#32;}}  }}
 +
|-
 +
! {{#if: {{{Water Use|}}} | Important Uses of Water}}
 +
| {{#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>

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.