Template:ComponentPolicyIssueTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(20 intermediate revisions by 3 users not shown)
Line 5: Line 5:
{{ComponentPolicyIssueTemplate
{{ComponentPolicyIssueTemplate
|Reference=
|Reference=
|Description=
|Example=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>{{ComponentFrameTemplate}}
 
{{IconTemplate|{{#titleparts: {{PAGENAME}}|1}} }}
{{ContentPartsTemplate|PagePartHeader=Parts of {{#titleparts: {{PAGENAME}}|1}}|subpage=1 }}__TOC__<br clear="all"/>
{{InfoBoxSubPageTemplate|PagePartHeader=Component parts|Reference={{{Reference|}}} }}
<h2>Baseline development</h2>
{{{Description|}}}
{{DisplayPolicyInterventionFigureTemplate|{{#titleparts: {{PAGENAME}}|1}}|Baseline figure}}
<br clear="all">
{{#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/>}}
{{DisplayPolicyInterventionFigureTemplate|{{#titleparts: {{PAGENAME}}|1}}|Policy intervention figure}}
<br clear=all>
{{ContentPartsTemplate|PagePartHeader=Parts of {{#titleparts: {{PAGENAME}}|1}}|subpage=1 }}
 
[[Category:ComponentPolicyIssue]]
[[Category:ComponentPolicyIssue]]
<!--arraymap assigns the property, but does not display  anything -->
{{#set:
{{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x| ]]|}}
|HasReference={{{Reference|}}}|+sep=;
 
|HasPageLabel=Policy issues
[[HasPageLabel::Policy issues| ]]
|BelongsToPage={{#titleparts:{{FULLPAGENAME}}|1}}
[[BelongsToPage::{{#titleparts: {{PAGENAME}}|1}}| ]]
|HasSequence=2
[[HasSequence::2| ]]
}}</includeonly>
</includeonly>

Latest revision as of 16:14, 1 April 2020

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

{{ComponentPolicyIssueTemplate
|Reference=
}}

Edit the page to see the template text.