Difference between revisions of "Template:Search Case Study"

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

Revision as of 11:07, 23 May 2012

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

{{Search Case Study
|AreaLower=
|AreaUpper=
|Climate=
|Issue=
|Key Question=
|Land Use=
|NSPD=
|PopulationLower=
|PopulationUpper=
|Stakeholder Type=
|Water Use=
}}

Edit the page to see the template text.