Template:ThemeItemTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
Policy themes are used to classify key policy questions and policy interventions. The tables below contain the questions and interventions associated with theme item {{PAGENAME}}. | Policy themes are used to classify key policy questions and policy interventions. The tables below contain the questions and interventions associated with theme item {{PAGENAME}}. | ||
{{#ifeq:{{PropertyTestTemplate|page={{PAGENAME}}|prop=HasThemeItem|reverse=1}}|0 | {{#ifeq:{{PropertyTestTemplate|page={{PAGENAME}}|prop=HasThemeItem|reverse=1}} | ||
|No associations | |0|No associations | ||
|<h3> | |{{#ifeq: | ||
{{#ask:[[Category:KeyPolicyQuestion]][[HasThemeItem::{{PAGENAME}}]] | {{#ask:[[Category:KeyPolicyQuestion]][[HasThemeItem::{{PAGENAME}}]]|format=count}} | ||
|0| | |||
|<h3>Associated key policy questions and their components </h3> | |||
{{#ask:[[Category:KeyPolicyQuestion]][[HasThemeItem::{{PAGENAME}}]] | |||
|mainlabel=- | |||
|?PQBelongsToComponent=Component | |||
|?HasDescription= Description | |||
|userparam=2col | |||
|sort=PQBelongsToComponent | |||
|format=template | |||
|template=TableStandardRowTemplate | |||
|intro={{TableIntroTemplate|20%|Component|70%|Description}} | |||
<h3> | |outro=</table> | ||
{{#ask:[[Category:PolicyIntervention]][[HasThemeItem::{{PAGENAME}}]] | |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=list | |||
}} | |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> |
Revision as of 13:05, 19 March 2014
This is the "ThemeItemTemplate" template. It will show the themes belonging to each Policy question and Policy intervention It should be called in the following format:
{{ThemeItemTemplate |= }}
Edit the page to see the template text.