Template:KeyPolicyQuestionTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(28 intermediate revisions by 2 users not shown)
Line 6: Line 6:
|HasDescription=
|HasDescription=
|PQBelongsToComponent=
|PQBelongsToComponent=
|HasKeyword=
|BelongsToTheme=
|ThemeItem=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable"
</noinclude><includeonly>
! Key Question
<table class="PageWidthTableTemplate">
| [[HasDescription::{{{HasDescription|}}}]]
{{#ifeq:{{{HasDescription|}}}|||<tr>
|-
<td class="PageWidthTableFirstCell">'''Description:'''</td>
! Belongs To Component
<td class="PageWidthTableRemainderCell">
| [[PQBelongsToComponent::{{{BelongsToComponent|}}}]]
[[HasDescription::{{{HasDescription|}}}]]</td></tr>}}
|-
{{#ifeq:{{{BelongsToComponent|}}}|||<tr>
! Has Keywords
<td class="PageWidthTableFirstCell">'''Belongs to component:'''</td>
| [[HasKeyword::{{{Keyword|}}}]]
<td class="PageWidthTableRemainderCell">
|}
{{#arraymap:{{{BelongsToComponent|}}}|;|x|[[PQBelongsToComponent::x]]}}</td></tr>}}
 
{{#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>}}
</table>
<br/>
[[Category:KeyPolicyQuestion]]  
[[Category:KeyPolicyQuestion]]  
 
[[HasPageName::{{PAGENAME}}| ]]
[[HasComponentType::{{#show:{{{BelongsToComponent|}}} | ?FrameworkElementType}}| ]]
</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.