Difference between revisions of "Template:MapNote"

From Fallen Sword Wiki
Jump to: navigation, search
(Example)
Line 14: Line 14:
  
 
=Example=
 
=Example=
<pre>{{MapNote|image=http://cdn.huntedcow.com/stairways/207_b.gif|target=Saneri Rocks (South)|type=A}}</pre>
+
<pre>{{MapNote|image=http://cdn.fallensword.com/stairways/207_b.gif|target=Saneri Rocks (South)|type=A}}</pre>
 
is eqivalent to:
 
is eqivalent to:
<pre><div style="position: relative">http://cdn.huntedcow.com/stairways/207_b.gif<div style="position: absolute; left: 0px; top: 0px;  
+
<pre><div style="position: relative">http://cdn.fallensword.com/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://cdn.huntedcow.com/stairways/207_b.gif|target=Saneri Rocks (South)|type=A}}
+
{{MapNote|image=http://cdn.fallensword.com/stairways/207_b.gif|target=Saneri Rocks (South)|type=A}}
  
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 19:26, 9 February 2018

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://cdn.fallensword.com/stairways/207_b.gif|target=Saneri Rocks (South)|type=A}}

is eqivalent to:

<div style="position: relative">http://cdn.fallensword.com/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