Template:PolicyInterventionTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
<table class="PageWidthTableTemplate">
<table class="PageWidthTableTemplate">
{{#ifeq:{{{Description|}}}|||<tr>
{{#ifeq:{{{Description|}}}|||<tr>
<td class="PageWidthTableFirstCell">'''Description:'''</td><td class="PageWidthTableRemainderCell">
<td class="PageWidthTableFirstCell">'''Description:'''</td>
<td class="PageWidthTableRemainderCell">
[[HasDescription::{{{Description|}}}]]</td></tr>}}
[[HasDescription::{{{Description|}}}]]</td></tr>}}
{{#ifeq:{{{Reference|}}}|||<tr>
{{#ifeq:{{{Reference|}}}|||<tr>
<td class="PageWidthTableFirstCell">'''Reference:'''</td><td class="PageWidthTableRemainderCell">
<td class="PageWidthTableFirstCell">'''Reference:'''</td>
<td class="PageWidthTableRemainderCell">
{{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x]]}}</td></tr>}}
{{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x]]}}</td></tr>}}
{{#ifeq:{{{Component|}}}|||<tr>
{{#ifeq:{{{Component|}}}|||<tr>
Line 25: Line 27:
{{#arraymap:{{{Component|}}}|;|x|[[HasComponent::x]]}}</td></tr>}}
{{#arraymap:{{{Component|}}}|;|x|[[HasComponent::x]]}}</td></tr>}}
{{#ifeq:{{{BelongsToTheme|}}}|||<tr>
{{#ifeq:{{{BelongsToTheme|}}}|||<tr>
<td class="PageWidthTableFirstCell">'''Theme classification:'''</td><td class="PageWidthTableRemainderCell">
<td class="PageWidthTableFirstCell">'''Theme classification:'''</td>
[[BelongsToTheme::{{{BelongsToTheme|}}}]]</td></tr>
<td class="PageWidthTableRemainderCell">
}}
[[BelongsToTheme::{{{BelongsToTheme|}}}]]
{{#ifeq:{{{HumanDevelopmentThemeItem|}}}{{{WaterThemeItem|}}}{{{EnergyThemeItem|}}}{{{LanduseThemeItem|}}}{{{NatureThemeItem|}}}{{{FoodThemeItem|}}}{{{AirThemeItem|}}}{{{ClimateThemeItem|}}}{{{AllThemeItem|}}}
{{#ifeq:{{{HumanDevelopmentThemeItem|}}}{{{WaterThemeItem|}}}{{{EnergyThemeItem|}}}{{{LanduseThemeItem|}}}{{{NatureThemeItem|}}}{{{FoodThemeItem|}}}{{{AirThemeItem|}}}{{{ClimateThemeItem|}}}{{{AllThemeItem|}}}
|||<tr>
|||
<td class="PageWidthTableFirstCell">'''Theme items:'''</td>
({{#arraymap:{{{HumanDevelopmentThemeItem|}}}{{{WaterThemeItem|}}}{{{EnergyThemeItem|}}}{{{LanduseThemeItem|}}}{{{NatureThemeItem|}}}{{{FoodThemeItem|}}}{{{AirThemeItem|}}}{{{ClimateThemeItem|}}}{{{AllThemeItem|}}}|;|x|[[HasThemeItem::x]]}})</td></tr>}}
<td class="PageWidthTableRemainderCell">
{{#arraymap:{{{HumanDevelopmentThemeItem|}}}{{{WaterThemeItem|}}}{{{EnergyThemeItem|}}}{{{LanduseThemeItem|}}}{{{NatureThemeItem|}}}{{{FoodThemeItem|}}}{{{AirThemeItem|}}}{{{ClimateThemeItem|}}}{{{AllThemeItem|}}}|;|x|[[HasThemeItem::x]]}}</td></tr>}}
</table>
</table>
<br/>
<br/>

Revision as of 12:49, 11 March 2014

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

{{PolicyInterventionTemplate
|Description=
|Reference=
|Component=
|BelongsToTheme=
|ThemeItem=
}}

Edit the page to see the template text.