Difference between revisions of "Template:Search Results"

From AquaPedia Case Study Database
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 22: Line 22:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
<!--{{#ask:  
+
{{#ask: <!-- Treaty -->
  {{#arraymap:{{{NSPD|}}}|,|x|[[NSPD::x]]}}
+
        {{#if: {{{Status|}}}   | [[Status::{{{Status|}}}]] }}
  {{#arraymap:{{{Water Use|}}}|,|x|[[Water Use::x]]}}
+
        {{#if: {{{DateLower|}}} | [[Date::>{{{DateLower|}}}]] }}
  {{#arraymap:{{{Issue|}}}|,|x|[[Issue::x]]}}
+
        {{#if: {{{DateUpper|}}} | [[Date::<{{{DateUpper|}}}]] }}
  {{#arraymap:{{{Country|}}}|,|x|[[Country::x]]}}
+
      <!-- Water Body -->
  {{#arraymap:{{{Water Basin|}}}|,|x|[[Water Basin::x]]}}
+
        {{#if: {{{Water Body Type|}}} | {{#arraymap:{{{Water Body Type|}}}|,|x|[[Water Body Type::x]] | OR }}}}     
  [[Area::{{{Area|}}}]]
+
        {{#if: {{{AreaLower|}}}       | [[Area::>{{{AreaLower|}}}]]}}
  [[Annual Discharge::{{{Annual Discharge|}}}]]
+
        {{#if: {{{AreaUpper|}}}      | [[Area::<{{{AreaUpper|}}}]]}}
  [[Water Body::{{{Water Body|}}}]]
+
        {{#if: {{{Location|}}}        | [[Location:{{{Location|}}}]]}}
  [[Population::{{{Population|}}}]]
+
      <!-- Case Description -->
  {{#arraymap:{{{Land Use|}}}|,|x|[[Land Use::x]]}}
+
        {{#if: {{{AreaLower|}}}        | [[Area::>{{{AreaLower|}}}]]}}
  {{#arraymap:{{{Treaty|}}}|,|x|[[Treaty::x]]}}
+
        {{#if: {{{AreaUpper|}}}        | [[Area::<{{{AreaUpper|}}}]]}}
  {{#arraymap:{{{Economic Factor|}}}|,|x|[[Economic Factor::x]]}}
+
        {{#if: {{{Climate|}}}          | {{#arraymap:{{{Climate|}}}|,|x|[[Climate::x]]| OR}} }}  
  {{#arraymap:{{{Stakeholder|}}}|,|x|[[Stakeholder::x]]}}
+
        {{#if: {{{Issue|}}}            | [[Issue::{{{Issue|}}}]] }}
  {{{Title|}}}
+
        {{#if: {{{NSPD|}}}            | {{#arraymap:{{{NSPD|}}}|,|x|[[NSPD::x]]| OR}} }}  
 +
        {{#if: {{{PopulationLower|}}} | [[Population::>{{{PopulationLower|}}}]] }}
 +
        {{#if: {{{PopulationUpper|}}}  | [[Population::<{{{PopulationUpper|}}}]] }}
 +
        {{#if: {{{Stakeholder|}}}     | [[Stakeholder::{{{Stakeholder|}}}]] }}  
 +
        {{#if: {{{Water Use|}}}        | {{#arraymap:{{{Water Use|}}}|,|x|[[Water Use::x]]| OR}} }}  
 
| ?Category
 
| ?Category
 
| ?NSPD
 
| ?NSPD
}}-->
+
}}
 
</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.