The Wiki for Tale 8 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.
If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.
Difference between revisions of "Template:Map Marker"
Jump to navigation
Jump to search
m (Corrected display of default map marker icon) |
m (Removing dash between region and coordinates) |
||
Line 1: | Line 1: | ||
− | <includeonly>({{{icon|Cir}}}) {{{coords|}}}, '''{{{name|}}}'''<br>''{{{region|}}}{{#if: {{{region|}}} | | + | <includeonly>({{{icon|Cir}}}) {{{coords|}}}, '''{{{name|}}}'''<br>''{{{region|}}}{{#if: {{{region|}}} | }}({{{coords|}}})''{{#if: {{{info|}}} |<br>{{{info|}}}}}</includeonly> |
<noinclude> | <noinclude> |
Latest revision as of 23:31, 4 August 2018
Template documentation (for the above template, sometimes hidden or invisible)
{{Map Marker}} generates a map marker for use with the {{CondMap}} template.
Usage
{{Map Marker | icon = | name = | region = | coords = | info = }}
- icon
- The icon that should be used for the map marker. See the documentation for the {{CondMap}} template for help selecting a marker. Technically optional but you'll pretty much always want to choose an appropriate icon for your marker.
- name
- The name/label for the marker.
- region
- The region in which the marker belongs. Technically optional but should be always be included if possible.
- coords
- The coordinates at which the marker should be placed.
- info (optional)
- Any additional info that should be included with the marker (e.g. nearby buildings to assist with mining).
Examples
With All Parameters
{{Map Marker|icon=MpFe|name=Iron|region=Meroe Desert|coords=-682, -6833|info=2 Blast Furnaces}}
results in:
(MpFe) -682, -6833, Iron<br>Meroe Desert (-682, -6833)<br>2 Blast Furnaces
Without Info Parameter
{{Map Marker|icon=GrL|name=Limestone|region=Blue Nile|coords=437, -6010}}
results in:
(GrL) 437, -6010, Limestone<br>Blue Nile - (437, -6010)
Without Icon Parameter
{{Map Marker|name=READ - The Wiki Guild|region=Upper Egypt|coords=829, -1833}}
results in:
(Cir) 829, -1833, READ - The Wiki Guild<br>Upper Egypt (829, -1833)
Above Examples Displayed On Map
{{CondMap| mlayer Examples 650 {{Map Marker|icon=MpFe|name=Iron|region=Meroe Desert|coords=-682, -6833|info=2 Blast Furnaces}} {{Map Marker|icon=GrL|name=Limestone|region=Blue Nile|coords=437, -6010}} {{Map Marker|name=READ - The Wiki Guild|region=Upper Egypt|coords=829, -1833}} |contentonly={{{contentonly|no}}}|{{{2}}}}}
results in:
This map uses the CondMap template, if this map imports data from other maps please edit those. Please see Maps for further details and links to all raw data pages
Visit Template:Map Marker/doc to edit this text! (How does this work?)