Template:Relative location: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(change locaiton on worldmap to region)
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
{{!}}colspan="5"{{!}}{{{image}}}
{{!}}colspan="5"{{!}}{{{image}}}
{{!}}- |}}
{{!}}- |}}
| colspan="5" class="relative-location-header" |[[{{{region}}}]]
| colspan="5" class="relative-location-header" |{{#if:{{{region|}}}|[[{{{region}}}]]}}
|-
|-
| colspan="5" style="text-align:center;" |{{#if:{{{north|}}}|[[{{{north|}}}]]|}}
| colspan="5" style="text-align:center;" |{{#if:{{{north|}}}|[[{{{north|}}}]]|}}
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|}}}]]|}}
Line 19: Line 19:
| colspan="5" style="text-align:center;" |{{#if:{{{south|}}}|[[{{{south|}}}]]|}}
| colspan="5" style="text-align:center;" |{{#if:{{{south|}}}|[[{{{south|}}}]]|}}
|}<noinclude>
|}<noinclude>
This template is taken from [https://oldschool.runescape.wiki/w/Template:Relative%20location RS Wikis]. It is licensed under CC-BY-NC-SA 3.0 with a commercial use waiver.
{{documentation|content=This template is taken from [https://oldschool.runescape.wiki/w/Template:Relative%20location RS Wikis]. It is licensed under CC-BY-NC-SA 3.0 with a commercial use waiver.


{{/doc}}
{{Relative location/doc}} }}
</noinclude>
</noinclude>

Latest revision as of 16:23, 13 August 2024

{{{PAGENAME}}}
Template documentation

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
}}