Vorlage:Inline-Tooltip: Unterschied zwischen den Versionen

aus Kamelopedia, der wüsten Enzyklopädie
Zur Navigation springen Zur Suche springen
K (width variabel {{{5}}})
K (Width des Balkens im Text war falsch)
Zeile 7: Zeile 7:
 
--><div class="klapp_e" style="display:none; color:{{{4|blue}}}; background-color:transparent;">{{{1|Linktext}}}</div><!--
 
--><div class="klapp_e" style="display:none; color:{{{4|blue}}}; background-color:transparent;">{{{1|Linktext}}}</div><!--
 
---------------------- Ausklappware  ------------------------------------
 
---------------------- Ausklappware  ------------------------------------
--><div class="klapp_i" style="display:none; position:relative;"><div style="border: 1px black solid; background-color:{{{3|#FFFF99}}}; position:absolute; left:-20px; width: {{{5|250px}}}; margin-top:15px; white-space:normal;"><div style="position:absolute; top:0px; left:0px; height:19px; width:229px; background-color:buttonface; text-align:center; vertical-align:center; font-weight:bold;">{{{1|Linktext}}}</div><!--
+
--><div class="klapp_i" style="display:none; position:relative;"><!--
----------------------------------------------------------
+
---------------------- Titel --------------
 +
--><div style="border: 1px black solid; background-color:{{{3|#FFFF99}}}; position:absolute; left:-20px; width: {{{5|250}}}px; margin-top:15px; white-space:normal;"><div style="position:absolute; top:0px; left:0px; height:19px; width:{{#expr:{{{5|250}}}-21}}px; background-color:buttonface; text-align:center; vertical-align:center; font-weight:bold;">{{{1|Linktext}}}</div><!--
 +
---------------------- 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:center; font-weight:bold;">X</div><!--
 
--><div style="float:right; border:2px threedshadow; border-style:outset; background-color:buttonface; color:black; height:15px; width:17px; text-align:center; vertical-align:center; font-weight:bold;">X</div><!--
----------------------------------------------------------
+
---------------------- Text ---------------------
 
--><div style="margin-top:23px; margin-left:5px; margin-right:5px; margin-bottom:3px;">{{{2|Irgendein Blödeltext...}}}</div></div></div><!--
 
--><div style="margin-top:23px; margin-left:5px; margin-right:5px; margin-bottom:3px;">{{{2|Irgendein Blödeltext...}}}</div></div></div><!--
 
-----------------------Ausklappware ende-----------------------------------
 
-----------------------Ausklappware ende-----------------------------------
Zeile 16: Zeile 18:
 
*IIIIIII Testlinie<br>
 
*IIIIIII Testlinie<br>
 
----
 
----
Diese Vorlage zaubert ein Kästchen mit variabler (!!) Hintergrundfarbe an die Stelle, wo sie eingesetzt wird (ohne Zeilenumbruch, also "inline".) Benutzung: <nowiki>{{</nowiki>{{SUBPAGENAME}}<nowiki>|Linktext|Einblendetext|Hintergrundfarbe (Default:#FFFF99)|Link-Farbe(Default:Blue)|Breite(default 250px)}}</nowiki><br />
+
Diese Vorlage zaubert ein Kästchen mit variabler (!!) Hintergrundfarbe an die Stelle, wo sie eingesetzt wird (ohne Zeilenumbruch, also "inline".) Benutzung: <nowiki>{{</nowiki>{{SUBPAGENAME}}<nowiki>|Linktext|Einblendetext|Hintergrundfarbe (Default:#FFFF99)|Link-Farbe(Default:Blue)|Breite in px(default 250)}}</nowiki><br />
 
'''Vorsicht:''' Nach dem <nowiki>{{</nowiki>{{SUBPAGENAME}}<nowiki>}}</nowiki> 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.
 
'''Vorsicht:''' Nach dem <nowiki>{{</nowiki>{{SUBPAGENAME}}<nowiki>}}</nowiki> 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.
 
[[Kategorie:Vorlage]]
 
[[Kategorie:Vorlage]]
 
<!----------------------Backup Ausblendbutton-----------------------------
 
<div class="klapp_i" style="display:none;position:relative;">
 
<div style="border: 1px black solid; background-color:{{{3|#FFFF99}}}; position:absolute; left:-20px; width: 250px; margin-top:15px; white-space:normal;">
 
<div style="position:absolute; top:0px; left:0px; height:19px; width:229px; background-color:buttonface; text-align:center; vertical-align:center; font-weight:bold;">&nbsp;</div>
 
<div style="float:right; border:2px threedshadow; border-style:outset; background-color:buttonface; color:black; height:15px; width:17px; text-align:center; vertical-align:center; font-weight:bold;">X</div>
 
<div style="margin-top:23px; margin-left:5px; margin-right:5px; margin-bottom:3px;">{{{2|Irgendein Blödeltext...}}}</div></div></div>
 
----------------------------------------------------------->
 
 
</noinclude>
 
</noinclude>

Version vom 22. November 2008, 19:29 Uhr

  • IIIIIIII Testlinie
  • IIII Inline-Test III
    Linktext
    III Inline-Test
  • 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)}}
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.