Difference between revisions of "Template:MapNote"

From Fallen Sword Wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly><div style="position: relative">{{{image}}}<div style="position: absolute; left: 2px; top: 2px; background: transparent;color:#000;"><b>{{{type}}}</b></div><div style="position: absolute; left: 0px; top: 0px; background: transparent;"><b>[[{{{target}}}|<span style="color:#ff0">{{{type}}}</span>]]</b></div></div></includeonly><noinclude>
+
<includeonly><div style="position: relative">{{{image}}}<div style="position: absolute; left: 1px; top: 1px; background: transparent;color:#000;"><b>{{{type}}}</b></div><div style="position: absolute; left: 0px; top: 0px; background: transparent;"><b>[[{{{target}}}|<span style="color:#ff0">{{{type}}}</span>]]</b></div></div></includeonly><noinclude>
 
For use in maps to insert notations.
 
For use in maps to insert notations.
 
See [[Template:Map]].
 
See [[Template:Map]].

Revision as of 20:34, 27 May 2008

For use in maps to insert notations. See Template:Map.

Template

|{{MapNote|image=URL TO TILE IMAGE|target=PAGE TO LINK TO|type=TYPE OF PAGE}}

TYPE OF PAGE should be one of:

  • WA = World Area
  • A = Area
  • Q = Quest/Quest Part
  • S = Shop
  • P = Portal
  • R = Relic

Example

{{MapNote|image=http://66.7.192.165/stairways/207_b.gif|target=Saneri Rocks (South)|type=A}}

is eqivalent to:

<div style="position: relative">http://66.7.192.165/stairways/207_b.gif<div style="position: absolute; left: 0px; top: 0px; 
background-color: #fff;"><b>[[Saneri Rocks (South)|[A]]]</b></div></div>

and results in:

207_b.gif
A