Vorlage:Tipp: Unterschied zwischen den Versionen

Aus dem IServ-Wiki
Zur Navigation springen Zur Suche springen
K (so, jetzt stimmts)
(Farbe ist zu aufdringlich... Icon solllte bei mehrzeiligen Tipps nicht in die vertikale Mitte rutschen)
Zeile 1: Zeile 1:
<includeonly><div class="hinweisbox" style="{{#if:{{{2}}}|width:{{{2}}}; |}}background-color:RGB(220,220,255); border-color:RGB(127,127,255);">
+
<div class="hinweisbox" style="{{#if:{{{2}}}|width:{{{2}}}; |}}background-color:#f0f0f0; border-color:#a0a0a0;">
{| cellpadding="0" cellspacing="0" style="margin:0; padding:0; background-color:RGB(220,220,255)"
+
{| cellpadding="0" cellspacing="0" style="margin:0; padding:0; background-color:#f0f0f0"
 
|-
 
|-
| width="30" | [[Bild:Information icon.png|24px|Information]]
+
| width="30" style="vertical-align:top" | [[Bild:Information icon.png|24px|Information]]
 
| {{{1}}}
 
| {{{1}}}
 
|}
 
|}

Version vom 24. Mai 2007, 22:16 Uhr

Information {{{1}}}

</includeonly>

Diese Vorlage dient zum Einfügen von Tipps.

Benutzung

<html>

{{Tipp|<i>Text</i>|<i>Breite</i>}}

</html>

Die Breitenangabe kann auch ausgelassen werden, dann wird die gesamte Breite bedeckt.

Beispiel

{{Tipp|Beispiel-Text|150px}}

wird zu:

Information Beispiel-Text