Template:PolicyInterventionSetTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
m (1 revision imported)
 
(55 intermediate revisions by 3 users not shown)
Line 4: Line 4:
<pre>
<pre>
{{PolicyInterventionSetTemplate
{{PolicyInterventionSetTemplate
|ISGroup=
|Header=
|ConsistsOf=
|Description=
|HasPurpose=
|PISet=
}}
}}
</pre>
</pre>
Note: The property assignment should be placed at the beginning of a new line! Otherwise they won't be evaluated.
ConsistsOfPi is not assigned with values from PISet. See the build and maintenance page
 
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
<table class="PageWidthTableTemplate">
{{#subobject:{{#titleparts: {{PAGENAME}}|1}}-PI-{{{Header|}}}
<tr>
|HasPolicyInterventionSet={{PAGENAME}}
<td class="PageWidthTableFirstCell">'''Belongs to group:'''</td>
}}
<td class="PageWidthTableRemainderCell">
<h3>{{{Header|}}}</h3>
[[BelongsToGroupOfIS::{{{ISGroup|}}}]]</td>
{{{Description|}}}
</tr>
{{#if:{{{PISet|}}}
<tr>
| <div class="thumbcaption  dark">Table: Policy interventions {{{Header|}}}</div>
<td class="PageWidthTableFirstCell">'''Consists of policy interventions:'''</td>
{{TableIntroTemplate|20%|Policy intervention|60%|Description|20%|Implemented in/affected component}}
<td class="PageWidthTableRemainderCell">
{{#arraymap:{{{PISet|}}}
{{#arraymap:{{{ConsistsOf|}}}|;|x|[[ConsistsOfPI::x]]}}</td>
|;|xx
</tr>
|<tr class="StandardTableRow"><td class="StandardTableCell">[[xx]]</td>
<tr>
  <td class="StandardTableCell">{{#show:xx|? HasDescription}}</td>
<td class="PageWidthTableFirstCell">'''Purpose/effect:'''</td>
<td class="StandardTableCell"> <ul>  
<td class="PageWidthTableRemainderCell">
{{#ask:<q>[[HasEffect::xx]]</q>
[[HasPurposeEffect::{{{HasPurpose|}}}]]</td>
|mainlabel=-
</tr>
|? HasEffectOnComponent#-=
</table>
|userparam=xx
 
|format=Plainlist
[[Category:PolicyInterventionSet]]
|template=PIEffectImplRowTemplate
 
|sort = HasEffectOnComponent
}}</ul></td></tr>
|}}</table>(*) Implementing component.{{#arraymap:{{{PISet|}}}|;|x|[[ConsistsOfPI::x| ]]| }}
|}}
</includeonly>
</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.