Difference between revisions of "Template:Cape Cod overlay map/doc"

From blackwiki
Jump to navigation Jump to search
imported>Grolltech
(another cat)
imported>Grolltech
(cat sort)
Line 35: Line 35:
 
[[Category:Cape Cod and the Islands|{{PAGENAME}}]]
 
[[Category:Cape Cod and the Islands|{{PAGENAME}}]]
 
[[Category:Barnstable County, Massachusetts|{{PAGENAME}}]]
 
[[Category:Barnstable County, Massachusetts|{{PAGENAME}}]]
[[Category:Populated places in Barnstable County, Massachusetts|{{PAGENAME}}]]
+
[[Category:Populated places in Barnstable County, Massachusetts|*]]
 
</includeonly>
 
</includeonly>

Revision as of 14:53, 25 May 2013

Usage

{{Cape Cod overlay map | width = Template:Varserif | columns = Template:Varserif | float = Template:Varserif }}

where:

|width= desired width of the map image; default is 300px. This also forms the basis of the height of the map image, which will be calculated as 75% of the width.
|columns= number of columns to display in the legend; default is 3.
|float= designates to which side of the article text the map should appear. Valid values are: left, right (default), and center.

Example

The map at the top of the page was made using all default values – that is, by using the following wikicode:

{{Cape Cod overlay map}}

Compare that with the following:

{{Cape Cod overlay map
 |width = 250
 |columns = 2
 |float = center 
}}

See also