Template:Case Description: Difference between revisions
Jump to navigation
Jump to search
| [unchecked revision] | [checked revision] |
No edit summary |
Add SMW annotations for Water Projects, Agreements, Riparians, and Water Features to enable factbox display |
||
| (70 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This is the "Case Description" template. | This is the "Case Description" template. It should be called in the following format: | ||
It should be called in the following format: | |||
<pre> | <pre> | ||
{{Case Description | {{Case Description | ||
| Line 17: | Line 16: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly> | </noinclude> | ||
<includeonly> | |||
<div class="section-right-box">'''Case Description''' | <div class="section-right-box">'''Case Description''' | ||
{{#display_point:{{{Geolocation|}}} | width=200 | height=200 | zoom=3}} | |||
{{#display_point:{{{Geolocation|}}} | <table style="text-align: left; font-size:10px; width:100%; border-collapse: collapse;"> | ||
| width=200 | {{#if: {{{Geolocation|}}} | | ||
| height=200 | <tr> | ||
| zoom=3}} | <th style="padding: 4px; text-align: left; vertical-align: top; font-weight: normal;">Geolocation:</th> | ||
<td style="padding: 4px;">[[Geolocation::{{{Geolocation}}}]]</td> | |||
</tr> | |||
}} | |||
{{#if: {{{Population|}}} | | |||
<tr> | |||
<th style="padding: 4px; text-align: left; vertical-align: top; font-weight: normal;">Total Population:</th> | |||
<td style="padding: 4px;">[[Population::{{{Population}}}]] million</td> | |||
</tr> | |||
}} | |||
{{#if: {{{Area|}}} | | |||
<tr> | |||
<th style="padding: 4px; text-align: left; vertical-align: top; font-weight: normal;">Total Area:</th> | |||
<td style="padding: 4px;">[[Area::{{{Area}}}]] km<sup>2</sup></td> | |||
</tr> | |||
}} | |||
{{#if: {{{Climate|}}} | | |||
<tr> | |||
<th style="padding: 4px; text-align: left; vertical-align: top; font-weight: normal;">Climate Descriptors:</th> | |||
<td style="padding: 4px;">[[Climate::{{{Climate}}}]]</td> | |||
</tr> | |||
{{#if: {{{Water Features|}}} | | }} | ||
{{#if: {{{Land Use|}}} | | |||
{{#if: {{{Riparians|}}} | | <tr> | ||
<th style="padding: 4px; text-align: left; vertical-align: top; font-weight: normal;">Predominent Land Use Descriptors:</th> | |||
{{#if: {{{Water Projects|}}} | | <td style="padding: 4px;">[[Land Use::{{{Land Use}}}]]</td> | ||
</tr> | |||
{{#if: {{{Agreements|}}} | | }} | ||
{{#if: {{{Water Use|}}} | | |||
<tr> | |||
<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|}}}|,|x|[[Water Use::x]]|, }}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{Water Features|}}} | | |||
<tr> | |||
<th style="padding: 4px; text-align: left; vertical-align: top; font-weight: normal;">Water Features:</th> | |||
<td style="padding: 4px;">{{{Water Features}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{Riparians|}}} | | |||
<tr> | |||
<th style="padding: 4px; text-align: left; vertical-align: top; font-weight: normal;">Riparians:</th> | |||
<td style="padding: 4px;">{{{Riparians}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{Water Projects|}}} | | |||
<tr> | |||
<th style="padding: 4px; text-align: left; vertical-align: top; font-weight: normal;">Water Projects:</th> | |||
<td style="padding: 4px;">{{#arraymap:{{{Water Projects|}}}|;|x|[[Water Project::x]]|; }}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{Agreements|}}} | | |||
<tr> | |||
<th style="padding: 4px; text-align: left; vertical-align: top; font-weight: normal;">Agreements:</th> | |||
<td style="padding: 4px;">{{#arraymap:{{{Agreements|}}}|;|x|[[Agreement::x]]|; }}</td> | |||
</tr> | |||
}} | |||
</table> | |||
</div> | </div> | ||
</includeonly> | |||
Latest revision as of 10: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.