Template:Relative location: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(change locaiton on worldmap to region)
(remove rmv)
Line 11: Line 11:
| style="width:25%" |{{#if:{{{west|}}}|[[{{{west|}}}]]|}}
| style="width:25%" |{{#if:{{{west|}}}|[[{{{west|}}}]]|}}
| style="width:7.5%" |{{#if:{{{west|}}}|←|}}
| style="width:7.5%" |{{#if:{{{west|}}}|←|}}
| style="width:25%; align-items: center;" |'''{{{location|{{rmv|(location)|{{rmv|(city)|{{PAGENAME}}}} }}}}}'''
| style="width:25%; align-items: center;" |'''{{{location|{{#replace:{{{PAGENAME}}}|(location)|}}}}}'''
| style="width:7.5%" |{{#if:{{{east|}}}|→|}}
| style="width:7.5%" |{{#if:{{{east|}}}|→|}}
| style="width:25%" |{{#if:{{{east|}}}|[[{{{east|}}}]]|}}
| style="width:25%" |{{#if:{{{east|}}}|[[{{{east|}}}]]|}}

Revision as of 20:25, 25 September 2023

[[{{{region}}}]]
{{{PAGENAME}}}

This template is taken from RS Wikis. It is licensed under CC-BY-NC-SA 3.0 with a commercial use waiver.

The Relative location template is used to display graphically where a location is in terms of other landmarks.

Usage

{{Relative location
|region =
|location =
|south    = 
|north    = 
|west     = 
|east     =
}}

Examples

North, south, east, and west

Wilderness
Risen Road
Goblin Camp Blighted Village Emerald Grove
Riverside Treehouse
{{Relative location
|region   = Wilderness
|location = Blighted Village
|south    = Riverside Treehouse
|north    = Risen Road
|west     = Goblin Camp
|east     = Emerald Grove
}}

South only; width 400 pixels

Baldur's Gate
Wyrm's Crossing
Rivington
{{Relative location
|region   = Baldur's Gate
|location = Wyrm's Crossing
|width    = 400px
|south    = Rivington
}}

North, south, east, west; floated to the left

Wilderness
Risen Road
Goblin Camp Blighted Village Emerald Grove
Riverside Treehouse

{{Relative location
|region   = Wilderness
|location = Blighted Village
|south    = Riverside Treehouse
|north    = Risen Road
|west     = Goblin Camp
|east     = Emerald Grove
|float    = left
}}