Difference between revisions of "Template:Zones"

From yidtravel
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 24: Line 24:
  
 
This template is used to display a color-coded map of regions and a legend with the region color, name and description. Use of this template is as follows:
 
This template is used to display a color-coded map of regions and a legend with the region color, name and description. Use of this template is as follows:
<nowiki>
+
 
{{Regionlist
+
{{Zones
 
| regionmap=The name of the region map
 
| regionmap=The name of the region map
 
| regionmaptext=Text to display under the map image
 
| regionmaptext=Text to display under the map image
Line 36: Line 36:
 
The parameters above should be repeated for additional regions, but replace "region1" with "region2", "region3", etc. An example usage of this template with real data follows (descriptions have been truncated for readability):
 
The parameters above should be repeated for additional regions, but replace "region1" with "region2", "region3", etc. An example usage of this template with real data follows (descriptions have been truncated for readability):
  
{{Regionlist
+
{{Zones
 
| regionmap=Map-USA-Regions01.png
 
| regionmap=Map-USA-Regions01.png
 
| regionmaptext=Regions of the USA
 
| regionmaptext=Regions of the USA
Line 48: Line 48:
 
| region2items=[[Washington (state)|Washington]], [[Oregon]]
 
| region2items=[[Washington (state)|Washington]], [[Oregon]]
 
| region2description=The pleasantly mild Pacific Northwest offers...
 
| region2description=The pleasantly mild Pacific Northwest offers...
}}</nowiki>
+
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 15:05, 20 March 2015

This template is used to display a color-coded map of regions and a legend with the region color, name and description. Use of this template is as follows:

File:The name of the region map
Text to display under the map image
The name of the first region (An optional list of items to appear in parentheses next to the region name)
A description of the region

The parameters above should be repeated for additional regions, but replace "region1" with "region2", "region3", etc. An example usage of this template with real data follows (descriptions have been truncated for readability):

File:Map-USA-Regions01.png
Regions of the USA
California
In some ways quintessentially American, and in...
Pacific Northwest (Washington, Oregon)
The pleasantly mild Pacific Northwest offers...