Difference between revisions of "Template:Cape Cod overlay map/doc"
Jump to navigation
Jump to search
imported>Grolltech (cat sort) |
imported>Grolltech (minor tweak to example) |
||
| Line 14: | Line 14: | ||
<pre style="width:15em;float:left;">{{Cape Cod overlay map}}</pre> | <pre style="width:15em;float:left;">{{Cape Cod overlay map}}</pre> | ||
{{clear}} | {{clear}} | ||
| − | Compare | + | |
| + | Compare the map at the top of the page with the following example: | ||
<pre style="width:15em;float:left;">{{Cape Cod overlay map | <pre style="width:15em;float:left;">{{Cape Cod overlay map | ||
| − | |width = | + | |width = 200 |
|columns = 2 | |columns = 2 | ||
|float = center | |float = center | ||
}}</pre> | }}</pre> | ||
| + | {{clear}}which produces: | ||
{{Cape Cod overlay map | {{Cape Cod overlay map | ||
| − | |width = | + | |width = 200 |
|columns = 2 | |columns = 2 | ||
|float = center | |float = center | ||
Revision as of 12:37, 7 June 2013
| 40px | This is a documentation subpage for Template:Cape Cod overlay map. It contains usage information, categories and other content that is not part of the original template page. |
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
{{Location map Cape Cod}}- Cape Cod – the main article