Difference between revisions of "Template:Drugswitch"

From Psychiatrienet
Jump to: navigation, search
(Start/Stop)
Line 1: Line 1:
 
{| align="right" class="mywrapper"
 
{| align="right" class="mywrapper"
 
|-
 
|-
|{{:{{{from}}} }}
+
{{#if:{{{from|}}}|{{!}}{{:{{{from}}} }} }}
 
|-
 
|-
|{{:{{{to}}} }}
+
{{#if:{{{to|}}}|{{!}}{{:{{{to}}} }} }}
 
|}
 
|}
Switch medication from '''{{{from}}}''' to '''{{{to}}}'''.
+
{{#if:{{{from|}}}|{{#if:{{{to|}}}|Switch medication from '''{{{from}}}''' to '''{{{to}}}'''.}} }}
{{#if:{{{start|}}}|
+
{{#if:{{{stop|}}}|
 
<div style="font-size:20px; margin-top:20px;">[[image:Nietinrijdenbord.png|18px]] Stop {{{from}}} </div>
 
<div style="font-size:20px; margin-top:20px;">[[image:Nietinrijdenbord.png|18px]] Stop {{{from}}} </div>
{{{stop}}}
+
{{{stop|}}}
 
}}
 
}}
{{#if:{{{stop|}}}|
+
{{#if:{{{start|}}}|
 
<div style="font-size:20px; margin-top:20px;">[[image:Eenrichtingbord.png|18px]] Start {{{to}}}</div>
 
<div style="font-size:20px; margin-top:20px;">[[image:Eenrichtingbord.png|18px]] Start {{{to}}}</div>
{{{start}}}
+
{{{start|}}}
 
}}
 
}}
 
{{#if:{{{caveat|}}}{{{cave|}}}|
 
{{#if:{{{caveat|}}}{{{cave|}}}|
Line 22: Line 22:
 
{{{info|}}}{{#if:{{{view|}}}|
 
{{{info|}}}{{#if:{{{view|}}}|
 
<div class="mypicture">[[File:{{{view|}}}]]</div>
 
<div class="mypicture">[[File:{{{view|}}}]]</div>
<div class="mylegend"><span style="color: red;">[[image:Nietinrijdenbord.png|10px]] — {{{from}}}</span><br /><span style="color: blue;">[[image:Eenrichtingbord.png|10px]] — {{{to}}}</span></div>}}
+
<div class="mylegend">{{#if:{{{from|}}}|<span style="color: red;">[[image:Nietinrijdenbord.png|10px]] — {{{from}}}</span><br />}}{{#if:{{{to|}}}|<span style="color: blue;">[[image:Eenrichtingbord.png|10px]] — {{{to}}}</span>}}</div>}}
 
}}<br clear="all"/>
 
}}<br clear="all"/>
 
<div class="myrefs"><references /></div>
 
<div class="myrefs"><references /></div>
 
<includeonly>
 
<includeonly>
 
__HIDDENCAT__ [[Category:Switch]]
 
__HIDDENCAT__ [[Category:Switch]]
__HIDDENCAT__ [[Category:Switch{{{from}}}]]
+
{{#if:{{{from|}}| __HIDDENCAT__ [[Category:Switch{{{from}}}]] }}
__HIDDENCAT__ [[Category:Switch{{{to}}}]]
+
{{#if:{{{to|}}| __HIDDENCAT__ [[Category:Switch{{{to}}}]] }}
 
</includeonly>
 
</includeonly>

Revision as of 12:37, 26 February 2010