Template:KeyPolicyQuestionTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<table class="PageWidthTableTemplate"> | <table class="PageWidthTableTemplate"> | ||
{{#ifeq:{{{HasDescription|}}}|||<tr><td class="PageWidthTableFirstCell">'''Description:'''</td><td class="PageWidthTableRemainderCell"> | {{#ifeq:{{{HasDescription|}}}|||<tr> | ||
<td class="PageWidthTableFirstCell">'''Description:'''</td> | |||
<td class="PageWidthTableRemainderCell"> | |||
[[HasDescription::{{{HasDescription|}}}]]</td></tr>}} | [[HasDescription::{{{HasDescription|}}}]]</td></tr>}} | ||
{{#ifeq:{{{BelongsToComponent|}}}|||<tr><td class="PageWidthTableFirstCell">'''Belongs to component:'''</td> | {{#ifeq:{{{BelongsToComponent|}}}|||<tr> | ||
<td class="PageWidthTableFirstCell">'''Belongs to component:'''</td> | |||
<td class="PageWidthTableRemainderCell"> | <td class="PageWidthTableRemainderCell"> | ||
{{#arraymap:{{{BelongsToComponent|}}}|;|x|[[PQBelongsToComponent::x]]}}</td></tr>}} | {{#arraymap:{{{BelongsToComponent|}}}|;|x|[[PQBelongsToComponent::x]]}}</td></tr>}} | ||
{{#ifeq:{{{BelongsToTheme|}}}|||<tr | {{#ifeq:{{{BelongsToTheme|}}}|||<tr> | ||
<td class="PageWidthTableFirstCell">'''Theme classification:'''</td> | |||
<td class="PageWidthTableRemainderCell"> | <td class="PageWidthTableRemainderCell"> | ||
{{#arraymap:{{{HumanDevelopmentThemeItem|}}}{{{WaterThemeItem|}}}{{{EnergyThemeItem|}}}{{{LanduseThemeItem|}}}{{{NatureThemeItem|}}}{{{FoodThemeItem|}}}{{{AirThemeItem|}}}{{{ClimateThemeItem|}}}{{{AllThemeItem|}}}|;|x|[[HasThemeItem::x]]}}</td></tr> | [[BelongsToTheme::{{{BelongsToTheme|}}}]]}} {{#ifeq: | ||
{{{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 13:05, 11 March 2014
This is the "KeyPolicyQuestionTemplate" template. It should be called in the following format:
{{KeyPolicyQuestionTemplate |HasDescription= |PQBelongsToComponent= |BelongsToTheme= |ThemeItem= }}
Edit the page to see the template text.