Template:ThemeItemTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(42 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "ThemeItemTemplate" template.
This is the "ThemeItemTemplate" template. It will show the themes belonging to each Key Policy issue and Policy intervention
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
Line 8: Line 8:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable"
</noinclude><includeonly>__NOEDITSECTION__ __NOTOC__
! Interpretation
<table class="PageWidthTableTemplate">
| [[HasInterpretation::{{{Interpretation|}}}]]
<tr>
|-
<td class="PageWidthTableFirstCell">''' Interpretation of theme:'''</td>
! BelongsToTheme
<td class="PageWidthTableRemainderCell">
| [[BelongsToTheme::{{{BelongsToTheme|}}}]]
[[HasInterpretation::{{{Interpretation|}}}]]</td>
|}
</tr><tr>
==Use of ThemeItem==
<td class="PageWidthTableFirstCell">'''Is item of theme:'''</td>
* Use of {{PAGENAME}} in [[#Key policy questions]]
<td class="PageWidthTableRemainderCell">
* Use of {{PAGENAME}} in [[#Policy interventions]]
[[BelongsToTheme::{{{BelongsToTheme|}}}]]</td>
=== Key policy questions===
</tr>
{{#ask:[[Category:KeyPolicyQuestion]][[HasThemeItem::{{PAGENAME}}]]
</table>
  |mainlabel=-
<h2>Related overviews</h2>
  |?PQBelongsToComponent=Component
* [[Key policy issues overview]] displays the components and their Key policy issues organised by policy theme.
  |?HasDescription= Description
* [[Policy interventions overview]] displays policy interventions organised by policy theme.
  |?=KPQ
=={{PAGENAME}} associations==
  |userparam=3col
Policy themes are used to classify Key policy issues and policy interventions. The tables below contain the issues and interventions associated with theme item {{PAGENAME}}.
  |sort=PQBelongsToComponent
 
  |format=template
{{#ifeq:{{PropertyTestTemplate|page={{PAGENAME}}|prop=HasThemeItem|reverse=1}}
  |template=StandardTableRowTemplate
|0|No associations
  |intro={{IntroTableTemplate|20%|Component|70%|Description|10%|KPQ}}
|{{#ifeq:
  |outro=</table>
{{#ask:[[Category:KeyPolicyQuestion]][[HasThemeItem::{{PAGENAME}}]]|format=count}}
  |limit=1500
|0|
}}
|<h3>Associated Key policy issues and their components </h3>
{{#ask:[[Category:KeyPolicyQuestion]][[HasThemeItem::{{PAGENAME}}]]
  |mainlabel=-
  |?PQBelongsToComponent=Component
  |?HasDescription=Description
  |userparam=2col
|sort=PQBelongsToComponent
|format=Plainlist
|template=TableStandardRowTemplate
|intro={{TableIntroTemplate|20%|Component|70%|Description}}
|outro=</table>
|limit=100
}}
}}
{{#ifeq:
{{#ask:[[Category:PolicyIntervention]][[HasThemeItem::{{PAGENAME}}]]|format=count}}
|0|
|<h3>Associated policy interventions, their components and the affected components</h3>
{{TableIntroTemplate|15%|Policy intervention|45%|Description|20%|Implemented in|20%|Affects component}}
{{#arraymap:
{{#ask:[[Category:PolicyIntervention]][[HasThemeItem::{{PAGENAME}}]]
|link=none
|format=Plainlist
|sep=;
}}
|;|zz
|<tr class="StandardTableRow"><td class="StandardTableCell">[[zz]]</td>
<td class="StandardTableCell">{{#show:zz |?HasDescription}}</td>
<td class="StandardTableCell">
{{#ask:[[zz]]
|mainlabel=-
|?HasComponent=
|format=ul
}}</td>
<td class="StandardTableCell">
{{#ask:<q>[[HasEffect::zz]]</q>
|mainlabel=-
|? hasEffectOnComponent=
|format=ul
}}</td>
</tr>
|}}
</table>
}}
|}}


===Policy interventions===
{{#ask:[[Category:PolicyIntervention]][[HasThemeItem::{{PAGENAME}}]]
  |mainlabel=Policy intervention
  |?HasDescription= Description
  |?HasComponent=Component
  |sort=HasComponent
  |format=template
  |userparam=3col
  |template=StandardTableRowTemplate
  |intro={{IntroTableTemplate|20%|Policy intervention|60%|Description|20%|Component}}
  |outro=</table>
  |limit=1500
}}


[[Category:ThemeItem]]
[[Category:ThemeItem]]
</includeonly>
</includeonly>

Latest revision as of 12:39, 25 March 2020

This is the "ThemeItemTemplate" template. It will show the themes belonging to each Key Policy issue and Policy intervention It should be called in the following format:

{{ThemeItemTemplate
|=
}}

Edit the page to see the template text.