Difference between revisions of "Template:Australia locator map/doc"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
(→‎Parameter list: BaseballIcon being deleted)
imported>Plastikspork
(Remove Template:BaseballIcon per TfD)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This template is intended as a locator map for Australia. It is preset with 15 locations, with customizable labels and icons for those locations. The icon parameters have been setup to work with the {{tl|baseballIcon}} template, but any images can be used.
+
This template is intended as a locator map for Australia. It is preset with 15 locations, with customizable labels and icons for those locations.
  
 
== Usage ==
 
== Usage ==

Revision as of 23:58, 8 April 2012

This template is intended as a locator map for Australia. It is preset with 15 locations, with customizable labels and icons for those locations.

Usage

Parameter list

  • size - the width of the template in pixels
  • Defaults to 450.
  • Don't use "px" at the end of the number, it's already coded for.
  • adelaide-label - the label for the location
  • adelaide-color - the color of the label's text
  • Defaults to black (#000000).
  • Can either be in RGB format ("#xxyyzz" where xx is the hexadecimal value for red, yy is green, and zz is blue) or a web color name.
  • adelaide-icon - the name of the image for the location
  • Only the filename (with extension) should be used.
  • For best results, the file should be in a 3:2 width:height format. Variations on this will likely make the icon appear either too north (eg 2:1) or too far west (eg 1:1).
  • adelaide-bb-icon - to use a standard red pin.
  • Only the icon parameter is required. Size and alignment are preset.

For the parameters above, "adelaide" can be substituted for any of the other locations, following the same format. The full list of locations in the format accepted by the template is:

See also