Template:ThemeItemTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Oostenrijr (talk | contribs) 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> | </noinclude><includeonly>__NOEDITSECTION__ __NOTOC__ | ||
<table class="PageWidthTableTemplate"> | |||
<tr> | |||
<td class="PageWidthTableFirstCell">''' Interpretation of theme:'''</td> | |||
<td class="PageWidthTableRemainderCell"> | |||
[[HasInterpretation::{{{Interpretation|}}}]]</td> | |||
</tr><tr> | |||
<td class="PageWidthTableFirstCell">'''Is item of theme:'''</td> | |||
* | <td class="PageWidthTableRemainderCell"> | ||
* | [[BelongsToTheme::{{{BelongsToTheme|}}}]]</td> | ||
=== Key policy | </tr> | ||
{{#ask:[[Category:KeyPolicyQuestion]][[HasThemeItem::{{PAGENAME}}]] | </table> | ||
<h2>Related overviews</h2> | |||
* [[Key policy issues overview]] displays the components and their Key policy issues organised by policy theme. | |||
* [[Policy interventions overview]] displays policy interventions organised by policy theme. | |||
=={{PAGENAME}} associations== | |||
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}}. | |||
{{#ifeq:{{PropertyTestTemplate|page={{PAGENAME}}|prop=HasThemeItem|reverse=1}} | |||
|0|No associations | |||
|{{#ifeq: | |||
{{#ask:[[Category:KeyPolicyQuestion]][[HasThemeItem::{{PAGENAME}}]]|format=count}} | |||
|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> | |||
}} | |||
|}} | |||
[[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.