FamilySearch Wiki:WikiProject Clickable County Maps
Purpose
Making clickable map templates and adding them the Maps and Gazetteers section of the county pages.
Task List
Instructions
1. Create image map, instructions here.
Hint: When entering the name of the page for the county in the "Href" box, I usually copy and paste these county names so I don't misspell them and then have to "move" or rename the template)
- a. You may see %2C after the name of the county in the first line of code.
- b. You must change the %2C to a comma.
The wiki does not recognize the %2C.
2. Save the image coding as a template, for example: template:KS Allen County.
- a. Must have the word "template:" as part of the name of the image template. Note the colon.
- b. First two capital letters are the two letter post office codes for each state.
- c. Next is the name of the county for which you are creating the image map.
- d. Add the this line of code to the bottom of all the code. This give the image map a category.
- <noinclude>[[Category:Image map templates]]</noinclude>
Note the noinclude just means that the text for the category will not show on the page even though it has been placed in a category.
3.Limit size to 250px. See Help:Wiki University Wikitext--Image Maps
4. Here is a completed template for Allen County, Kansas as an example:
<imagemap>Image:Allen,_Kansas.JPG|250px
poly 123 179 123 99 226 103 223 181 223 181 [[Allen County, Kansas Genealogy|Allen County]]
poly 122 96 119 11 225 14 224 96 224 96 [[Anderson County, Kansas Genealogy|Anderson County]]
poly 17 99 7 1 115 18 115 99 115 99 [[Coffey County, Kansas Genealogy|Coffey County]]
poly 230 97 230 10 344 2 339 98 340 98 [[Linn County, Kansas Genealogy|Linn County]]
poly 15 179 16 93 118 100 119 178 119 178 [[Woodson County, Kansas Genealogy|Woodson County]]
poly 229 190 228 99 339 102 337 190 337 190 [[Bourbon County, Kansas Genealogy|Bourbon County]]
poly 17 265 14 178 117 184 115 266 115 266 [[Wilson County, Kansas Genealogy|Wilson County]]
poly 195 250 120 267 124 179 223 184 225 266 122 265 122 265 [[Neosho County, Kansas Genealogy|Neosho County]]
poly 230 266 224 189 336 196 338 265 338 265 [[Crawford County, Kansas Genealogy|Crawford County]]
#<!-- Created by Online Image Map Editor (http://www.maschek.hu/imagemap/index) -->
Placing template
1.Place the clickable map under the heading Maps and Gazetteers, and under first template, for example, under {{KS Maps Intro|Allen}} on the Allen County, Kansas page by typing:
- {{KS Neighboring Counties Intro|county={{County Name}}}}
- {{KS Neighboring Counties Intro|county={{County Name}}}}
- There may be a link to a image of the county under this template that looks like our image map. If so delete it as you will be replacing it with a clickable image map.
2.In place of "County Name" enter the template name for the county you are adding the image map too, for example:
- {{KS Neighboring Counties Intro|county={{KS Allen County}}}}
- {{KS Neighboring Counties Intro|county={{KS Allen County}}}}
3.It will look like this, using Allen County, Kansas as an example:
=== Maps and Gazetteers ===
{{KS Maps Intro|Allen}}