FamilySearch Wiki:WikiProject Add new template to HR articles: Difference between revisions

From FamilySearch Wiki
No edit summary
(Created page with "{{breadcrumb | link1=Current Projects page | link2= | link3= | link4= | link5=View Images Project }} == Purpose == Replace the old Re...")
(6 intermediate revisions by the same user not shown)
Line 16: Line 16:
== Task List ==
== Task List ==


[https://docs.google.com/spreadsheets/d/1NweNO3bt_i7qiIqg3tibxvxScGOObN8VhuETCH42lPE/edit?usp=sharing Task List, Tab "Replace Template"]<br>
[https://docs.google.com/spreadsheets/d/1FrXfhaVVKkSY73WgEUtl9bJ5aOUfduqrc8U0khWz-rA/edit?usp=sharing Task List]<br>


== Instructions ==
== Instructions ==


===Part 1 Add the template and Information===
===Part 1 Add the template and Information===
1. Use the [https://docs.google.com/spreadsheets/d/1NweNO3bt_i7qiIqg3tibxvxScGOObN8VhuETCH42lPE/edit?usp=sharing Task List, Tab "Replace Template"] link to go to the first Historical Records page to be edited.<br><br>
1. Use the [https://docs.google.com/spreadsheets/d/1FrXfhaVVKkSY73WgEUtl9bJ5aOUfduqrc8U0khWz-rA/edit?usp=sharing task list] link to go to the first Historical Records page to be edited.<br><br>


2. Click on Edit source tab and on the keyboard press down the buttons: Control and F key at the same time to search the page.<br><br>
2. Click on Edit source tab and on the keyboard press down the buttons: Control and F key at the same time to search the page.<br><br>
Line 53: Line 53:
[[File:CID number.PNG|800px]]<br><br>
[[File:CID number.PNG|800px]]<br><br>


9. Now fill in the information from the old RecordSearch template to the new View Images Link template by copying the information within the bold code  (i.e., <nowiki>Record Type</nowiki> on the first <nowiki># Select</nowiki> line and paste it directly behind <nowiki>| browse_1 =</nowiki> in the new template. Do not copy the apostraphes as this code is already in the new template.<br><br>
9. Now fill in the information from the old RecordSearch template to the new View Images Link template by copying the information after the first <nowiki># Select</nowiki> and pasting it directly behind <nowiki>| browse_1 =</nowiki> in the new template.<br><br>


Example:<br>
Example:<br>
[[File:Select CID and info.PNG|800px]]<br><br>
[[File:Select CID and info.PNG|800px]]<br><br>
10. For the second <nowiki># Select</nowiki> in the old template, copy the information within the bold code and paste it directly behind <nowiki>| browse_2 =</nowiki> in the new template.  If this line also contains the phrase, to view the images, delete it.<br><br>
10. For the second <nowiki># Select</nowiki> in the old template, copy the information and paste it directly behind <nowiki>| browse_2 =</nowiki> in the new template.<br><br>


11. If there is more information in the old template, copy that information using the same instructions above and paste it to the corresponding sections in the new template.<br><br>
11. If there is more information in the old template, copy that information and paste it to the correct corresponding section in the new template.<br><br>


===Part 2: Delete the Old Template===
===Part 2: Delete the Old Template===
Line 67: Line 67:
[[File:Delete old template.PNG|800px]]<br><br>
[[File:Delete old template.PNG|800px]]<br><br>


2. Once you have removed the old template, click on the Show preview button to:<br>
2. Once you have removed the old template, click on the Show preview button to make sure the new template appears correctly.<br><br>
#Review the new template to make sure there is no extra verbiage
#Test the collection link to make sure it works and goes to the browse screen.<br><br>


Example:<br>
Example:<br>

Revision as of 17:16, 22 February 2022

View Images Project

Purpose[edit | edit source]

Replace the old RecordSearch template on the Historical Records pages with a new template.

Contact[edit | edit source]

Danielle

Task List[edit | edit source]

Task List

Instructions[edit | edit source]

Part 1 Add the template and Information[edit | edit source]

1. Use the task list link to go to the first Historical Records page to be edited.

2. Click on Edit source tab and on the keyboard press down the buttons: Control and F key at the same time to search the page.

3. Search for the header:

View the Images



4. Once you find that on the Wiki page, copy:

{{View_Images_Link | CID = 
 | browse_1 = 
 | browse_2 = 
 | browse_3 =  
 | browse_4 =  
 | browse_5 =  
 | browse_6 =  }}

5. Paste the wikitext directly below the header, ===View the Images===

6. It should now look like this:

Example:
Wikitext for template and old code.PNG

7. Just below the template wikitext code you pasted to the page, you will see {{RecordSearch|.

8. Copy the number listed directly after {{RecordSearch| and paste it into the new template after the | CID =

Example:
CID number.PNG

9. Now fill in the information from the old RecordSearch template to the new View Images Link template by copying the information after the first # Select and pasting it directly behind | browse_1 = in the new template.

Example:
Select CID and info.PNG

10. For the second # Select in the old template, copy the information and paste it directly behind | browse_2 = in the new template.

11. If there is more information in the old template, copy that information and paste it to the correct corresponding section in the new template.

Part 2: Delete the Old Template[edit | edit source]

1. Now delete the old template from the page starting with View images in this collection.... and going to the last # Select in the wikitext.

Example:
Delete old template.PNG

2. Once you have removed the old template, click on the Show preview button to make sure the new template appears correctly.

Example:
Final version.PNG

Note: Make sure there is no space between the end of the new template and the next line of wikitext.

Example:
No space.PNG

3. In the Edit Summary field add: WikiProject - add template

4. Click on the Save changes button to save the page.