Template:Location map 100x100/doc

This map definition, Template:Location_map_100x100, is intended for overlaying markers/labels on any specified image, using map coordinates ranging from 0-100.0 for latitude or longitude. See the technical design below, under:. Some of the related mapping procedures are:


 * Template:Location_map - places a marker symbol/label on an image;
 * Template:Location_map_many - places multiple marker symbols/labels on an image;
 * Template:Location_map_skew - puts symbols/labels on an image with converging longitudes.

All mapping templates use similar parameters (see Examples): Some common label background colors are: # CCCC55 for dim yellow ,
 * # 44EE44 for lime green, # BBBBBB for gray ,
 * # 44CCDD for light aqua, # DDDDDD for light gray (almost white),
 * PaleGreen for pale green, PaleTurquoise , DarkOrange , etc.
 * By default, the label is transparent overwriting the image.

For small lettering use label_size=80, for tiny words use 55. Note that the words in the label will wrap unless using "nbsp": DO&amp;nbsp;NOT&amp;nbsp;WRAP.

When specifying image "width=270" be sure to OMIT "px" (which causes the image to span the width of the screen) because "px" cannot (yet) be detected by the (new) MediaWiki language which processes those mapping templates.

See each specific mapping template for other parameters to pass.

Other options
It is possible to place markers/labels outside a map, by specifying latitude or longitude coordinates beyond 0-100.0:
 * Over longitude=99.0 will push a label off-map to the right;
 * Under longitude= -2.0 will push a label off-map to the left;
 * Over latitude= 101.0 will push a label off-map to the top.

For templates that restrict coordinates, expand the minutes field: lat_deg=100.0 but lat_min=120 yielding a combined 102 degrees (60 minutes = 1 degree).

Design issues
Each of the mapper templates named as "Location_map_XX" (such as "Location_map_100x100") contains a map-image name, latitude range, and longitude range, as the details hidden by data encapsulation (computer science). Hence, each of those templates is not a "fork" of Location map but instead, they are accessor functions which access the map-border coordinates as shared data, rather than being repeated data in each article using Location map Italy. If Italy officially changes its map borders, then only that one mapper template need be changed, and only those Italy-related articles will be reformatted. The total of 20,000+ articles using {Location_map} will NOT be reformatted when someone updates each particular "Location_map_XX" and so the impact on WikiQueer server work is reduced, as roughly 450 times faster, by having 450 separate mapper templates.