Template:PolicyInterventionTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
</noinclude><includeonly>
</noinclude><includeonly>
<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><td class="PageWidthTableFirstCell">'''Is implemented in:'''</td>
<td class="PageWidthTableFirstCell">'''Is implemented in:'''</td>
<td class="PageWidthTableRemainderCell">
<td class="PageWidthTableRemainderCell">
{{#arraymap:{{{Component|}}}|;|x|[[HasComponent::x]]}}</td></tr>}}
{{#arraymap:{{{Component|}}}|;|x|[[HasComponent::x]]}}</td></tr>}}
{{#ifeq:{{{BelongsToTheme|}}}|||<tr>
{{#ifeq:{{{BelongsToTheme|}}}|||<tr><td class="PageWidthTableFirstCell">'''Belongs to theme:'''</td><td class="PageWidthTableRemainderCell">
<td class="PageWidthTableFirstCell">'''Theme classification:'''</td>
[[BelongsToTheme::{{{BelongsToTheme|}}}]]</td></tr>
}}
{{#ifeq:{{{HumanDevelopmentThemeItem|}}}{{{WaterThemeItem|}}}{{{EnergyThemeItem|}}}{{{LanduseThemeItem|}}}{{{NatureThemeItem|}}}{{{FoodThemeItem|}}}{{{AirThemeItem|}}}{{{ClimateThemeItem|}}}{{{AllThemeItem|}}}
|||<tr><td class="PageWidthTableFirstCell">'''ThemeItems:'''</td>
<td class="PageWidthTableRemainderCell">
<td class="PageWidthTableRemainderCell">
[[BelongsToTheme::{{{BelongsToTheme|}}}]]{{#ifeq:
{{#arraymap:{{{HumanDevelopmentThemeItem|}}}{{{WaterThemeItem|}}}{{{EnergyThemeItem|}}}{{{LanduseThemeItem|}}}{{{NatureThemeItem|}}}{{{FoodThemeItem|}}}{{{AirThemeItem|}}}{{{ClimateThemeItem|}}}{{{AllThemeItem|}}}|;|x|[[HasThemeItem::x]]}}</td></tr>}}
{{{HumanDevelopmentThemeItem|}}}{{{WaterThemeItem|}}}{{{EnergyThemeItem|}}}{{{LanduseThemeItem|}}}{{{NatureThemeItem|}}}{{{FoodThemeItem|}}}{{{AirThemeItem|}}}{{{ClimateThemeItem|}}}{{{AllThemeItem|}}}
|||({{#arraymap:{{{HumanDevelopmentThemeItem|}}}{{{WaterThemeItem|}}}{{{EnergyThemeItem|}}}{{{LanduseThemeItem|}}}{{{NatureThemeItem|}}}{{{FoodThemeItem|}}}{{{AirThemeItem|}}}{{{ClimateThemeItem|}}}{{{AllThemeItem|}}}|;|x|[[HasThemeItem::x]]}})</td></tr>}}
</table>
</table>
<br/>
<br/>

Revision as of 12:52, 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.