Difference between revisions of "Template:Search Results"

From AquaPedia Case Study Database
Jump to: navigation, search
(Created page with "<noinclude> This is the "Search Results" template. It should be called in the following format: <pre> {{Search Results |NSPD= |Water Use= |Issue= |Country= |Water Basin= |Area...")
 
 
(3 intermediate revisions by the same user not shown)
Line 21: Line 21:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable"
+
</noinclude><includeonly>
! NSPD
+
{{#ask: <!-- Treaty -->
| {{#arraymap:{{{NSPD|}}}|,|x|[[NSPD::x]]}}
+
        {{#if: {{{Status|}}}   | [[Status::{{{Status|}}}]] }}
|-
+
        {{#if: {{{DateLower|}}} | [[Date::>{{{DateLower|}}}]] }}
! Water Use
+
        {{#if: {{{DateUpper|}}} | [[Date::<{{{DateUpper|}}}]] }}
| {{#arraymap:{{{Water Use|}}}|,|x|[[Water Use::x]]}}
+
      <!-- Water Body -->
|-
+
        {{#if: {{{Water Body Type|}}} | {{#arraymap:{{{Water Body Type|}}}|,|x|[[Water Body Type::x]] | OR }}}}     
! Issue
+
        {{#if: {{{AreaLower|}}}       | [[Area::>{{{AreaLower|}}}]]}}
| {{#arraymap:{{{Issue|}}}|,|x|[[Issue::x]]}}
+
        {{#if: {{{AreaUpper|}}}      | [[Area::<{{{AreaUpper|}}}]]}}
|-
+
        {{#if: {{{Location|}}}        | [[Location:{{{Location|}}}]]}}
! Country
+
      <!-- Case Description -->
| {{#arraymap:{{{Country|}}}|,|x|[[Country::x]]}}
+
        {{#if: {{{AreaLower|}}}        | [[Area::>{{{AreaLower|}}}]]}}
|-
+
        {{#if: {{{AreaUpper|}}}        | [[Area::<{{{AreaUpper|}}}]]}}
! Water Basin
+
        {{#if: {{{Climate|}}}          | {{#arraymap:{{{Climate|}}}|,|x|[[Climate::x]]| OR}} }}  
| {{#arraymap:{{{Water Basin|}}}|,|x|[[Water Basin::x]]}}
+
        {{#if: {{{Issue|}}}            | [[Issue::{{{Issue|}}}]] }}
|-
+
        {{#if: {{{NSPD|}}}            | {{#arraymap:{{{NSPD|}}}|,|x|[[NSPD::x]]| OR}} }}  
! Basin Area
+
        {{#if: {{{PopulationLower|}}} | [[Population::>{{{PopulationLower|}}}]] }}
| [[Area::{{{Area|}}}]]
+
        {{#if: {{{PopulationUpper|}}}  | [[Population::<{{{PopulationUpper|}}}]] }}
|-
+
        {{#if: {{{Stakeholder|}}}      | [[Stakeholder::{{{Stakeholder|}}}]] }}
! Annual Discharge
+
        {{#if: {{{Water Use|}}}        | {{#arraymap:{{{Water Use|}}}|,|x|[[Water Use::x]]| OR}} }}  
| [[Annual Discharge::{{{Annual Discharge|}}}]]
+
| ?Category
|-
+
| ?NSPD
! Water Body
+
}}
| [[Water Body::{{{Water Body|}}}]]
+
|-
+
! Watershed Population
+
| [[Population::{{{Population|}}}]]
+
|-
+
! Land Use
+
| {{#arraymap:{{{Land Use|}}}|,|x|[[Land Use::x]]}}
+
|-
+
! Treaty
+
| {{#arraymap:{{{Treaty|}}}|,|x|[[Treaty::x]]}}
+
|-
+
! Economic Factor
+
| {{#arraymap:{{{Economic Factor|}}}|,|x|[[Economic Factor::x]]}}
+
|-
+
! Stakeholder
+
| {{#arraymap:{{{Stakeholder|}}}|,|x|[[Stakeholder::x]]}}
+
|-
+
! Title
+
| {{{Title|}}}
+
|}
+
 
</includeonly>
 
</includeonly>

Latest revision as of 14:10, 14 May 2012

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

{{Search Results
|NSPD=
|Water Use=
|Issue=
|Country=
|Water Basin=
|Area=
|Annual Discharge=
|Water Body=
|Population=
|Land Use=
|Treaty=
|Economic Factor=
|Stakeholder=
|Title=
}}

Edit the page to see the template text.