Aurora is on version 2.5.0 C#, available at the Aurora Forums.

Contact Erik on the forum for a wiki account.

Template:Lageplan

From AuroraWiki
Jump to navigation Jump to search


Zweck

Anzeigen eines Lageplans mit frei wählbarer Karte, Marker, Größe und relativer Positionierung.

(Achtung: Vor allem der Internet Explorer reagiert äußerst sensibel auf kleine, vieleicht unscheinbare Änderungen des Quelltextes. Bitte nach dem Bearbeiten unbedingt auch im Internet Explorer testen, da es nach wie vor Benutzer gibt, die ihn einsetzen.)

Syntax

{{Lageplan
|marker      = <!-- Symbol zur Markierung, möglichst SVG, z.B. reddot.svg -->
|markersize  = <!-- Größe der Markierung ( < mapsize/3) -->
|markertext  = <!-- Beschriftung -->
|pos_x       = <!-- relative x-Position (0-100)-->
|pos_y       = <!-- relative y-Position (0-100)-->
|map         = <!-- Name der Karte -->
|mapsize_x   = <!-- Größe der Karte in x-Richtung -->
|mapsize_y   = <!-- Größe der Karte in y-Richtung -->
|maptext     = <!-- Beschriftung der Karte -->
|warning     = <!-- Out of range Meldung -->>
}}

Examples (see source for how these are created)

To display a semi-transparent red circle with mouseover tooltip over a location in an image (move mouse over the circle):


To demonstrate the out of range warning:

Warning: Template:Lageplan found one of the parameters pos_x or pos_y you gave was out of range 0 to 100


See also

  • {{Superimpose}} - places one image over another
  • {{Superimpose2}} - places up to 50 image layers over one another
  • {{Location map}} - places a single image over another at a map coordinate location