Difference between revisions of "Template:MapNote2"

From Fallen Sword Wiki
Jump to: navigation, search
(New page: <includeonly><div style="position: relative">{{{image}}}<div style="position: absolute; left: 2px; top: 2px; background: transparent;color:#000;"><b>{{{text}}}</b></div><div style="positio...)
 
(cdn)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div style="position: relative">{{{image}}}<div style="position: absolute; left: 2px; top: 2px; background: transparent;color:#000;"><b>{{{text}}}</b></div><div style="position: absolute; left: 0px; top: 0px; background: transparent;"><b><span style="color:#ff0">{{{text}}}</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>{{{text}}}</b></div><div style="position: absolute; left: 0px; top: 0px; background: transparent;"><b><span style="color:#ff0">{{{text}}}</span></b></div></div></includeonly><noinclude>
 
For use in maps to mostly to designate tunnels to other parts of the same map.
 
For use in maps to mostly to designate tunnels to other parts of the same map.
  
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