Difference between revisions of "Template:Search Case Description"

From AquaPedia Case Study Database
Jump to: navigation, search
(Created page with "<noinclude> This is the "Search Case Description" template. It should be called in the following format: <pre> {{Search Case Description |Area= |Climate= |Geolocation= |Issue=...")
 
 
(11 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Search Case Description
 
{{Search Case Description
|Area=
+
|Arealower=
 +
|AreaUpper=
 
|Climate=
 
|Climate=
|Geolocation=
 
 
|Issue=
 
|Issue=
 
|NSPD=
 
|NSPD=
Line 15: Line 15:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable"
+
</noinclude><includeonly>
! Area
+
{{#ask: [[Category:Case Description]]
| [[Area::{{{Area|}}}]]
+
        {{#if: {{{AreaLower|}}}        | [[Area::>{{{AreaLower|}}}]]}}
|-
+
        {{#if: {{{AreaUpper|}}}        | [[Area::<{{{AreaUpper|}}}]]}}
! Climate
+
        {{#if: {{{Climate|}}}          | {{#arraymap:{{{Climate|}}}|,|x|[[Climate::x]]| OR}} }}  
| {{#arraymap:{{{Climate|}}}|,|x|[[Climate::x]]}}
+
        {{#if: {{{Issue|}}}           | [[Issue::{{{Issue|}}}]] }}
|-
+
        {{#if: {{{NSPD|}}}            | {{#arraymap:{{{NSPD|}}}|,|x|[[NSPD::x]]| OR}} }}  
! Geolocation
+
        {{#if: {{{PopulationLower|}}}  | [[Population::>{{{PopulationLower|}}}]] }}
| [[Geolocation::{{{Geolocation|}}}]]
+
        {{#if: {{{PopulationUpper|}}}  | [[Population::<{{{PopulationUpper|}}}]] }}
|-
+
        {{#if: {{{Stakeholder|}}}      | [[Stakeholder::{{{Stakeholder|}}}]] }}
! Issue
+
        {{#if: {{{Water Use|}}}        | {{#arraymap:{{{Water Use|}}}|,|x|[[Water Use::x]]| OR}} }}  
| [[Issue::{{{Issue|}}}]]
+
| ?Area
|-
+
| ?Climate
! NSPD
+
| ?Issue
| {{#arraymap:{{{NSPD|}}}|,|x|[[NSPD::x]]}}
+
| ?NSPD
|-
+
| ?Population
! Population
+
| ?Stakeholder
| [[Population::{{{Population|}}}]]
+
| ?Water Use
|-
+
}}
! Stakeholder
+
 
| [[Stakeholder::{{{Stakeholder|}}}]]
+
|-
+
! Water Use
+
| {{#arraymap:{{{Water Use|}}}|,|x|[[Water Use::x]]}}
+
|}
+
 
</includeonly>
 
</includeonly>

Latest revision as of 11:59, 14 May 2012

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

{{Search Case Description
|Arealower=
|AreaUpper=
|Climate=
|Issue=
|NSPD=
|Population=
|Stakeholder=
|Water Use=
}}

Edit the page to see the template text.