Vorlage:Karte/Feld: Unterschied zwischen den Versionen

aus FreewarWiki, der Referenz für Freewar
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
(zentriert wäre eine gute Idee…)
 
(29 dazwischenliegende Versionen von 10 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
  | style="width:50px;" | <div style="position:relative;height:50px;">
<!--
<div style="position:absolute;left:0;top:0;width:50px;height:50px;overflow:hidden;">{{{1}}}</div>
 
<div class="noIE">
  Nehme Karte/Leer zur Grundlage (Außendiv)
<div style="position:absolute;top:0px;left:0px;width:50px;overflow:visible;top:0px;{{DisplayNone|{{{2|none}}}}}">
 
[[{{{2|?}}}|<div style="position:absolute;top:0px;left:0px;width:50px;height:25px;overflow:hidden;">{{nbsp}}</div>
-->{{Karte/Leer|1=<!--
<div class="NPC" style="position:absolute; left:-25px; top:0px; border:#7777ff 1px solid; background-color:#ccccff; width:100px; z-index:6; color:#3333bb;">{{{2}}}</div>]]
-->{{{1}}}<!--
</div>
--><div class="noIE" style="text-align: center;"><!--
<div style="position:absolute;top:0px;left:0px;width:50px;overflow:visible;top:0px;{{DisplayNone|{{{3|none}}}}}">
  -->{{#ifeq:{{{2|none}}}|none||[[{{{2}}}|<span style="float:left; position:absolute; left:0px; top:0px; width:50px; height:50px;"></span><!--
[[{{{3|?}}}|<div style="position:absolute;top:25px;left:0px;width:50px;height:25px;overflow:hidden;">{{nbsp}}</div>
  --><span class="NPC" style="position:absolute; left:-50px; top:0px; border:#7777ff 1px solid; background-color:#ccccff; width:148px; z-index:6; color:#3333bb;">{{{Alt|{{{2}}}}}}</span>]]}}<!--
<div class="NPC" style="position:absolute; left:-25px; top:25px; border:#7777ff 1px solid; background-color:#ccccff; width:100px; z-index:7; color:#3333bb;">{{{2}}}</div>]]
  -->{{#ifeq:{{{3|none}}}|none||[[{{{3}}}|<span style="float:left; position:absolute; left:0px; top:17px; width:50px; height:25px;"></span><!--
</div>
  --><span class="NPC" style="position:absolute; left:-50px; top:17px; border:#7777ff 1px solid; background-color:#ccccff; width:148px; z-index:7; color:#3333bb;">{{{Alt2|{{{3}}}}}}</span>]]}}<!--
</div></div><noinclude>[[Kategorie:Artikelvorlagen]]</noinclude>
  -->{{#ifeq:{{{4|none}}}|none||[[{{{4}}}|<span style="float:left; position:absolute; left:0px; top:34px; width:50px; height:25px;"></span><!--
  --><span class="NPC" style="position:absolute; left:-50px; top:34px; border:#7777ff 1px solid; background-color:#ccccff; width:148px; z-index:8; color:#3333bb;">{{{Alt3|{{{4}}}}}}</span>]]}}<!--
--></div><!--
-->}}<!--
--><noinclude>
{{Dokumentation}}
[[Kategorie:Kartenvorlagen|F]]
</noinclude>

Aktuelle Version vom 30. August 2013, 00:31 Uhr

{{{1}}}

[Bearbeiten] Dokumentation

Diese Vorlage ist für ein einziges Feld mit bis zu drei NPCs im Zusammenhang mit Karten gedacht. Weitere Hilfe dazu findest du unter Hilfe:Karten.

Verwendung

Diese Vorlage wird mit {{Karte/Feld|"1"|"2"|"3"|"4"|alt|alt2|alt3}} eingebunden.

Parameter

  • 1: Pfad zum Bild des Feldes
  • 2-4 Namen von NPCs, die auf diesem Feld spawnen können (kein Pflichtparameter)
  • alt-alt3: alternative Anzeigenamen der NPCs (kein Pflichtparameter)