Difference between revisions of "Template:MapNote2"

From Fallen Sword Wiki
Jump to: navigation, search
(cdn)
 
(One intermediate revision by one user not shown)
Line 7: Line 7:
 
=Example=
 
=Example=
 
<pre>{{MapNote2
 
<pre>{{MapNote2
|image=http://66.7.192.165/stairways/36_a.gif
+
|image=http://cdn.fallensword.com/stairways/36_a.gif
|text=<b>1<br>&rarr;18</b>}}</pre>
+
|text=1<br>&rarr;18}}</pre>
 
is eqivalent to:
 
is eqivalent to:
 
<pre>
 
<pre>
 
<div style="position: relative">
 
<div style="position: relative">
http://66.7.192.165/stairways/36_a.gif
+
http://cdn.fallensword.com/stairways/36_a.gif
 
<div style="position: absolute; left: 0px; top: 0px; color:#ff0;">
 
<div style="position: absolute; left: 0px; top: 0px; color:#ff0;">
<b>1<br>&rarr;18</b>
+
1<br>&rarr;18
 
</div>
 
</div>
 
</div></pre>
 
</div></pre>
 
and results in:<br>
 
and results in:<br>
{{MapNote2|image=http://66.7.192.165/stairways/36_a.gif|text=<b>1<br>&rarr;18</b>}}
+
{{MapNote2|image=http://cdn.fallensword.com/stairways/36_a.gif|text=1<br>&rarr;18}}
  
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 08:38, 24 April 2019

For use in maps to mostly to designate tunnels to other parts of the same map.

Template

|{{MapNote2|image=URL TO TILE IMAGE|text=LOCATION INFORMATION}}

Example

{{MapNote2
|image=http://cdn.fallensword.com/stairways/36_a.gif
|text=1<br>→18}}

is eqivalent to:

<div style="position: relative">
http://cdn.fallensword.com/stairways/36_a.gif
<div style="position: absolute; left: 0px; top: 0px; color:#ff0;">
1<br>→18
</div>
</div>

and results in:

36_a.gif
1
→18
1
→18