Template:MapNote

From Fallen Sword Wiki
Revision as of 14:47, 18 April 2022 by Lusterless (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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
  • T = Local tunnel/Connection
  • 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

Two Targets

If a map cell has two different targets or types (e.g. quest location on stairs), you can modify the template.

|{{MapNote|image=URL TO TILE IMAGE|target=PAGE TO LINK TO|type=TYPE OF PAGE|target-2=SECOND PAGE LINK|type-2=SECOND PAGE TYPE}}

For example, this code

|{{MapNote|image=http://cdn.fallensword.com/stairways/207_b.gif|target=Saneri Rocks (South)|type=A|target-2=Masters Honor|type-2=Q}}

results in: