Vorlage:Randnotiz: Unterschied zwischen den Versionen

Aus FHEMWiki
(Neue Vorlage, noch nicht komplette getestet)
 
K (Mögliche Werte für RNTyp über arbeitet)
Zeile 1: Zeile 1:
<onlyinclude>
<onlyinclude>
<div id="Vorlage_Randnotiz">
<div id="Vorlage_Randnotiz">
{| cellspacing="5" cellpadding="5" style="width:40%;font-size:100%; background-color:#{{#switch: {{{RNTyp}}}|g|Info = E0F8E0|w|Warn = F2F5A9|f|Fehl = F2F5A9|#default = E0F8E0}};border:3px solid #{{#switch: {{{RNTyp}}}|g|Info = 008000|w|Warn = 868A08|f|Fehl = F2F5A9|#default = 008000}}; position:relative; float:right; {{{style|{{{1|}}}}}}"
{| cellspacing="5" cellpadding="5" style="width:40%;font-size:100%; background-color:#{{#switch: {{{RNTyp}}}|g|Info = E0F8E0|y|Warn = F2F5A9|r|Fehl = F2F5A9|#default = E0F8E0}};border:3px solid #{{#switch: {{{RNTyp}}}|g|Info = 008000|y|Warn = 868A08|r|Fehl = F2F5A9|#default = 008000}}; position:relative; float:right; {{{style|{{{1|}}}}}}"
| [[Datei:{{#switch: {{{RNTyp}}}|g|Info = Information icon.svg|w|Warn = Emblem-question-yellow.svg|f|Fehl = Stop_hand.svg|#default = Information icon.svg}}|20px]] {{{1}}}
| [[Datei:{{#switch: {{{RNTyp}}}|g|Info = Information icon.svg|w|Warn = Emblem-question-yellow.svg|f|Fehl = Stop_hand.svg|#default = Information icon.svg}}|20px]] {{{1}}}
|}
|}
Zeile 10: Zeile 10:
Unterstützte Werte für RNTyp:
Unterstützte Werte für RNTyp:
* Info (oder g): grüne Box mit Info-Icon
* Info (oder g): grüne Box mit Info-Icon
* Warn (oder w): gelbe Box mit Fragezeichen
* Warn (oder y): gelbe Box mit Fragezeichen
* Fehl (oder f): rote Box mit Warnschild
* Fehl (oder r): rote Box mit Warnschild
   
   
[[Kategorie:Vorlage:]]</noinclude>
[[Kategorie:Vorlage:]]</noinclude>

Version vom 14. Februar 2014, 15:02 Uhr

Information icon.svg {{{1}}}


Dokumentation für diese Vorlage (Syntax):

{{Randnotiz|RNTyp=Info|Text text text ...}}

Unterstützte Werte für RNTyp:

  • Info (oder g): grüne Box mit Info-Icon
  • Warn (oder y): gelbe Box mit Fragezeichen
  • Fehl (oder r): rote Box mit Warnschild