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

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

In Tutorial 2d: Editing the Naval Covers section, you created Covers Page 1 for your ship. We did not upload any covers at that time so the page only has a single placeholder for where to put the first cover. In this tutorial, you will add three covers to your ship's Covers Page. You will need one or two of your own covers already scanned and ready to upload. If you haven't already done so, do it now before proceeding with this tutorial. See Tutorial 1c: An introduction to uploading images for information on scanning standards, file naming conventions, and instructions on how to upload an image.

 

1. Adding the first cover to "Covers Page 1"
 

  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.


     

  4. 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.
     
    << Image showing the edit tab on "Covers Page 1"


     

    << Image showing "Covers Page 1" in edit mode.


     

  5. Since there is a blank entry already provided for the first cover, we will use it and just make whatever modifications we need. Look for the "cover entry" code in the edit box:
    <!-- =========== -->
    <!-- COVER ENTRY -->
    <!-- =========== -->
    <br/>&nbsp;<br/><table width="95%" border="1" cellpadding="5" cellspacing="0">
    <tr><td valign="center" align="center" width="200" rowspan="2">
    [[Image:Image_Name|thumb|center|200px]]
    </td><td valign="center" align="center" width="100" rowspan="2">
    Thumbnail Link to Full Cover Back Image
    </td><td valign="center">
    YYYY-MM-DD
    </td></tr><tr><td valign="center">
    Postmark &nbsp;&nbsp;[Killer Text: KILLER TEXT]<br/>
    </td></tr></table>
    Note:
    <!-- === End of Cover Entry === -->
    


    Only a few lines of code need to be modified and only two are mandatory. We'll walk you through each of those lines in turn.
     

    1. The first line that needs to be modified is line 6.
      [[Image:Image_Name|thumb|center|200px]]
      

      This is where you identify the file that contains an image of the front of the cover. The only part you need to change is the Image_Name portion. Please use the standard naming convention for your image files (see Tutorial 1c: An introduction to uploading images for full information). For this tutorial, we will upload a cover from a real ship (USS Arizona) and put it under SHIP2. With our changes, the line looks like this:

      [[Image:Tutorial_Arizona_BB_39_19390530_1_Front.jpg|thumb|center|200px]]
      


    2. The next line to modify is line 8.
      Thumbnail Link to Full Cover Back Image
      

      This is where you identify the file that contains an image of the back of the cover. This is optional and only needed if there is something of interest on the back. If you have an image you want to display, replace the line with the following image link code:

      [[Image:Image_Name|thumb|center|100px]]
      

      and replace Image_Name with an appropriate file name just like you did in the previous step. Note that the image size (the number at the end of the line) is 100px (pixels) and not 200px like for the front image. This is not an error. For the tutorial, our cover from USS Arizona has a back image so we include it.

      [[Image:Tutorial_Arizona_BB_39_19390530_1_Back.jpg|thumb|center|100px]]
      

      If you do not want to display an image of the back of the cover, replace the entire line with "No Image".

      No Image
      


    3. The next line to modify is line 10.
      YYYY-MM-DD
      

      This line contains the date for the cover. Change the "YYYY-MM-DD" to the date for the cover using the given format. For the tutorial, the cover has a date of May 30, 1939 so its line would look like the following:

      1939-05-30
      


    4. The next line to modify is line 12.
      Postmark &nbsp;&nbsp;[Killer Text: KILLER TEXT]<br/>
      

      This line contains the postmark type and killer bar text. This information is optional so you don't have to provide it if you don't want to. Also, you should only give the postmark type if you are sure what it is (dont just guess). For the tutorial, the cover has a type 3 (AC-TTB) postmark with killer text of "SAN PEDRO / CALIF". Replace the Postmark text at the beginning of the line with the postmark and replace the KILLER TEXT text at the end of the line with the killer bar text. If there is no killer bar text then you can delete the entire killer text portion or leave it as is.

      3 (AC-TTB)&nbsp;&nbsp;[Killer Text: SAN PEDRO / CALIF]<br/>
      


    5. The last line to modify is line 14 (the second to the last line)
      Note:
      

      This line is optional and contains any special information you want to include about the cover. For the tutorial, we will add a simple comment:

      Note: This is the first cover for SHIP2
      


  6. This is what the code looks like with all the changes:
    <!-- =========== -->
    <!-- COVER ENTRY -->
    <!-- =========== -->
    <br/>&nbsp;<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_19390530_1_Front.jpg|thumb|center|200px]]
    </td><td valign="center" align="center" width="100" rowspan="2">
    [[Image:Tutorial_Arizona_BB_39_19390530_1_Back.jpg|thumb|center|100px]]
    </td><td valign="center">
    1939-05-30
    </td></tr><tr><td valign="center">
    3 (AC-TTB)&nbsp;&nbsp;[Killer Text: SAN PEDRO / CALIF]<br/>
    </td></tr></table>
    Note: This is the first cover for SHIP2
    <!-- === End of Cover Entry === -->
    


    << Image showing "Covers Page 1" with the code changes.


     

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


     
    Notice that the cover images are not displayed yet since we haven't uploaded them yet. At present, there are only two links that will assist you in uploading the images. Actually, you could have uploaded the images previously if you had wanted to - in which case the images would now be on the page instead of the links. There is no reason you cannot upload a bunch of images first and then add them to the appropriate pages later - just don't forget their file names!
     

  8. 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.
     
  9. Now it is time to upload the images. Click on each of the image links in turn and upload the image using the process described in Tutorial 1c: An introduction to uploading images. When finished uploading the images, reload the page using the browser's reload button. The images should appear.
     
    << Image showing "Covers Page 1" with the first cover added.

 

Go to Page 2 of this tutorial (click on the link) to see how to add the other two covers.

 

Return to Tutorials Main Page

 


Copyright 2024 Naval Cover Museum