Template:PolicyInterventionTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
m (Text replace - "{{PageWidthTableFirstCellTemplate}}" to "<td class="PageWidthTableFirstCell">")
m (Text replace - "PageWidthTableRemainderCellTemplate" to "<td class="PageWidthTableRemainderCell"> ")
Line 12: Line 12:
</noinclude><includeonly>
</noinclude><includeonly>
{{StatusWarning|Status={{{Status|}}} }}<table class="PageWidthTableTemplate">
{{StatusWarning|Status={{{Status|}}} }}<table class="PageWidthTableTemplate">
{{#ifeq:{{{Description|}}}|||<tr><td class="PageWidthTableFirstCell">'''Description:'''</td>{{PageWidthTableRemainderCellTemplate}}[[HasDescription::{{{Description|}}}]]</td></tr>}}
{{#ifeq:{{{Description|}}}|||<tr><td class="PageWidthTableFirstCell">'''Description:'''</td>{{<td class="PageWidthTableRemainderCell">
{{#ifeq:{{{Reference|}}}|||<tr><td class="PageWidthTableFirstCell">'''Reference:'''</td>{{PageWidthTableRemainderCellTemplate}}{{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x]]}}</td></tr>}}
}}[[HasDescription::{{{Description|}}}]]</td></tr>}}
{{#ifeq:{{{Reference|}}}|||<tr><td class="PageWidthTableFirstCell">'''Reference:'''</td>{{<td class="PageWidthTableRemainderCell">
}}{{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x]]}}</td></tr>}}
{{#ifeq:{{{Component|}}}|||<tr><td class="PageWidthTableFirstCell">'''Is policy intervention of:'''</td>
{{#ifeq:{{{Component|}}}|||<tr><td class="PageWidthTableFirstCell">'''Is policy intervention of:'''</td>
{{PageWidthTableRemainderCellTemplate}}[[HasComponent::{{{Component|}}}]]</td></tr>}}
{{<td class="PageWidthTableRemainderCell">
}}[[HasComponent::{{{Component|}}}]]</td></tr>}}
{{#ifeq:{{{Keyword|}}}|||<tr><td class="PageWidthTableFirstCell">'''Keywords:'''</td>
{{#ifeq:{{{Keyword|}}}|||<tr><td class="PageWidthTableFirstCell">'''Keywords:'''</td>
{{PageWidthTableRemainderCellTemplate}}{{#arraymap:{{{Keyword|}}}|;|x|[[HasKeyword::x]]|,}}</td></tr>}}
{{<td class="PageWidthTableRemainderCell">
}}{{#arraymap:{{{Keyword|}}}|;|x|[[HasKeyword::x]]|,}}</td></tr>}}
</table>
</table>
<br/>
<br/>

Revision as of 15:13, 13 December 2013

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

{{PolicyInterventionTemplate
|Description=
|Reference=
|Component=
}}

Edit the page to see the template text.