Template:KeyPolicyQuestionTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(16 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
|HasDescription= | |HasDescription= | ||
|PQBelongsToComponent= | |PQBelongsToComponent= | ||
|BelongsToTheme= | |BelongsToTheme= | ||
|ThemeItem= | |ThemeItem= | ||
Line 14: | 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:{{{ | {{#ifeq:{{{HumanDevelopmentThemeItem|}}}{{{WaterThemeItem|}}}{{{EnergyThemeItem|}}}{{{LanduseThemeItem|}}}{{{NatureThemeItem|}}}{{{FoodThemeItem|}}}{{{AirThemeItem|}}}{{{ClimateThemeItem|}}}|||<tr> | ||
<td class="PageWidthTableFirstCell">'''Associated theme items:'''</td> | |||
}} | <td class="PageWidthTableRemainderCell">{{#arraymap:{{{HumanDevelopmentThemeItem|}}};{{{WaterThemeItem|}}};{{{EnergyThemeItem|}}};{{{LanduseThemeItem|}}};{{{NatureThemeItem|}}};{{{FoodThemeItem|}}};{{{AirThemeItem|}}};{{{ClimateThemeItem|}}}|;|x|[[HasThemeItem::x]]|, }}</td></tr>}} | ||
{{ | |||
<td class="PageWidthTableRemainderCell"> | |||
{{#arraymap:{{{ | |||
</table> | </table> | ||
<br/> | <br/> | ||
[[Category:KeyPolicyQuestion]] | [[Category:KeyPolicyQuestion]] | ||
[[HasPageName::{{PAGENAME}}| ]] | |||
[[ | |||
</includeonly> | </includeonly> |
Latest revision as of 14:27, 7 May 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.