Vorlage:Inline-Tooltip: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(<table> darf nicht innerhalb eines <span>s) |
(vertical-align:center; jibbet net --> middle) |
||
| Zeile 10: | Zeile 10: | ||
--><div style="border: {{{Box|1}}}px black solid; background-color:{{{3|#FFFF99}}}; position:absolute; left:-20px; width: {{{5|250}}}px; margin-top:15px; white-space:normal;"><!-- | --><div style="border: {{{Box|1}}}px black solid; background-color:{{{3|#FFFF99}}}; position:absolute; left:-20px; width: {{{5|250}}}px; margin-top:15px; white-space:normal;"><!-- | ||
---------------------- Titel -------------- | ---------------------- Titel -------------- | ||
| − | -->{{#ifeq:{{{Box|1}}}|1|<div style="position:absolute; top:0px; left:0px; height:19px; width:{{#expr:{{{5|250}}}-21}}px; background-color:buttonface; text-align:center; vertical-align: | + | -->{{#ifeq:{{{Box|1}}}|1|<div style="position:absolute; top:0px; left:0px; height:19px; width:{{#expr:{{{5|250}}}-21}}px; background-color:buttonface; text-align:center; vertical-align:middle; font-weight:bold;">{{{1|Linktext}}}</div><!-- |
---------------------- closebutton -------------- | ---------------------- closebutton -------------- | ||
| − | --><div style="float:right; border:2px threedshadow; border-style:outset; background-color:buttonface; color:black; height:15px; width:17px; text-align:center; vertical-align: | + | --><div style="float:right; border:2px threedshadow; border-style:outset; background-color:buttonface; color:black; height:15px; width:17px; text-align:center; vertical-align:middle; font-weight:bold;">X</div><!-- |
---------------------- Text mit box ------------- | ---------------------- Text mit box ------------- | ||
--><div style="margin-top:23px; margin-left:5px; margin-right:5px; margin-bottom:3px;">{{{2|Irgendein Blödeltext...}}}</div>|<!-- | --><div style="margin-top:23px; margin-left:5px; margin-right:5px; margin-bottom:3px;">{{{2|Irgendein Blödeltext...}}}</div>|<!-- | ||
Version vom 24. Februar 2010, 13:46 Uhr
- IIIIIIII Testlinie
- IIII Inline-Test IIIIII Inline-TestLinktext
- IIIIIII Testlinie
Diese Vorlage zaubert ein Kästchen mit variabler (!!) Hintergrundfarbe an die Stelle, wo sie eingesetzt wird (ohne Zeilenumbruch, also "inline".) Benutzung:
{{Inline-Tooltip|Linktext|Einblendetext|Hintergrundfarbe (Default:#FFFF99)|Link-Farbe(Default:Blue)|Breite in px(default 250)|Box=0(default=1)}}
Vorsicht: Nach dem {{Inline-Tooltip}} muss ein "nbsp" (falls ein Abstand gewünscht wird) anstatt " " eingefügt werden, IE6/7 lassen den sonst weg. Safari zeigt den Inline-Text 1px zu hoch an.