WikiProject:Vermont Town Clickable Maps: Difference between revisions

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


== Purpose ==
== Purpose ==
*Part A: Make the Image Map code for Vermont conty listing all the towns on it
*Part A: Make the Image Map code for a Vermont town in each county. 
*Part B: 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 from Part A.


== Task List ==  
== Task List ==  
Line 16: Line 16:
== Instructions ==
== Instructions ==
==Part A - Create the clickable Map==
==Part A - Create the clickable Map==
=== Step 1 - Choose a County ===
=== Step 1 - Choose a County and First Town ===


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>
1. Choose a county from on Part A Tab of the [https://docs.google.com/spreadsheets/d/1pHO3mN2xNG75CTIl8Jx1kgpy5EK5R4QPuAoETTs6MbQ/edit#gid=0 Task List] and put your name beside it.<br>
<br>
2. Now go to Part B Tab on the [https://docs.google.com/spreadsheets/d/1pHO3mN2xNG75CTIl8Jx1kgpy5EK5R4QPuAoETTs6MbQ/edit#gid=9015077 Task List] to find the county you signed up for and choose the first town.<br>  
<br>
<br>
=== Step 2 - Create a Town Clickable Map Template in the Wiki  ===
=== Step 2 - Create a Town Clickable Map Template in the Wiki  ===


2. Create a new template for the town by copying and pasting this into the Wiki search field:<br>
2. Create a new template for the town you picked in Step 1 above by copying and pasting the following Wikitext into the Wiki search field on the [https://www.familysearch.org/en/wiki/Main_Page Main Page]:<br>
<br>
<br>
  <nowiki>Template:VTCOUNTYTOWN</nowiki>
  <nowiki>Template:VTCOUNTYTOWN</nowiki>
<br>
<br>
3. Replace the county and town name in the template before clicking on Enter.<br>
3. Replace the county and town name in the template ''before'' clicking on Enter.<br>
<br>
<br>
4. This will bring back a red link for the proposed new template. Click on the red link to make the page.
4. This will bring back a red link for the proposed new template. Click on the red link to make the page.
Line 39: Line 41:
=== 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 Wiki tab with your the new template you are creating and paste the Image Map code into the Wiki page.<br>
<br>
<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>
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>
3. Copy and paste the following wikitext directly below the last of 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 so it's the last thing on the page:<br>
<br>
<br>
  <nowiki><noinclude>desc none
  <nowiki><noinclude>desc none
Line 52: Line 54:
6. Click on Save Page.<br>
6. Click on Save Page.<br>
<br>
<br>
7. Review the page to make sure the map is clickable and the category is not a red link.<br>
7. Review the page to make sure the map is clickable and the category is not a red link. Fix as necessary.<br>
<br>
<br>
=== Step 5 - Add the Template to the Town Page ===
=== Step 5 - Add the Template to the Town Page ===


1. Go back to the [https://docs.google.com/spreadsheets/d/1pHO3mN2xNG75CTIl8Jx1kgpy5EK5R4QPuAoETTs6MbQ/edit?usp=sharing Task List] to go to the town page where you will put the template.<br>  
1. Go back to the [https://docs.google.com/spreadsheets/d/1pHO3mN2xNG75CTIl8Jx1kgpy5EK5R4QPuAoETTs6MbQ/edit#gid=9015077 Task List] to go to the town page where you will put the template.<br>  
<br>
<br>
2. In the Contents, click on Maps and go down to the header, Maps or scroll down the page to the header, Maps.
2. In the Contents, click on Maps and go down to the header, Maps or scroll down the page to the header, Maps.
Line 64: Line 66:
4. Directly under the Maps header, paste the following wikitext code:<br>
4. Directly under the Maps header, paste the following wikitext code:<br>
<br>
<br>
  <nowiki>[[Image:{{VTCOUNTYTOWN}}|right]]</nowiki><br>
  <nowiki>[[{{VTCOUNTYTOWN}}|right]]</nowiki><br>
<br>
<br>
5. Change "VTCOUNTYTOWN" to match the name of the clickable map template you made.  
5. Change "VTCOUNTYTOWN" to match the name of the clickable map template you made.  
Line 88: Line 90:
==Part B - Create the Remainder Town Clickable Map Templates==
==Part B - Create the Remainder Town Clickable Map Templates==
=== Step 1 - Choose the Next Town from the Task List  ===
=== 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>
1. Go back to Part B on the [https://docs.google.com/spreadsheets/d/1pHO3mN2xNG75CTIl8Jx1kgpy5EK5R4QPuAoETTs6MbQ/edit#gid=9015077 Task List] and click on the next town on the Google Sheet.<br>


=== Step 2 - Create a Town Clickable Map Template in the Wiki  ===
=== Step 2 - Create a Town Clickable Map Template in the Wiki  ===
Line 94: Line 96:
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>
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>
<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>
2. Create a new template for the town by copying and pasting the following Wikitext into the Wiki search field in the middle of the page:<br>
<br>
<br>
  <nowiki>Template:VTCOUNTYTOWN</nowiki>
  <nowiki>Template:VTCOUNTYTOWN</nowiki>
Line 104: Line 106:


=== Step 3 - Copy the Wikitext Code from the 1st Clickable Map ===
=== Step 3 - Copy the Wikitext Code from the 1st Clickable Map ===
 
1. Go back to the Wiki tab that contains the first town Clickable map for the county, you created in Part A.<br>
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>
<br>
4. Copy the highlighted text clicking at the same time, Ctrl and C or right click and choose "copy" using the menu.<br>
2. Click on Edit source at the top of the template page and copy the code on the page by using Ctrl+A to highlight first.<br>
<br>
<br>
5.


=== Step 4 - Paste the Wikitext into your New Clickable Map Template ===
=== 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>
1. Go back to the tab with the template open on the page and paste the content to the Wiki page. <br>
<br>
<br>
2. Click on Save Page.<br>
2. Click on Save Page.<br>
<br>
<br>
3. Review the page to make sure the map is clickable and the category is not a red link.<br>
3. Review the page to make sure the map is clickable and the category is not a red link. Fix it if necessary.<br>
<br>
<br>


=== Step 5 - Choose Another Town ===
=== 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>
1. Go back to the Part B tab on the [https://docs.google.com/spreadsheets/d/1pHO3mN2xNG75CTIl8Jx1kgpy5EK5R4QPuAoETTs6MbQ/edit#gid=9015077 Task List] and sign the date next to the town.<br>
<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>  
2. Choose the next town and repeat the steps under Part B until you finish the county. Then sign up for another county.<br>