Jump to content

WikiProject:Vermont Town Clickable Maps: Difference between revisions

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


== Purpose ==
== Purpose ==
*Part 1: Make the Image Map code for Vermont conty listing all the towns on it  
*Part A: Make the Image Map code for Vermont conty listing all the towns on it  
*Part 2: Create the rest of the town templates using the same Image Map code
*Part B: Create the rest of the town templates using the same Image Map code


== Task List ==  
== Task List ==  
[https://docs.google.com/spreadsheets/d/1pHO3mN2xNG75CTIl8Jx1kgpy5EK5R4QPuAoETTs6MbQ/edit?usp=sharing Task List]
*[https://docs.google.com/spreadsheets/d/1pHO3mN2xNG75CTIl8Jx1kgpy5EK5R4QPuAoETTs6MbQ/edit?usp=sharing Task List]


== Instructions ==
== Instructions ==
==Part A - Create the clickable Map==
=== Step 1 - Choose a County  ===
=== Step 1 - Choose a County  ===


*Choose a county from the [https://docs.google.com/spreadsheets/d/1pHO3mN2xNG75CTIl8Jx1kgpy5EK5R4QPuAoETTs6MbQ/edit?usp=sharing Task List]
1. Choose a county from the [https://docs.google.com/spreadsheets/d/1pHO3mN2xNG75CTIl8Jx1kgpy5EK5R4QPuAoETTs6MbQ/edit?usp=sharing Task List] and put your name beside it.<br>
 
 
*Create a blank template for you to create a clickable map by copying and pasting this into the Wiki search field:<br>
<br>
<br>
<nowiki>Template:VTCOUNTYTOWN</nowiki>
=== Step 2 - Create a Town Clickable Map Template in the Wiki  ===
<br>
For example, <nowiki>Template:VTAddisonAddison</nowiki><br>
<br>
*Perform the search and click on the red link to create the template.<br>


=== Step 2 - Create a Map Template===
2. Create a new template for the town by copying and pasting this into the Wiki search field:<br>
 
*Create a blank template for the town map you are working on. Copy the following code and paste it into the Search Field on any Wiki page.
<br>
<br>
  <nowiki>Template:VTCOUNTYTOWN</nowiki>
  <nowiki>Template:VTCOUNTYTOWN</nowiki>
<br>
<br>
For example, <nowiki>Template:VTAddisonAddison</nowiki><br>
3. Replace the county and town name in the template before clicking on Enter.<br>
<br>
<br>
*Replace the county and town name in the template before clicking on Enter.
4. This will bring back a red link for the proposed new template. Click on the red link to make the page.
 
*This will bring back a red link for the proposed new template. Click on the red link to make the page.
<br>
<br>


=== Step 3 - Create a Image Map ===
=== Step 3 - Create a Image Map ===
 
<br>
1. Create image map using these instructions '''[[Help:Wiki_University_Wikitext--Image_Maps#Select_a_source_image_for_upload_to_the_Online_Image_Map_Editor|here]]''' at Step 1.<br>
1. In a new tab on your browser, create an image map using these instructions '''[[Help:Wiki_University_Wikitext--Image_Maps#Select_a_source_image_for_upload_to_the_Online_Image_Map_Editor|here]]''' starting at Step 1.<br>
 
<br>
2. After you have finished making the map clickable, and after you have clicked "Create Image Map" on the [https://niebert.github.io/imgmap/index.html Map Editor Tool], '''copy''' all of the generated Wikitext code.<br><br>
2. After you have finished making the map clickable, and after you have clicked "Create Image Map" on the [https://niebert.github.io/imgmap/index.html Map Editor Tool], '''copy''' all of the generated Wikitext code.<br><br>


=== Step 4 - Add the Image Map Code to the Wiki page ===


=== Step 4 - Add the Image Map Code to the Wiki page ===
1. Go back to the Wiki tab with your the template you are creating and paste the Image Map code into the Wiki page.<br>
1. Go back to the template you are creating in the Wiki and paste the Image Map code into the Wiki page.<br>
<br>
<br>
3. At the end of the image map code at the bottom of the Wiki page, highlight the code: <nowiki></imagemap></nowiki> and delete it.<br>
2. At the end of the image map code at the bottom of the Wiki page, highlight the code: <nowiki></imagemap></nowiki> and delete it.<br>
<br>
<br>
4. Copy and paste the following wikitext directly below the code for the clickable map:<br>
3. Copy and paste the following wikitext directly below the last of the code for the clickable map:<br>
<br>
<br>
  <nowiki><noinclude>desc none
  <nowiki><noinclude>desc none
  </imagemap>[[Category:Image map templates]][[Category:COUNTYNAME County, Vermont]] </noinclude></nowiki><br>
  </imagemap>[[Category:Image map templates]][[Category:COUNTYNAME County, Vermont]] </noinclude></nowiki><br>
<br>
<br>
5. Replace COUNTYNAME in the category to the county your town is in.<br>
4. Replace COUNTYNAME in the category to the county your town is in.<br>
<br>
<br>
6. Click on Save Page.<br>
6. Click on Save Page.<br>
Line 97: Line 86:
*Notice how the line of code for each county starts with the word "poly."
*Notice how the line of code for each county starts with the word "poly."


==Part B - Create the Remainder Town Clickable Map Templates==
=== Step 1 - Choose the Next Town from the Task List  ===
1. Go back to the [https://docs.google.com/spreadsheets/d/1pHO3mN2xNG75CTIl8Jx1kgpy5EK5R4QPuAoETTs6MbQ/edit?usp=sharing Task List] and click on the next town on the Google Sheet.<br>
=== Step 2 - Create a Town Clickable Map Template in the Wiki  ===
1. Open a new tab of the Wiki in your browser by clicking on this [https://www.familysearch.org/en/wiki/Main_Page Link].<br>
<br>
2. Create a new template for the town by copying and pasting this into the Wiki search field in the middle of the page:<br>
<br>
<nowiki>Template:VTCOUNTYTOWN</nowiki>
<br>
3. Replace the county and town name in the template before clicking on Enter.<br>
<br>
4. This will bring back a red link for the proposed new template. Click on the red link to make the page.
<br>
=== Step 3 - Copy the Wikitext Code from the 1st Clickable Map ===
1. Go back to the Wiki tab with your the template you are creating and paste the Image Map code into the Wiki page.<br>
<br>
2. At the top of the template page, click Edit Source.<br>
<br>
3. Click into the edit field and clicking at the same time, Ctrl and A. This will highlight all of the text on the page.<br>
<br>
4. Copy the highlighted text clicking at the same time, Ctrl and C or right click and choose "copy" using the menu.<br>
<br>
5.
=== Step 4 - Paste the Wikitext into your New Clickable Map Template ===
1. Go back to the tab with the template open on the page and paste the content by clicking at the same time, Ctrl and V or right click and choose "paste" on the menu.<br>
<br>
2. Click on Save Page.<br>
<br>
3. Review the page to make sure the map is clickable and the category is not a red link.<br>
<br>
=== Step 5 - Choose Another Town ===
1. Go back to the [https://docs.google.com/spreadsheets/d/1pHO3mN2xNG75CTIl8Jx1kgpy5EK5R4QPuAoETTs6MbQ/edit?usp=sharing Task List] and sign the date next to the town.<br>
<br>
2. Choose the next town and repeat the steps under Part B until you finish the county. Then sign up for another county.<br>
<br>






[[Category:WikiProject United States]]
[[Category:WikiProject United States]]