Vorlage:Ka-Mel-Oh: Unterschied zwischen den Versionen

aus Kamelopedia, der wüsten Enzyklopädie
Zur Navigation springen Zur Suche springen
K (nur noch über Vorlage:Karte bzw Ka-Mel-Oh!/Skalierbarkeit skalierbar ... hoffentlich bringt das was)
K (Zwüschenspeichern ... jetzt alles anders, mit ohne Tabelle und {{#expr}}, dafür mit css ... ist weit weniger serverbelastend und viel, viel einfacher weil mit cache und so)
Zeile 1: Zeile 1:
<div style="position:relative; float:left; height:{{{580px|580px}}}; width:{{{290px|290px}}}; margin:{{{5px|5px}}}; overflow:hidden;" class="karte"><!--  
+
<div class="karte"><div style="float:{{{float|left}}}; font-size:{{{size|100}}}px;" class="karteninhalt"><div class="background">[[Bild:Kartenhintergrund1.png]]</div><!--  
  
     Hintergrundbild (bei allen Karten gleich)
+
     {{{nr}}} (bei allen Karten gleich)  
  
--><div style="position: absolute; top:0px; left:0px; height:{{{580px|580px}}}; width:{{{290px|290px}}}; z-index:0;"><linkedimage>
+
--><div class="nr">''#'' '''{{{nr|?}}}'''</div><!--  
wikipage=Projekt:Ka-Mel-Oh!
 
tooltip=Karte
 
img_src=Bild:Kartenhintergrund1.png
 
img_width=100%
 
</linkedimage><!--  
 
  
     Kartentitel ({{{name}}} je nach {{{typ}}} schwarz oder weiß)
+
     {{{hk}}} (bei allen Karten gleich)  
  
-->
+
--><div class="hk">[[Bild:Kartenhäufigkeit{{{hk|0}}}.png]]</div><!--  
{| cellspacing="0" cellpadding="0" style="position: absolute; top:0px; left:0px; width:{{{290px|290px}}}; height:{{{580px|580px}}}; background-color:transparent;"
 
|- valign="top"
 
|align="center"|<div style="font-size:{{{22px|22px}}}; line-height:{{{20px|20px}}}; width:{{{192px|192px}}}; height:{{{50px|50px}}}; font-family:Comic Sans MS; font-weight:bold; margin-top:{{{5px|5px}}};">
 
{| cellspacing="0" cellpadding="0" width="100%" style="height:{{{50px|50px}}}px; background-color:transparent; overflow:hidden;"
 
|- valign="center"
 
|align="center"|{{#switch: {{{typ}}}
 
| item
 
| zm-item = <font color="#ffffff">{{{name|Titel}}}</font>
 
| #default = <font color="#000000">{{{name|Titel}}}</font>
 
}}
 
|}</div><!--
 
 
 
    Schriftzug, Copyleft, 2007
 
 
 
-->
 
|- valign="bottom"
 
|align="center"|
 
{| cellspacing="0" cellpadding="0" width="100%" style="background-color:transparent;"
 
|align="center"|<div style="height:{{{27px|27px}}};  width:{{{290px|290px}}}; margin-bottom:{{{7px|7px}}};  font-size:{{{14px|14px}}}; line-height:{{{14px|14px}}}; font-weight:bold; overflow:hidden;"><linkedimage>
 
wikipage=Copyleft
 
tooltip=Copyleft
 
img_src=Bild:Copyleft.png
 
img_height=50%
 
</linkedimage>&nbsp;<linkedimage>
 
wikipage=Projekt:Ka-Mel-Oh!
 
tooltip=Ka-Mel-Oh!
 
img_src=Bild:Schriftzug klein.png
 
img_height=100%
 
</linkedimage>&nbsp;2007</div>
 
|}
 
|}<!--
 
 
 
    Karteninhalt
 
 
 
-->
 
{| cellspacing="0" cellpadding="0" style="position: absolute; top:0px; left:0px; width:{{{290px|290px}}}; max-height:{{{580px|580px}}}; background-color:transparent; overflow:hidden;"
 
|- valign="top"<!--
 
 
 
    {{{nr}}} (bei allen Karten gleich)
 
 
 
-->
 
|align="left"|<div style="padding-left:{{{8px|8px}}}; padding-top:{{{8px|8px}}}; font-size:{{{14px|14px}}}; line-height:{{{14px|14px}}}; font-family:Arial; color:#FFFF00;">''#'' '''{{{nr}}}'''</div><!--
 
 
 
    {{{hk}}} (bei allen Karten gleich)
 
 
 
-->
 
|align="right"|<div style="padding-right:{{{8px|8px}}}; padding-top:{{{8px|8px}}}; width:{{{40px|40px}}}; overflow:hidden;">{{#switch: {{{hk}}}
 
| 1 =<linkedimage>
 
wikipage=Projekt:Ka-Mel-Oh!
 
tooltip=Häufigkeit 1 (sehr  selten)
 
img_src=Bild:Kartenhäufigkeit1.png
 
img_width=100%
 
</linkedimage>
 
| 2 =<linkedimage>
 
wikipage=Projekt:Ka-Mel-Oh!
 
tooltip=Häufigkeit 2 (selten)
 
img_src=Bild:Kartenhäufigkeit2.png
 
img_width=100%
 
</linkedimage>
 
| 3 =<linkedimage>
 
wikipage=Projekt:Ka-Mel-Oh!
 
tooltip=Häufigkeit 3 (häufig)
 
img_src=Bild:Kartenhäufigkeit3.png
 
img_width=100%
 
</linkedimage>
 
| 4 =<linkedimage>
 
wikipage=Projekt:Ka-Mel-Oh!
 
tooltip=Häufigkeit 4 (sehr  häufig)
 
img_src=Bild:Kartenhäufigkeit4.png
 
img_width=100%
 
</linkedimage>
 
| #default =<linkedimage>
 
wikipage=Projekt:Ka-Mel-Oh!
 
tooltip=Keine oder falsche Häufigkeitsklasse
 
img_src=Bild:Kartenhäufigkeit0.png
 
img_width=100%
 
</linkedimage>}}</div><!--  
 
 
 
    {{{bild}}} (bei allen Karten gleich)
 
  
-->
+
    Kartentitel ({{{name}}} je nach {{{typ}}} schwarz oder weiß)
|- valign="top"
 
| colspan="2" align="center"|<div style="margin-top:{{{2px|2px}}}; border:{{{3px|3px}}} solid #000000; max-height:{{{192px|192px}}}; width:{{{256px|256px}}}; background-color:ivory; padding:0px; overflow:hidden;">[[Bild:{{{bild|Bildgröße.jpg}}}|{{{256px|256px}}}]]</div><!--
 
  
    Kartenwerte
+
--><div class="titelfeld">
 
+
{| class="titel{{{typ|monster}}}"
-->
 
 
|- valign="middle"
 
|- valign="middle"
| colspan="2" align="center" |<div style="width:{{{262px|262px}}}; margin-top:{{{2px|2px}}}; overflow:hidden;">
+
|align="center"|{{{name|Titel}}}
{| cellspacing="0" cellpadding="0" style="height:{{{27px|27px}}}; width:{{{262px|262px}}}; background-color:transparent; font-size:{{{20px|20px}}}; line-height:{{{20px|20px}}}; font-family:Comic Sans MS; white-space:nowrap; "
 
|- valign="middle"
 
{{#switch: {{{typ|monster}}}
 
| item
 
| zm-item = <!--
 
 
 
    ITEM
 
 
 
-->
 
{{!}}align="right"{{!}}<span style="color:#FFFFFF;">ITEM</span>
 
| monster
 
| zm-monster = <!--
 
 
 
    Kampfwerte der Monster, fangen wir an mit {{{ap}}}
 
 
 
-->
 
{{!}}align="center"{{!}}<div style="height:{{{25px|25px}}};"><linkedimage>
 
wikipage=Projekt:Ka-Mel-Oh!
 
tooltip=Angriffspunkte
 
img_src=Bild:OFF.png
 
img_height=100%
 
</linkedimage><span style="padding-left:{{{5px|5px}}}; color:#FFBB77;">{{{ap|AP}}}</span></div><!--
 
 
 
    {{{dp}}}
 
 
 
-->
 
{{!}}align="center"{{!}}<div style="height:{{{25px|25px}}};"><linkedimage>
 
wikipage=Projekt:Ka-Mel-Oh!
 
tooltip=Defensivpunkte
 
img_src=Bild:DEF.png
 
img_height=100%
 
</linkedimage><span style="padding-left:{{{5px|5px}}}; color:#99CCFF;">{{{dp|DP}}}</span></div><!--
 
 
 
    {{{lp}}}
 
 
 
-->
 
{{!}}align="center"{{!}}<div style="height:{{{25px|25px}}};"><linkedimage>
 
wikipage=Projekt:Ka-Mel-Oh!
 
tooltip=Lebenspunkte
 
img_src=Bild:LPT.png
 
img_height=100%
 
</linkedimage><span style="padding-left:{{{5px|5px}}}; color:#FFFFFF;">{{{lp|LP}}}</span></div>
 
| #default =
 
{{!}}align="center"{{!}}<div style="color:#FFFFFF;">ungültiger Typ!</div>
 
}}<!--
 
 
 
    Kartenpreis ({{{d}}}) wird nur angezeigt, wenn die Karte kostenpflichtig ist)
 
 
 
-->
 
{{#switch: {{{d|D}}}
 
|
 
| 0 =
 
| #default =
 
{{!}}align="center"{{!}}<div style="height:{{{25px|25px}}};"><linkedimage>
 
wikipage=Projekt:Ka-Mel-Oh!
 
tooltip=Datteln
 
img_src=Bild:DTL.png
 
img_height=100%
 
</linkedimage><span style="padding-left:{{{5px|5px}}}; color:#FFFF00;">{{{d|D}}}</span></div>
 
}}
 
 
|}</div><!--  
 
|}</div><!--  
  
     Textfeld (je nach {{{typ}}}))
+
     {{{bild}}} (bei allen Karten gleich)  
  
-->
+
--><div class="kartenbild">[[Bild:{{{bild|Bildgröße.jpg}}}]]</div></div></div>
|- valign="middle"
 
| colspan="2" align="center" |<div style="position:relative; width:{{{256px|256px}}}; height:{{{256px|256px}}}; margin-top:{{{5px|5px}}}; border:{{{3px|3px}}} solid #000000; overflow:hidden;"><div style="position:absolute; top:0px; left: 0px;">{{#switch: {{{typ}}}
 
| item =<linkedimage>
 
wikipage=Projekt:Ka-Mel-Oh!
 
tooltip=Item
 
img_src=Bild:Texthintergrunditem.jpg
 
img_width=100%
 
</linkedimage>
 
| zs-item =<linkedimage>
 
wikipage=Projekt:Ka-Mel-Oh!
 
tooltip=ZS-Item
 
img_src=Bild:Texthintergrundzs-item.jpg
 
img_width=100%
 
</linkedimage>
 
| zs-monster =<linkedimage>
 
wikipage=Projekt:Ka-Mel-Oh!
 
tooltip=ZS-Monster
 
img_src=Bild:Texthintergrundzs-monster.jpg
 
img_width=100%
 
</linkedimage>
 
| #default =<linkedimage>
 
wikipage=Projekt:Ka-Mel-Oh!
 
tooltip=Monster
 
img_src=Bild:Texthintergrundmonster.jpg
 
img_width=100%
 
</linkedimage>}}</div></div>
 
|}</div></div>
 

Version vom 9. Januar 2008, 15:27 Uhr

Kartenhintergrund1.png
# ?
Kartenhäufigkeit0.png
Titel
Bildgröße.jpg