Template:Relative location: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
 
Line 3: Line 3:
{{!}}colspan="5"{{!}}{{{image}}}
{{!}}colspan="5"{{!}}{{{image}}}
{{!}}- |}}
{{!}}- |}}
| colspan="5" class="relative-location-header" |<span class="relative-location-txt">Relative location</span>
| colspan="5" class="relative-location-header" | Relative location
|-
|-
| colspan="5" style="text-align:center;" |{{#if:{{{north|}}}|[[{{{north|}}}]]|}}
| colspan="5" style="text-align:center;" | {{#if:{{{north|}}}|[[{{{north|}}}]]|}}
|-
|-
| colspan="5" style="text-align:center;" |{{#if:{{{north|}}}|&uarr;|}}
| colspan="5" style="text-align:center;" | {{#if:{{{north|}}}|&uarr;|}}
|-
|-
| style="width:25%" |{{#if:{{{west|}}}|[[{{{west|}}}]]|}}
| style="width:25%" | {{#if:{{{west|}}}|[[{{{west|}}}]]|}}
| style="width:7.5%" |{{#if:{{{west|}}}|&larr;|}}
| style="width:7.5%" | {{#if:{{{west|}}}|&larr;|}}
| style="width:25%; align-items: center;" |'''{{{location|{{PAGENAME}}}}}'''
| style="width:25%; align-items: center;" | '''{{{location|{{PAGENAME}}}}}'''
| style="width:7.5%" |{{#if:{{{east|}}}|&rarr;|}}
| style="width:7.5%" | {{#if:{{{east|}}}|&rarr;|}}
| style="width:25%" |{{#if:{{{east|}}}|[[{{{east|}}}]]|}}
| style="width:25%" | {{#if:{{{east|}}}|[[{{{east|}}}]]|}}
|-
|-
| colspan="5" style="text-align:center;" |{{#if:{{{south|}}}|&darr;|}}
| colspan="5" style="text-align:center;" | {{#if:{{{south|}}}|&darr;|}}
|-
|-
| colspan="5" style="text-align:center;" |{{#if:{{{south|}}}|[[{{{south|}}}]]|}}
| colspan="5" style="text-align:center;" | {{#if:{{{south|}}}|[[{{{south|}}}]]|}}
|}<noinclude>{{/doc}}</noinclude>
|}<noinclude>{{/doc}}</noinclude>
{{Mainonly|[[Category:Locations]]}}
{{Mainonly|[[Category:Locations]]}}

Latest revision as of 16:25, 11 April 2024

Relative location
Relative location
Template documentation
This documentation is transcluded from Template:Relative location/doc. [edit] [history] [purge]

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

Refer to the locations page to see what should be given the Relative Location template.

Usage

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

Examples

North, south, east, and west

Relative location
Sea Road West Waterfront
East Beach
{{Relative location
|location = Sea Road
|north = 
|east = West Waterfront
|south = East Beach
|west = 
}}

South only; width 400 pixels

Relative location
Sea Road
East Beach
{{Relative location
|location = Sea Road
|width = 400px
|south = East Beach
}}

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

Relative location
Sea Road West Waterfront
East Beach
{{Relative location
|location = Sea Road
|north = 
|east = West Waterfront
|south = East Beach
|west = 
|float = left
}}