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

From blackwiki
Jump to navigation Jump to search
imported>Grolltech
(cat sort)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(2 intermediate revisions by 2 users not shown)
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 that with the following:
+
 
 +
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 = 250
+
  |width = 200
 
  |columns = 2
 
  |columns = 2
 
  |float = center  
 
  |float = center  
 
}}</pre>
 
}}</pre>
 +
{{clear}}which produces:
 
{{Cape Cod overlay map
 
{{Cape Cod overlay map
  |width = 250
+
  |width = 200
 
  |columns = 2
 
  |columns = 2
 
  |float = center  
 
  |float = center  
Line 28: Line 30:
  
 
== See also ==
 
== See also ==
* {{tlx|Location map Cape Cod}}
+
* [[Module:Location map/data/USA Cape Cod]]
* [[Cape Cod]] – the main article
+
* {{tl|Cape Cod lighthouses}}
 
+
<includeonly>{{Sandbox other||
<includeonly>
 
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
<!-- Categories go here, and interwikis go in Wikidata -->
[[Category:Cape Cod and the Islands|{{PAGENAME}}]]
+
[[Category:Cape Cod and the Islands|Τ]]
[[Category:Barnstable County, Massachusetts|{{PAGENAME}}]]
+
[[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