Template:PolicyInterventionTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
<table style="border:solid 1px;width:100%;color:black;background-color:#EBEBD9" cellpadding="2" cellspacing="2">
<div style="float:right; clear:right; ">
<table style="border:solid 1px;width:250px;color:black;background-color:#EBEBD9" cellpadding="2" cellspacing="2">
<tr><td style="vertical-align:top; padding-right: 6px; padding-top: 3px; padding-bottom: 1px;" align="left">'''Reference:'''</td>
<tr><td style="vertical-align:top; padding-right: 6px; padding-top: 3px; padding-bottom: 1px;" align="left">'''Reference:'''</td>
<td>{{#ifeq:{{{Reference|}}}||--|{{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x]]}}}}</td></tr>
<td>{{#ifeq:{{{Reference|}}}||--|{{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x]]}}}}</td></tr>
Line 18: Line 19:
<td>{{#ifeq:{{{Component|}}}||--|[[HasComponent::{{{Component|}}}]]}}</td></tr>
<td>{{#ifeq:{{{Component|}}}||--|[[HasComponent::{{{Component|}}}]]}}</td></tr>
</table>
</table>
</div>


{{#ifeq:{{{Description|}}}|||
{{#ifeq:{{{Description|}}}|||
Line 23: Line 25:
[[HasDescription::{{{Description|}}}]]
[[HasDescription::{{{Description|}}}]]
}}
}}
 
{{#ifeq:{{{Figure|}}}|||[[Image:{{{Figure|}}}|thumbnail|left|300px|alt={{{AltText|}}}|{{{Caption|}}}]]
{{#ifeq:{{{Figure|}}}|||[[Image:{{{Figure|}}}|thumbnail|right|300px|alt={{{AltText|}}}|{{{Caption|}}}]]
[[File::File:{{{Figure|}}}|]]}}
[[File::File:{{{Figure|}}}|]]}}



Revision as of 11:30, 21 May 2013

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

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

Edit the page to see the template text.