Tutorial 3a: Adding covers to a ship's Covers Page - Page 2

From NavalCoverMuseum
Revision as of 22:54, 1 August 2006 by NCMSysop (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

There are two ways to add additional covers to a ship's Covers Page:

  1. Copy and paste the code from an existing cover entry and modify it to suit the new cover
  2. Insert the template code for a new cover entry and modify it to suit the new cover


If you are not at the ship's Covers Page, do the following:

  1. First you need to display the Test Ship Index Page. Right click on the link and open it in a new window or tab.
     
  2. Click on the link for the ship you are working on in order to display its main page. In the tutorial, we are using SHIP2 but you should click on the link for ship you are working on.
     
  3. Click on the "Covers Page 1" link in the Naval Covers section. This will display the Covers Page for your ship.
     
    << Image showing the link to "Covers Page 1" in the "Naval Covers" section of the ship's main page.


 
1. Copy and paste the code from an existing cover entry and modify it to suit the new cover
 
This method is the easiest but can also be somewhat error-prone since it is easy to forget to modify all the right sections. You would end up with some information that belongs to the cover you copied from and not for the cover you are adding. However, if you are careful and look things over closely while in preview mode, then this method works fine.
 

  1. Edit the covers page by clicking the edit tab at the top of the page. The code for the page will appear in a large text box in the middle of the page.
     
  2. Find a cover entry and copy all the code between (and including):
     
    <!-- =========== -->
    <!-- COVER ENTRY -->
    <!-- =========== -->
    

    and

    <!-- === End of Cover Entry === -->
    


    << Image showing an existing cover entry in a ship's Covers Page.


     

  3. Paste the code in the appropriate place (remember that cover entries should be in chronological order). For this tutorial, we will upload another cover from the USS Arizona. Since this one has a postmark date of April 27, 1936, we will paste the copied text above the existing cover entry.
     
    << Image showing an existing cover entry copied and pasted.


     

  4. Modify the appropriate sections of the new entry as described on the previous page of this tutorial (Tutorial 3a: Adding covers to a ship's Covers Page). With our changes, the new cover entry looks like this:
     
    <!-- =========== -->
    <!-- COVER ENTRY -->
    <!-- =========== -->
    <br/> <br/><table width="95%" border="1" cellpadding="5" cellspacing="0">
    <tr><td valign="center" align="center" width="200" rowspan="2">
    [[Image:Tutorial_Arizona_BB_39_19360427_1_Front.jpg|thumb|center|200px]]
    </td><td valign="center" align="center" width="100" rowspan="2">
    No Image
    </td><td valign="center">
    1936-04-27
    </td></tr><tr><td valign="center">
    3 (AC-TTB)  [Killer Text: LONG BEACH / CALIFORNIA]<br/>
    3 (AC-TTB)  [Killer Text: FLEET / PROBLEM XV]<br/>
    3 (AC-TTB)  [Killer Text: BALBOA / CANAL ZONE]<br/>
    </td></tr></table>
    Note: 
    <!-- === End of Cover Entry === -->
    


    << Image showing the new cover entry.


     

  5. Now go to the bottom of the page and click the "Show preview" button to see how it will look.
     
    << Image showing the Covers Page in preview mode.


     

  6. If everything looks right, go to the bottom of the preview page and click the "Save page" button to save the changes. Don't forget to add a short description in the Summary line just above the "Save page" button. Something like "added 1 cover" would be sufficient.
     
  7. The last thing to do is upload the image. Click on the image link (there is only one for this cover entry) and upload the image using the process described in Tutorial 1c: An introduction to uploading images. When finished, return to the Covers Page using the link at the bottom of the image's page. The image should appear in the Covers Page.
     
    << Image showing "Covers Page 1" with the second cover added.


     


 
2. Insert the template code for a new cover entry and modify it to suit the new cover
 
For this method, you will need to copy and paste a template. To find the template, first go to the How To Edit Pages page. You will find a link to this page in the left hand navigation bar. Right-click on the link and open the page in a new window or tab so that you can access it without losing your place in the Tutorial.
 

<< Image showing the link to the "How To Edit Pages" page


 
On the "How To Edit Pages" page, scroll down until you see the section called "Instructions for editing existing pages in the Museum". Within this section is a link called Ship Cover Pages. Click this link to display the "Editing Ship Cover Pages" page.
 

<< Image showing the link to the "Ship Cover Pages" page


 

<< Image showing the "Editing Ship Cover Pages" page


 
We will not do anything with this page just yet; we just need to have it ready.
 

  1. Edit the covers page by clicking the edit tab at the top of the page. The code for the page will appear in a large text box in the middle of the page.
     
  2. Switch to the browser window that contains the Ship Cover Pages page. You will see a section fairly close to the top of the page with a light gray background and a border of small blue dashes (it is just under Step 1 of "How to add a new entry to a Ship Cover page"). You need to copy all the text inside this entire section using your normal Copy/Paste technique (ie, highlight all the text with the mouse and then either hit the Control-C key, or right-click in the highlighted text and select Copy in the pop-up menu, or go to the menu bar and select Edit and then Copy). Dont worry about what all the lines mean. You will only have to deal with a small portion of it. The rest will be left as-is.
     
    << Image showing the template lines highlighted


     

  3. Back on the ship's Covers Page, click inside the text box in the middle of the page and then Paste the code in the appropriate place (remember that cover entries should be in chronological order). For this tutorial, we will upload another cover from the USS Arizona. Since this one has a postmark date of June 14, 1937, it goes between the two existing cover entries.
     
    << Image showing the template code copied and pasted.


     

  4. Modify the appropriate sections of the new entry as described on the previous page of this tutorial (Tutorial 3a: Adding covers to a ship's Covers Page). With our changes, the new cover entry looks like this:
     
    <!-- =========== -->
    <!-- COVER ENTRY -->
    <!-- =========== -->
    <br/> <br/><table width="95%" border="1" cellpadding="5" cellspacing="0">
    <tr><td valign="center" align="center" width="200" rowspan="2">
    [[Image:Tutorial_Arizona_BB_39_19370614_1_Front.jpg|thumb|center|200px]]
    </td><td valign="center" align="center" width="100" rowspan="2">
    [[Image:Tutorial_Arizona_BB_39_19370614_1_Back.jpg|thumb|center|100px]]
    </td><td valign="center">
    1937-06-14
    </td></tr><tr><td valign="center">
    3 (AC-TTB)  [Killer Text: BREMERTON / WASH]<br/>
    </td></tr></table>
    Note: 
    <!-- === End of Cover Entry === -->
    


    << Image showing the new cover entry.


     

  5. Now go to the bottom of the page and click the "Show preview" button to see how it will look.
     
    << Image showing the Covers Page in preview mode.


     

  6. If everything looks right, go to the bottom of the preview page and click the "Save page" button to save the changes. Don't forget to add a short description in the Summary line just above the "Save page" button. Something like "added 1 cover" would be sufficient.
     
  7. The last thing to do is upload the images. Click on the image links (there are two for this cover entry) and upload the images using the process described in Tutorial 1c: An introduction to uploading images. When finished, return to the Covers Page using the link at the bottom of the image's page. The images should appear in the Covers Page.
     
    << Image showing "Covers Page 1" with the third cover added.

 

Return to Page 1 of this tutorial.

 

Return to Tutorials Main Page

 


Copyright 2024 Naval Cover Museum