Template:PolicyInterventionSetTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
m (1 revision imported)
 
(19 intermediate revisions by 3 users not shown)
Line 14: Line 14:
</noinclude><includeonly>
</noinclude><includeonly>
{{#subobject:{{#titleparts: {{PAGENAME}}|1}}-PI-{{{Header|}}}  
{{#subobject:{{#titleparts: {{PAGENAME}}|1}}-PI-{{{Header|}}}  
|HasPolicyInterventionSet={{PAGENAME}}
|HasPolicyInterventionSet={{PAGENAME}}
}}<h3>{{{Header|}}}</h3>
}}
<h3>{{{Header|}}}</h3>
{{{Description|}}}
{{{Description|}}}
<br clear="all"/>
{{#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 }}
{{TableIntroTemplate|20%|Policy intervention|60%|Description|20%|Implemented in/affected component}}
{{#arraymap:{{{PISet|}}}|;|x|
{{#arraymap:{{{PISet|}}}
  {{#ask:[[x]]
|;|xx
  |mainlabel=Policy intervention
|<tr class="StandardTableRow"><td class="StandardTableCell">[[xx]]</td>
  |? HasDescription=Description
  <td class="StandardTableCell">{{#show:xx|? HasDescription}}</td>
  |? HasComponent=Implemented in component
<td class="StandardTableCell"> <ul>
  |userparam=3col
{{#ask:<q>[[HasEffect::xx]]</q>
  |format=template
|mainlabel=-
  |template=TableStandardRowTemplate
|? HasEffectOnComponent#-=
  }}
|userparam=xx
|}}</table>
|format=Plainlist
|}}</includeonly>
|template=PIEffectImplRowTemplate
|sort = HasEffectOnComponent
}}</ul></td></tr>
|}}</table>(*) Implementing component.{{#arraymap:{{{PISet|}}}|;|x|[[ConsistsOfPI::x| ]]| }}
|}}
</includeonly>

Latest revision as of 13: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.