Template:PolicyInterventionSetTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
m (1 revision imported)
 
(14 intermediate revisions by 3 users not shown)
Line 15: Line 15:
{{#subobject:{{#titleparts: {{PAGENAME}}|1}}-PI-{{{Header|}}}  
{{#subobject:{{#titleparts: {{PAGENAME}}|1}}-PI-{{{Header|}}}  
|HasPolicyInterventionSet={{PAGENAME}}
|HasPolicyInterventionSet={{PAGENAME}}
}}<h3>{{{Header|}}}</h3>
}}
{{{Description|}}}<br clear="all"/>
<h3>{{{Header|}}}</h3>
{{{Description|}}}
{{#if:{{{PISet|}}}
{{#if:{{{PISet|}}}
|{{{Header|}}} is implemented in the policy interventions:
| <div class="thumbcaption  dark">Table: Policy interventions {{{Header|}}}</div>
{{TableIntroTemplate|20%|Policy intervention|40%|Description|20%|Implemented in component|20%|Affected components }}
{{TableIntroTemplate|20%|Policy intervention|60%|Description|20%|Implemented in/affected component}}
{{#arraymap:{{{PISet|}}}
{{#arraymap:{{{PISet|}}}
|;|x
|;|xx
|<tr class="StandardTableRow"><td class="StandardTableCell">[[x]]</td>
|<tr class="StandardTableRow"><td class="StandardTableCell">[[xx]]</td>
  <td class="StandardTableCell">{{#show:x|? HasDescription}}</td>
  <td class="StandardTableCell">{{#show:xx|? HasDescription}}</td>
  <td class="StandardTableCell">
<td class="StandardTableCell"> <ul>  
{{#ask:[[x]]
{{#ask:<q>[[HasEffect::xx]]</q>
|mainlabel=-
|mainlabel=-
|?HasComponent=
|? HasEffectOnComponent#-=
|format=ul
|userparam=xx
}}</td>
|format=Plainlist
<td class="StandardTableCell">
|template=PIEffectImplRowTemplate
{{#ask:<q>[[HasEffect::x]]</q>
|sort = HasEffectOnComponent
|mainlabel=-
}}</ul></td></tr>
|? hasEffectOnComponent=
|}}</table>(*) Implementing component.{{#arraymap:{{{PISet|}}}|;|x|[[ConsistsOfPI::x| ]]| }}
|format=ul
|}}
}}</td>
</includeonly>
</tr>
|}}</table>{{#arraymap:{{{PISet|}}}|;|x|[[ConsistsOfPI::x| ]]| }}
|}}</includeonly>

Latest revision as of 14:22, 1 April 2020

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

{{PolicyInterventionSetTemplate
|Header=
|Description=
|PISet=
}}

ConsistsOfPi is not assigned with values from PISet. See the build and maintenance page

Edit the page to see the template text.