Jump to content

FamilySearch Wiki:WikiProject Clickable County Maps: Difference between revisions

Line 90: Line 90:
Example for Colorado:<br>
Example for Colorado:<br>
<nowiki> [[Category:Colorado Maps]]</nowiki><br>     
<nowiki> [[Category:Colorado Maps]]</nowiki><br>     
 
<br>
8. In the third line, replace "county name" with the county name and replace the "state" with the state the county is in.  Do not capitalize the whole word. For example it would be Adams County, Colorado.<br>
8. In the third line, replace "county name" with the county name and replace the "state" with the state the county is in.  Do not capitalize the whole word. For example it would be Adams County, Colorado.<br>
<br>
<br>
Example for Colorado:<br>
Example for Colorado:<br>
<nowiki> [[Category:Adams County, Colorado]]</nowiki><br>
<nowiki> [[Category:Adams County, Colorado]]</nowiki><br>
 
<br>
9. Change the Licensing from "None Selected" to "Digital Topo Maps Images" (it's the last option on the drop down menu.)<br>
9. Change the Licensing from "None Selected" to "Digital Topo Maps Images" (it's the last option on the drop down menu.)<br>
10. Click on the Upload File button. <br>
10. Click on the Upload File button. <br>
Line 104: Line 104:
=== Step 2 - Create Image Map Template ===
=== Step 2 - Create Image Map Template ===
1. Create image map, instructions [[Help:Wiki_University_Wikitext--Image_Maps|here]].<br>
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)''
''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)''<br>
:a. You may see <font color="red">%2C</font> after the name of the county in the first line of code.
:a. You may see <font color="red">%2C</font> after the name of the county in the first line of code.<br>
:b. You must change the %2C to a <font color="red">comma</font>.  <br>The wiki does not recognize the %2C.<br>
: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>
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.
:a. Must have the word "template:" as part of the name of the image template. Note the colon.<br>
:b. First two capital letters are the [https://www.bls.gov/cew/cewedr10.htm two letter post office codes] for each state.<br>
: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>
: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>
: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>   
::<font color="red"><nowiki><noinclude>[[Category:Image map templates]]</noinclude></nowiki></font><br>   
''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>
''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>
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:
4. Here is a completed template for Allen County, Kansas as an example:<br>
<div style="border:1px solid black; padding:1em>
<div style="border:1px solid black; padding:1em>
<nowiki><imagemap>Image:Allen,_Kansas.JPG|</nowiki><font color="red">250px</font><br>
<nowiki><imagemap>Image:Allen,_Kansas.JPG|</nowiki><font color="red">250px</font><br>
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