Template:Case study query simple: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 47: | Line 47: | ||
|{{#if:{{{Reasons for river restoration value|}}}|&Case study query simple[Reasons for river restoration value]= {{{Reasons for river restoration value|}}} }} | |{{#if:{{{Reasons for river restoration value|}}}|&Case study query simple[Reasons for river restoration value]= {{{Reasons for river restoration value|}}} }} | ||
|Case study query simple[Result type]={{#ifeq: {{{Result type|}}} | Map | Table | Map }} | |Case study query simple[Result type]={{#ifeq: {{{Result type|}}} | Map | Table | Map }} | ||
|query string=&_run | |||
}} | }} | ||
Line 55: | Line 56: | ||
{{Query field multivalue|Field name=Theme|Value={{{Themes|}}} }} | {{Query field multivalue|Field name=Theme|Value={{{Themes|}}} }} | ||
{{Query field multivalue|Field name=Country|Value={{{Country|}}} }} | {{Query field multivalue|Field name=Country|Value={{{Country|}}} }} | ||
{{Query field like|Field name=Project title|Value={{{Title|}}} }} | {{Query field like|Field name=Project title lowercase|Value={{lc:{{{Title|}}}}} }} | ||
{{Query field like|Field name=River name|Value={{{River|}}} }} | {{Query field like|Field name=River name lowercase|Value={{lc:{{{River|}}}}} }} | ||
{{Query field like|Field name=Site name|Value={{{Site|}}} }} | {{Query field like|Field name=Site name lowercase|Value={{lc:{{{Site|}}}}} }} | ||
{{Query field gt|Field name=Project started|Value={{{Project started from|}}} }} | {{Query field gt|Field name=Project started|Value={{{Project started from|}}} }} | ||
{{Query field lt|Field name=Project started|Value={{{Project started to|}}} }} | {{Query field lt|Field name=Project started|Value={{{Project started to|}}} }} | ||
Line 75: | Line 76: | ||
{{Query field multivalue|Field name=Theme|Value={{{Themes|}}} }} | {{Query field multivalue|Field name=Theme|Value={{{Themes|}}} }} | ||
{{Query field multivalue|Field name=Country|Value={{{Country|}}} }} | {{Query field multivalue|Field name=Country|Value={{{Country|}}} }} | ||
{{Query field like|Field name=Project title|Value={{{Title|}}} }} | {{Query field like|Field name=Project title lowercase|Value={{lc:{{{Title|}}}}} }} | ||
{{Query field like|Field name=River name|Value={{{River|}}} }} | {{Query field like|Field name=River name lowercase|Value={{lc:{{{River|}}}}} }} | ||
{{Query field like|Field name=Site name|Value={{{Site|}}} }} | {{Query field like|Field name=Site name lowercase|Value={{lc:{{{Site|}}}}} }} | ||
{{Query field gt|Field name=Project started|Value={{{Project started from|}}} }} | {{Query field gt|Field name=Project started|Value={{{Project started from|}}} }} | ||
{{Query field lt|Field name=Project started|Value={{{Project started to|}}} }} | {{Query field lt|Field name=Project started|Value={{{Project started to|}}} }} | ||
Line 109: | Line 110: | ||
{{Query field multivalue|Field name=Theme|Value={{{Themes|}}} }} | {{Query field multivalue|Field name=Theme|Value={{{Themes|}}} }} | ||
{{Query field multivalue|Field name=Country|Value={{{Country|}}} }} | {{Query field multivalue|Field name=Country|Value={{{Country|}}} }} | ||
{{Query field like|Field name=Project title|Value={{{Title|}}} }} | {{Query field like|Field name=Project title lowercase|Value={{lc:{{{Title|}}}}} }} | ||
{{Query field like|Field name=River name|Value={{{River|}}} }} | {{Query field like|Field name=River name lowercase|Value={{lc:{{{River|}}}}} }} | ||
{{Query field like|Field name=Site name|Value={{{Site|}}} }} | {{Query field like|Field name=Site name lowercase|Value={{lc:{{{Site|}}}}} }} | ||
{{Query field gt|Field name=Project started|Value={{{Project started from|}}} }} | {{Query field gt|Field name=Project started|Value={{{Project started from|}}} }} | ||
{{Query field lt|Field name=Project started|Value={{{Project started to|}}} }} | {{Query field lt|Field name=Project started|Value={{{Project started to|}}} }} | ||
Line 127: | Line 128: | ||
|{{#ifeq:{{{Result type}}} | Map | ?Location |}} | |{{#ifeq:{{{Result type}}} | Map | ?Location |}} | ||
|format= {{#ifeq:{{{Result type}}} | Map | map | table}} | |format= {{#ifeq:{{{Result type}}} | Map | map | table}} | ||
|{{#ifeq:{{{Result type}}} | Map | template=Case study map popup |}} | |{{#ifeq:{{{Result type}}} | Map | template=Case-study map popup |}} | ||
|{{#ifeq:{{{Result type}}} | Map | icon=Red_marker.png |}} | |{{#ifeq:{{{Result type}}} | Map | icon=Red_marker.png |}} | ||
|{{#ifeq:{{{Result type}}} | Map | height=450 |}} | |{{#ifeq:{{{Result type}}} | Map | height=450 |}} | ||
Line 133: | Line 134: | ||
|{{#ifeq:{{{Result type}}} | Map | markercluster=on |}} | |{{#ifeq:{{{Result type}}} | Map | markercluster=on |}} | ||
|default=No matching case studies were found. | |default=No matching case studies were found. | ||
|Showtitle= | |Showtitle=yes | ||
}} | }} | ||
</includeonly> | </includeonly> |
Latest revision as of 16:30, 11 September 2024
This is the "Case study query simple" template. It should be called in the following format:
{{Case study query simple |Title= |Status= |Themes= |Country= |River= |Site= |Location= |Distance= |Project started from= |Project started to= |Result type= |Total cost category= |Monitoring performed= |Unit= }}
Edit the page to see the template text.