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

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 32: Line 32:
 
* [[Module:Location map/data/USA Cape Cod]]
 
* [[Module:Location map/data/USA Cape Cod]]
 
* {{tl|Cape Cod lighthouses}}
 
* {{tl|Cape Cod lighthouses}}
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
[[Category:Cape Cod and the Islands|Τ]]
 
[[Category:Cape Cod and the Islands|Τ]]
 
[[Category:Barnstable County, Massachusetts|Τ]]
 
[[Category:Barnstable County, Massachusetts|Τ]]
 
[[Category:Populated places in Barnstable County, Massachusetts|Τ]]
 
[[Category:Populated places in Barnstable County, Massachusetts|Τ]]
</includeonly>
+
}}</includeonly>

Latest revision as of 00:48, 24 April 2020

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 the map at the top of the page with the following example:

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

which produces:

See also