Template:ComponentPolicyIssueTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
(15 intermediate revisions by 2 users not shown)
Line 11: Line 11:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
 
<div class="top_container">{{IconTemplate|{{#titleparts: {{PAGENAME}}|1}} }}
{{IconTemplate|{{#titleparts: {{PAGENAME}}|1}} }}
{{ContentPartsTemplate|PagePartHeader=Parts of {{#titleparts: {{FULLPAGENAME}}|1}} }}__TOC__  
{{ContentPartsTemplate|PagePartHeader=Parts of {{#titleparts: {{PAGENAME}}|1}}|subpage=1 }}__TOC__<br clear="all"/>  
</div><div class="container">
{{InfoBoxSubPageTemplate|PagePartHeader=Component parts|Reference={{{Reference|}}} }}
{{InfoBoxTemplate}}
<h2>Baseline development</h2>
<div class="page_standard"><h2>Baseline developments</h2>
{{{Description|}}}
{{{Description|}}}
{{DisplayPolicyInterventionFigureTemplate|{{#titleparts: {{PAGENAME}}|1}}|Baseline figure}}
{{DisplayPolicyInterventionFigureTemplate|{{#titleparts: {{PAGENAME}}|1}}|Baseline figure}}
<br clear="all">
<h2>Policy interventions</h2>
{{#ifeq:{{#ask:[[Category:PolicyIntervention]][[HasComponent::{{#titleparts: {{BASEPAGENAME}} | 1 }}]]|format=count}}|0||
<h2>Implementation of policy interventions</h2>
{{#ask:[[Category:PolicyIntervention]][[HasComponent::{{#titleparts: {{BASEPAGENAME}} | 1 }}]]
|mainlabel=Policy intervention
|?HasDescription=Description
|?HasReference=References
  |userparam=3col
  |format=template
  |template=TableStandardRowTemplate
  |intro={{TableIntroTemplate|15%|Policy intervention|50%|Description|20%|References|}}
  |outro=</table>
  |limit=20
  |outro=</table><br/><br/>
}} }}
{{#ifeq:{{#ask:[[HasEffectOnComponent::{{#titleparts: {{BASEPAGENAME}} | 1 }}]]|format=count}}|0||
<h2>Effects of policy interventions</h2>
{{#arraymap:
{{#ask:[[HasEffectOnComponent::{{PAGENAME}}]]
  |mainlabel=
  |sep=;
  |link=none
}}|;|xx|
{{#ask: [[Has subobject::xx]]
  |mainlabel=Policy intervention
  |?HasDescription=Description
  |format=template
  |template=PIEffectTableRowTemplate
  |intro={{TableIntroTemplate|20%|Policy intervention|40%|Description|40%|Effect}}
  |outro=</table>
}}
|}}
}}
==Example of policy intervention== __NOEDITSECTION__
{{#ifeq:{{{Example|}}}|||{{{Example|}}}<br/>}}
{{#ifeq:{{{Example|}}}|||{{{Example|}}}<br/>}}
{{DisplayPolicyInterventionFigureTemplate|{{#titleparts: {{PAGENAME}}|1}}|Policy intervention figure}}
{{DisplayPolicyInterventionFigureTemplate|{{#titleparts: {{PAGENAME}}|1}}|Policy intervention figure}}
<br clear=all>
</div></div>
{{ContentPartsTemplate|PagePartHeader=Parts of {{#titleparts: {{PAGENAME}}|1}}|subpage=1 }}
{{PIEffectOnComponentTemplate }}
{{ContentPartsTemplate|PagePartHeader=Parts of {{#titleparts: {{PAGENAME}}|1}} }}


[[Category:ComponentPolicyIssue]]
[[Category:ComponentPolicyIssue]]
<!--arraymap assigns the property, but does not display  anything -->
{{#arraymap:{{{Reference|}}}|;|xx|{{#set:HasReference=xx}} |}}
{{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x| ]]|}}


[[HasPageLabel::Policy issues| ]]
{{#set:HasPageLabel=Policy issues}}
[[BelongsToPage::{{#titleparts: {{PAGENAME}}|1}}| ]]
{{#set:BelongsToPage={{#titleparts: {{FULLPAGENAME}}|1}} }}
[[HasSequence::2| ]]
{{#set:HasSequence=2}}
</includeonly>
</includeonly>

Revision as of 16:21, 14 July 2017

This is the "ComponentPolicyIssueTemplate" template. It should be called in the following format:

{{ComponentPolicyIssueTemplate
|Reference=
|Description=
|Example=
}}

Edit the page to see the template text.