Vorlage:HL7XML: Unterschied zwischen den Versionen
Zeile 1: | Zeile 1: | ||
+ | <source lang="xml" enclode="div" line><noinclude> | ||
<div style="border: {{#if: {{{valid|}}}|#77FF77|{{#if: {{{error|}}}|#FF7777|#7777FF}}}} solid 1px; text-align: left; padding:0px 5px; clear: both; background-color: {{#if: {{{valid|}}}|#DDFFDD|{{#if: {{{error|}}}|#FFDDDD|#DDDDFF}}}}">{{#if: {{{kopf|}}} | <div style="margin:5px 3px -5px 3px;">{{{kopf}}}</div>}} | <div style="border: {{#if: {{{valid|}}}|#77FF77|{{#if: {{{error|}}}|#FF7777|#7777FF}}}} solid 1px; text-align: left; padding:0px 5px; clear: both; background-color: {{#if: {{{valid|}}}|#DDFFDD|{{#if: {{{error|}}}|#FFDDDD|#DDDDFF}}}}">{{#if: {{{kopf|}}} | <div style="margin:5px 3px -5px 3px;">{{{kopf}}}</div>}} | ||
<div style="float:right;margin:5px">[[{{#if: {{{valid|}}} | Image:Crystal_Clear_action_apply.png | {{#if: {{{error|}}} | Image:Crystal_Clear_action_button_cancel.png | Image:Crystal_Clear_app_terminal.png}}}}|32px]]</div> | <div style="float:right;margin:5px">[[{{#if: {{{valid|}}} | Image:Crystal_Clear_action_apply.png | {{#if: {{{error|}}} | Image:Crystal_Clear_action_button_cancel.png | Image:Crystal_Clear_app_terminal.png}}}}|32px]]</div> | ||
{{{code}}}{{#if: {{{output|}}}|<div style="float:right;margin:0px 5px">[[Image:Crystal_Clear_app_kscreensaver.png|32px]]</div> | {{{code}}}{{#if: {{{output|}}}|<div style="float:right;margin:0px 5px">[[Image:Crystal_Clear_app_kscreensaver.png|32px]]</div> | ||
− | {{{output}}}}} {{#if: {{{fuss|}}} | <div style="margin:-5px 3px 5px 3px;">{{{fuss}}}</div>}}</div | + | {{{output}}}}} {{#if: {{{fuss|}}} | <div style="margin:-5px 3px 5px 3px;">{{{fuss}}}</div>}}</div> |
---- | ---- |
Version vom 5. Februar 2009, 15:05 Uhr
<source lang="xml" enclode="div" line>
{{{code}}}
Diese Vorlage erwartet folgende Parameter:
- code
- output (Optional)
- kopf (Optional)
- fuss (Optional)
- valid (Wahrheitswert – Optional)
- error (Wahrheitswert – Optional)