Jump to content

FamilySearch Wiki:WikiProject Clickable County Maps: Difference between revisions

no edit summary
No edit summary
Line 8: Line 8:


== Purpose ==
== Purpose ==
Making clickable map templates and adding them the Maps and Gazetteers section of the county pages.
Upload new county boundary maps, making clickable map templates, and adding them the Maps and Gazetteers section of the county pages.


== Task List ==  
== Task List ==  
Line 14: Line 14:


== Instructions ==
== Instructions ==
1. Create image map, instructions [[Help:Wiki_University_Wikitext--Image_Maps|here]].<br>
=== Step 1 - Add County Boundary Maps to Wiki ===
''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 <font color="red">%2C</font> after the name of the county in the first line of code.
:b. You must change the %2C to a <font color="red">comma</font>.  <br>The wiki does not recognize the %2C.<br>
2. Save the image coding as a template, for example: <font color="red"><nowiki>template:KS Allen County</nowiki></font>.<br>
: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 [https://www.bls.gov/cew/cewedr10.htm two letter post office codes] for each state.<br>
:c. Next is the name of the county for which you are creating the image map.  <br>
:d. Add the this line of code to the bottom of all the code.  Make sure it follows immediately after "</imagemap>", no line brake.''This give the image map a category''.<br>
::<font color="red"><nowiki><noinclude>[[Category:Image map templates]]</noinclude></nowiki></font> 
''Note the <font color="red">noinclude</font> just means that the text for the category will not show on the page even though it has been placed in a category.''<br>
3.'''Limit size to 250px'''. See [[Help:Wiki_University_Wikitext--Image_Maps#Limit size of image map]]<br><br>
4. Here is a completed template for Allen County, Kansas as an example:
<div style="border:1px solid black; padding:1em>
<nowiki><imagemap>Image:Allen,_Kansas.JPG|</nowiki><font color="red">250px</font><br>
<nowiki>poly 123 179 123 99 226 103 223 181 223 181 [[Allen County, Kansas Genealogy|Allen County]]</nowiki><br>
<nowiki>poly 122 96 119 11 225 14 224 96 224 96 [[Anderson County, Kansas Genealogy|Anderson County]]</nowiki><br>
<nowiki>poly 17 99 7 1 115 18 115 99 115 99 [[Coffey County, Kansas Genealogy|Coffey County]]</nowiki><br>
<nowiki>poly 230 97 230 10 344 2 339 98 340 98 [[Linn County, Kansas Genealogy|Linn County]]</nowiki><br>
<nowiki>poly 15 179 16 93 118 100 119 178 119 178 [[Woodson County, Kansas Genealogy|Woodson County]]</nowiki><br>
<nowiki>poly 229 190 228 99 339 102 337 190 337 190 [[Bourbon County, Kansas Genealogy|Bourbon County]]</nowiki><br>
<nowiki>poly 17 265 14 178 117 184 115 266 115 266 [[Wilson County, Kansas Genealogy|Wilson County]]</nowiki><br>
<nowiki>poly 195 250 120 267 124 179 223 184 225 266 122 265 122 265 [[Neosho County, Kansas Genealogy|Neosho County]]</nowiki><br>
<nowiki>poly 230 266 224 189 336 196 338 265 338 265 [[Crawford County, Kansas Genealogy|Crawford County]]</nowiki><nowiki></imagemap></nowiki><font color="red"><nowiki><noinclude>[[Category:Image map templates]]</noinclude></nowiki></font></div>
 
==Placing template==
1.Place the clickable map under the heading '''Maps and Gazetteers''', and under first template, for example, under <nowiki>{{KS Maps Intro|Allen}}</nowiki> on the Allen County, Kansas page by typing:<br>
::<font color="red"><nowiki>{{KS Neighboring Counties Intro|county={{County Name}}}}</nowiki></font><br>
:''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.''<br>
2.In place of "County Name" enter the template name for the county you are adding the image map too, for example: <br>
::<font color="red"><nowiki>{{KS Neighboring Counties Intro|county={{KS Allen County}}}}</nowiki></font><br><br>
3.It will look like this, using Allen County, Kansas as an example: <br>
<div style="border:1px solid black; padding:1em; width:400px">
<nowiki>=== Maps and Gazetteers ===</nowiki><br>
<nowiki>{{KS Maps Intro|Allen}}</nowiki><br>
<font color="red"><nowiki>{{KS Neighboring Counties Intro|county={{KS Allen County}}}}</nowiki></font><br></div>
 
 
== Adding map images to Wiki ==
== Adding map images to Wiki ==


Line 100: Line 63:
12. Check to make sure the categories are correct at the bottom of the page.  If it is not, edit the summary and change the category to the correct one. <br>
12. Check to make sure the categories are correct at the bottom of the page.  If it is not, edit the summary and change the category to the correct one. <br>
13. You can now go to the next county.<br>
13. You can now go to the next county.<br>
=== Step 2 - Create Image Map Template ===
1. Create image map, instructions [[Help:Wiki_University_Wikitext--Image_Maps|here]].<br>
''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 <font color="red">%2C</font> after the name of the county in the first line of code.
:b. You must change the %2C to a <font color="red">comma</font>.  <br>The wiki does not recognize the %2C.<br>
2. Save the image coding as a template, for example: <font color="red"><nowiki>template:KS Allen County</nowiki></font>.<br>
: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 [https://www.bls.gov/cew/cewedr10.htm two letter post office codes] for each state.<br>
:c. Next is the name of the county for which you are creating the image map.  <br>
:d. Add the this line of code to the bottom of all the code.  Make sure it follows immediately after "</imagemap>", no line brake.''This give the image map a category''.<br>
::<font color="red"><nowiki><noinclude>[[Category:Image map templates]]</noinclude></nowiki></font> 
''Note the <font color="red">noinclude</font> just means that the text for the category will not show on the page even though it has been placed in a category.''<br>
3.'''Limit size to 250px'''. See [[Help:Wiki_University_Wikitext--Image_Maps#Limit size of image map]]<br><br>
4. Here is a completed template for Allen County, Kansas as an example:
<div style="border:1px solid black; padding:1em>
<nowiki><imagemap>Image:Allen,_Kansas.JPG|</nowiki><font color="red">250px</font><br>
<nowiki>poly 123 179 123 99 226 103 223 181 223 181 [[Allen County, Kansas Genealogy|Allen County]]</nowiki><br>
<nowiki>poly 122 96 119 11 225 14 224 96 224 96 [[Anderson County, Kansas Genealogy|Anderson County]]</nowiki><br>
<nowiki>poly 17 99 7 1 115 18 115 99 115 99 [[Coffey County, Kansas Genealogy|Coffey County]]</nowiki><br>
<nowiki>poly 230 97 230 10 344 2 339 98 340 98 [[Linn County, Kansas Genealogy|Linn County]]</nowiki><br>
<nowiki>poly 15 179 16 93 118 100 119 178 119 178 [[Woodson County, Kansas Genealogy|Woodson County]]</nowiki><br>
<nowiki>poly 229 190 228 99 339 102 337 190 337 190 [[Bourbon County, Kansas Genealogy|Bourbon County]]</nowiki><br>
<nowiki>poly 17 265 14 178 117 184 115 266 115 266 [[Wilson County, Kansas Genealogy|Wilson County]]</nowiki><br>
<nowiki>poly 195 250 120 267 124 179 223 184 225 266 122 265 122 265 [[Neosho County, Kansas Genealogy|Neosho County]]</nowiki><br>
<nowiki>poly 230 266 224 189 336 196 338 265 338 265 [[Crawford County, Kansas Genealogy|Crawford County]]</nowiki><nowiki></imagemap></nowiki><font color="red"><nowiki><noinclude>[[Category:Image map templates]]</noinclude></nowiki></font></div>
=== Step 3 - Put New Template on County Page ===
1.Place the clickable map under the heading '''Maps and Gazetteers''', and under first template, for example, under <nowiki>{{KS Maps Intro|Allen}}</nowiki> on the Allen County, Kansas page by typing:<br>
::<font color="red"><nowiki>{{KS Neighboring Counties Intro|county={{County Name}}}}</nowiki></font><br>
:''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.''<br>
2.In place of "County Name" enter the template name for the county you are adding the image map too, for example: <br>
::<font color="red"><nowiki>{{KS Neighboring Counties Intro|county={{KS Allen County}}}}</nowiki></font><br><br>
3.It will look like this, using Allen County, Kansas as an example: <br>
<div style="border:1px solid black; padding:1em; width:400px">
<nowiki>=== Maps and Gazetteers ===</nowiki><br>
<nowiki>{{KS Maps Intro|Allen}}</nowiki><br>
<font color="red"><nowiki>{{KS Neighboring Counties Intro|county={{KS Allen County}}}}</nowiki></font><br></div>
[[Category:WikiProject United States]]
Approver, Batcheditor, Moderator, Patroller, Protector, Reviewer, Bots, Bureaucrats, editor, Interface administrators, pagecreator, pagedeleter, Page Ownership admin, Push subscription managers, smwadministrator, smwcurator, smweditor, Suppressors, Administrators, Upload Wizard campaign editors, Widget editors
795,753

edits