Template:Case Description: Difference between revisions

From AquaPedia Case Study Database
Jump to navigation Jump to search
Add SMW annotations for Water Use and Agreement
Add SMW annotations for Water Projects, Agreements, Riparians, and Water Features to enable factbox display
 
(4 intermediate revisions by 2 users not shown)
Line 54: Line 54:
<tr>
<tr>
<th style="padding: 4px; text-align: left; vertical-align: top; font-weight: normal;">Important Uses of Water:</th>
<th style="padding: 4px; text-align: left; vertical-align: top; font-weight: normal;">Important Uses of Water:</th>
<td style="padding: 4px;">{{#arraymap:{{{Water Use|}}}|,|@@@@|[[Water Use::@@@@]]|, }}</td>
<td style="padding: 4px;">{{#arraymap:{{{Water Use|}}}|,|x|[[Water Use::x]]|, }}</td>
</tr>
</tr>
}}
}}
Line 72: Line 72:
<tr>
<tr>
<th style="padding: 4px; text-align: left; vertical-align: top; font-weight: normal;">Water Projects:</th>
<th style="padding: 4px; text-align: left; vertical-align: top; font-weight: normal;">Water Projects:</th>
<td style="padding: 4px;">{{{Water Projects}}}</td>
<td style="padding: 4px;">{{#arraymap:{{{Water Projects|}}}|;|x|[[Water Project::x]]|; }}</td>
</tr>
</tr>
}}
}}
Line 78: Line 78:
<tr>
<tr>
<th style="padding: 4px; text-align: left; vertical-align: top; font-weight: normal;">Agreements:</th>
<th style="padding: 4px; text-align: left; vertical-align: top; font-weight: normal;">Agreements:</th>
<td style="padding: 4px;">{{#arraymap:{{{Agreements|}}}|;|@@@@|[[Agreement::{{#replace:@@@@|;|}}]]|; }}</td>
<td style="padding: 4px;">{{#arraymap:{{{Agreements|}}}|;|x|[[Agreement::x]]|; }}</td>
</tr>
</tr>
}}
}}

Latest revision as of 11:24, 15 December 2025

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

{{Case Description
|Geolocation=
|Population=
|Area=
|Climate=
|Land Use=
|Water Use=
|Water Features=
|Water Projects=
|Agreements=
|Riparian=
}}

Edit the page to see the template text.