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: 0px; top: 0px; background-color: #fff;"><b>[[name|[type]]]</b></div></div></includeonly><noinclude>
+
<includeonly><div style="position: relative">{{{image}}}<div style="position: absolute; left: 0px; top: 0px; background-color: #fff;"><b>[[{{{name}}}|[{{{type}}}]]]</b></div></div></includeonly><noinclude>
 
For use in maps to insert notations.
 
For use in maps to insert notations.
  
 
=Template=
 
=Template=
<pre>|{MapNote|image=URL TO TILE IMAGE|name=NAME OF TARGET|type=TYPE OF TARGET}</pre>
+
<pre>|{{MapNote|image=URL TO TILE IMAGE|name=NAME OF TARGET|type=TYPE OF TARGET}}</pre>
 
TYPE OF TARGET should be one of:
 
TYPE OF TARGET should be one of:
 
* WA = World Area
 
* WA = World Area
Line 13: Line 13:
  
 
=Example=
 
=Example=
<pre>|{MapNote|image=http://66.7.192.165/stairways/207_b.gif|name=Saneri Rocks (South)|type=A}</pre>
+
<pre>{{MapNote|image=http://66.7.192.165/stairways/207_b.gif|name=Saneri Rocks (South)|type=A}}</pre>
 
is eqivalent to:
 
is eqivalent to:
<pre>|<div style="position: relative">http://66.7.192.165/stairways/207_b.gif<div style="position: absolute; left: 0px; top: 0px;  
+
<pre><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></pre>
 
background-color: #fff;"><b>[[Saneri Rocks (South)|[A]]]</b></div></div></pre>
 
and results in:<br>
 
and results in:<br>
 
{{MapNote|image=http://66.7.192.165/stairways/207_b.gif|name=Saneri Rocks (South)|type=A}}
 
{{MapNote|image=http://66.7.192.165/stairways/207_b.gif|name=Saneri Rocks (South)|type=A}}
 
</noinclude>
 
</noinclude>

Revision as of 21:40, 7 May 2008

For use in maps to insert notations.

Template

|{{MapNote|image=URL TO TILE IMAGE|name=NAME OF TARGET|type=TYPE OF TARGET}}

TYPE OF TARGET 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|name=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
[[{{{target}}}|A]]