The Wiki for Tale 6 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.

Template:CondMap1

From ATITD6
Revision as of 19:52, 31 December 2011 by Duncan (talk | contribs)
Jump to navigationJump to search

This is a private modification to the CondMap template which turns the scroll-wheel zoom facility off. I couldn't work out how to set this using the bog-standard CondMap spec.

The template is intended to be used to allow a single reference source for map objects. This template is still being actively worked on ans is as yet undocumented. If in doubt, don't use it yet.

By default the generated map is 512x1024 pixels, at zoom level 2

The reason this template is required is that passing templates into extensions requires use of the #tag: function. In practice this template can probably be simplified somewhat

Parameters:

  • lat
  • lon
  • zoom
  • width
  • height
  • contentonly - The important part of this template. If contentonly=yes then only the first parameter (the map data lines) will be returned from the template. This allows condmaps to be nested so that multiple maps can be merged