Template:KeyPolicyQuestionTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(17 intermediate revisions by 2 users not shown)
Line 6: Line 6:
|HasDescription=
|HasDescription=
|PQBelongsToComponent=
|PQBelongsToComponent=
|HasKeyword=
|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:{{{BelongsToTheme|}}}|||<tr><td class="PageWidthTableFirstCell">'''Belongs to theme:'''</td><td class="PageWidthTableRemainderCell">
{{#ifeq:{{{HumanDevelopmentThemeItem|}}}{{{WaterThemeItem|}}}{{{EnergyThemeItem|}}}{{{LanduseThemeItem|}}}{{{NatureThemeItem|}}}{{{FoodThemeItem|}}}{{{AirThemeItem|}}}{{{ClimateThemeItem|}}}|||<tr>
[[BelongsToTheme::{{{BelongsToTheme|}}}]]</td></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>}}
{{#ifeq:{{{ThemeItem|}}}|||<tr><td class="PageWidthTableFirstCell">'''ThemeItems:'''</td>
<td class="PageWidthTableRemainderCell">
{{#arraymap:{{{ThemeItem|}}}|;|x|[[HasThemeItem::x]]}}</td></tr>}}
<!--{{#ifeq:{{{Keyword|}}}|||<tr><td class="PageWidthTableFirstCell">'''Keywords:'''</td>
<td class="PageWidthTableRemainderCell">
{{#arraymap:{{{Keyword|}}}|;|x|[[HasKeyword::x]]|}}</td></tr>}}-->
</table>
</table>
<br/>
<br/>
[[BelongsToTheme::Multiple themes| ]]
[[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.