Difference between revisions of "Template:Map"

From Fallen Sword Wiki
Jump to: navigation, search
(New page: <center> {| width="100%" style="border:3px dashed #f00;" | align="center" valign="middle" style="font-family:Verdana;font-variant:small-caps;font-weight:bold;" | ''This map is updated by p...)
 
 
(18 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<center>
+
{| align="center" width="720px" style="text-align: middle; border:1px solid #ffcc00; background: #fff0cc;" cellpadding="3" cellspacing="3"
{| width="100%" style="border:3px dashed #f00;"
+
| align="center" valign="middle" style="font-family:Verdana;font-variant:small-caps;font-weight:bold;" | ''This map is updated by players and may not reflect the latest changes to the game.''
| align="center" valign="middle" style="font-family:Verdana;font-variant:small-caps;font-weight:bold;" | ''This map is updated by players and may not reflect the latest changes to the game.''<br><span style="font-size:95%">All map coordinates are read across and down.</span>
+
 
|-
 
|-
| align="center" valign="middle" style="font-family:Verdana;font-weight:normal;" |
+
| align="center" valign="middle" style="border:1px solid #ffcc00; background: #fffad1" | <span style="font-family:Verdana;font-variant:small-caps;font-weight:bold;font-size:95%">All map coordinates are read across then down.</span>
{| width="100%" style="border:0px"
+
{| width="620px" valign="top" style="border:0px;background-color:transparent;"
| align="center" | <small>This map may also include small notations:<br>'''<font color="#0000ff"><nowiki>[WA]</nowiki></font>''' = [[World Areas|World Area]] '''&bull;''' '''<font color="#0000ff"><nowiki>[A]</nowiki></font>''' = [[:Category:Areas|Area]] '''&bull;''' '''<font color="#0000ff"><nowiki>[Q]</nowiki></font>''' = [[:Category:Quests|Quest]] '''&bull;''' '''<font color="#0000ff"><nowiki>[S]</nowiki></font>''' = [[:Category:Shops|Shop]] '''&bull;''' '''<font color="#0000ff"><nowiki>[P]</nowiki></font>''' = [[Mysterious Portal|Portal]] '''&bull;''' '''<font color="#0000ff"><nowiki>[R]</nowiki></font>''' = [[:Category:Relics|Relic]]</small>
+
| align="center" colspan="12" style="font-family:Verdana" style="background-color:transparent" | <small>This map may also include small notations:</small>
 +
|-
 +
|
 +
{| style="border:1px solid #66f;background-color:#aaf;"
 +
| align="right" valign="top" width="17px" | <small><span style="font-family:Arial"><div style="position: relative"><div style="position: absolute; left: 1px; top: 1px; background: transparent;color:#000;"><b>WA</b></div><div style="position: absolute; left: 0px; top: 0px; background: transparent;"><b><span style="color:#ff0">WA</span></b></div></div></span></small>
 +
| align="left" | <small>= [[World Areas|World Area]]</small>
 +
|}
 +
|
 +
{| style="border:1px solid #66f;background-color:#aaf;"
 +
| align="right" valign="top" width="8px" | <small><span style="font-family:Arial"><div style="position: relative"><div style="position: absolute; left: 1px; top: 1px; background: transparent;color:#000;"><b>A</b></div><div style="position: absolute; left: 0px; top: 0px; background: transparent;"><b><span style="color:#ff0">A</span></b></div></div></span></small>
 +
| align="left" | <small>= [[:Category:Areas|Area]]</small>
 +
|}
 +
|
 +
{| style="border:1px solid #66f;background-color:#aaf;"
 +
| align="right" valign="top" width="14px" | <small><span style="font-family:Arial"><div style="position: relative"><div style="position: absolute; left: 1px; top: 1px; background: transparent;color:#000;"><b>T<sup>#</sup></b></div><div style="position: absolute; left: 0px; top: 0px; background: transparent;"><b><span style="color:#ff0">T<sup>#</sup></span></b></div></div></span></small>
 +
| align="left" | <small>= Local tunnel/Connection</small>
 +
|}
 +
|
 +
{| style="border:1px solid #66f;background-color:#aaf;"
 +
| align="right" valign="top" width="14px" | <small><span style="font-family:Arial"><div style="position: relative"><div style="position: absolute; left: 1px; top: 1px; background: transparent;color:#000;"><b>Q<sup>#</sup></b></div><div style="position: absolute; left: 0px; top: 0px; background: transparent;"><b><span style="color:#ff0">Q<sup>#</sup></span></b></div></div></span></small>
 +
| align="left" | <small>= [[:Category:Quests|Quest/Quest Part]]</small>
 +
|}
 +
|
 +
{| style="border:1px solid #66f;background-color:#aaf;"
 +
| align="right" valign="top" width="8px" | <small><span style="font-family:Arial"><div style="position: relative"><div style="position: absolute; left: 1px; top: 1px; background: transparent;color:#000;"><b>S</b></div><div style="position: absolute; left: 0px; top: 0px; background: transparent;"><b><span style="color:#ff0">S</span></b></div></div></span></small>
 +
| align="left" | <small>= [[:Category:Shops|Shop]]
 +
|}
 +
|
 +
{| style="border:1px solid #66f;background-color:#aaf;"
 +
| align="right" valign="top" width="8px" | <small><span style="font-family:Arial"><div style="position: relative"><div style="position: absolute; left: 1px; top: 1px; background: transparent;color:#000;"><b>P</b></div><div style="position: absolute; left: 0px; top: 0px; background: transparent;"><b><span style="color:#ff0">P</span></b></div></div></span></small>
 +
| align="left" | <small>= [[:Category:Portals|Portal]]</small>
 +
|}
 +
|
 +
{| style="border:1px solid #66f;background-color:#aaf;"
 +
| align="right" valign="top" width="8" | <small><span style="font-family:Arial"><div style="position: relative"><div style="position: absolute; left: 1px; top: 1px; background: transparent;color:#000;"><b>R</b></div><div style="position: absolute; left: 0px; top: 0px; background: transparent;"><b><span style="color:#ff0">R</span></b></div></div></span></small>
 +
| align="left" | <small>= [[:Category:Relics|Relic]]</small>
 +
|}
 
|}
 
|}
 
|}
 
|}
</center>
 
 
<noinclude>
 
<noinclude>
 +
== Using This Map Notation ==
 +
Technically, the notation has nothing to do with this template, but this template does define the symbols. In order to put both the map tile image and the notation into the map, the table cell must have slightly different code from the rest of the map and uses [[Template:MapNote]].
 +
 +
<pre>| http://cdn.fallensword.com/stairways/207_b.gif</pre>
 +
is changed to:
 +
<pre>
 +
| {{MapNote|image=http://cdn.fallensword.com//stairways/207_b.gif|target=Saneri Rocks (South)|type=A}}
 +
</pre>
 +
 +
which gives:<br>{{MapNote|image=http://cdn.fallensword.com/stairways/207_b.gif|target=Saneri Rocks (South)|type=A}}
 +
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 17:09, 14 February 2022

This map is updated by players and may not reflect the latest changes to the game.
All map coordinates are read across then down.
This map may also include small notations:
WA
WA
= World Area
A
A
= Area
T#
T#
= Local tunnel/Connection
Q#
Q#
= Quest/Quest Part
S
S
= Shop
P
P
= Portal
R
R
= Relic

Using This Map Notation

Technically, the notation has nothing to do with this template, but this template does define the symbols. In order to put both the map tile image and the notation into the map, the table cell must have slightly different code from the rest of the map and uses Template:MapNote.

| http://cdn.fallensword.com/stairways/207_b.gif

is changed to:

| {{MapNote|image=http://cdn.fallensword.com//stairways/207_b.gif|target=Saneri Rocks (South)|type=A}}
which gives:
207_b.gif
A