Template:PolicyInterventionSetTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "PolicyInterventionSetTemplate" template.
This is the "ZZ_PolicyInterventionSetTemplate" template.
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
{{PolicyInterventionSetTemplate
{{ZZ_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.
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
<table class="PageWidthTableTemplate">
{{#subobject:Policy intervention set
<tr>
|HasPolicyInterventionSet={{PAGENAME}}
<td class="PageWidthTableFirstCell">'''Belongs to group:'''</td>
|ConsistsOfPI={{{PISet|}}}
<td class="PageWidthTableRemainderCell">
}}<h3>{{{Header|}}}</h3>
[[BelongsToGroupOfIS::{{{ISGroup|}}}]]</td>
{{{Description|}}}
</tr>
<br clear="all"/>
<tr>
{{#if:{{{PISet|}}}|{{{Header|}}} is implemented in the policy interventions:  
<td class="PageWidthTableFirstCell">'''Consists of policy interventions:'''</td>
{{TableIntroTemplate|20%|Policy intervention|40%|Description|20%|Implemented in component }}
<td class="PageWidthTableRemainderCell">
{{#arraymap:{{{PISet|}}}|;|x|
{{#arraymap:{{{ConsistsOf|}}}|;|x|[[ConsistsOfPI::x]]}}</td>
  {{#ask:[[x]]
</tr>
  |mainlabel=Policy intervention
<tr>
  |? HasDescription=Description
<td class="PageWidthTableFirstCell">'''Purpose/effect:'''</td>
  |? HasComponent=Implemented in component
<td class="PageWidthTableRemainderCell">
  |userparam=3col
[[HasPurposeEffect::{{{HasPurpose|}}}]]</td>
  |format=template
</tr>
  |template=TableStandardRowTemplate
</table>
  }}
 
|}}</table>
[[Category:PolicyInterventionSet]]
|}}</includeonly>
 
</includeonly>

Revision as of 10:23, 7 March 2014

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

{{ZZ_PolicyInterventionSetTemplate
|Header=
|Description=
|PISet=
}}

Edit the page to see the template text.