User:Bethcottam/lwikitext 10-14

How to place an image


NOTICE the name of the image "File:Ireland Cemeteries 1.jpg" starts with the word "File" and a colon. The extension ".jpg" must be in the link. The word "image" can be used in place of "file."

Embedding a PDF file
Like an image, a PDF file link is an "internal link." You can place the link to the PDF file anywhere on a page with the following coding: [[Media:Lubbock TX FHC Library Catalog.pdf|Lubbock Texas FHC library catalog]] Notice the magic word Media instead of the word File or Image. Here is the actual link to this PDF file: Lubbock Texas FHC library catalog

Image tooltip code:



Abbreviation tooltip:

FHC

Abbreviation tooltips are created when you flank a word or phrase with the abbr attribute as follows:

FHC

Size of image



Image on the right


Image borders



NOTICE the pipe and the word "right" have been removed. Using the word "thumb" moves the image to the right by default. If we want the border but the image on the left, we include a pipe and the word "left":



Image Captions
With the use of the word "thumb," notice a small box appears under the image. Here is where we can place a caption on the image with the addition of a pipe and whatever wording we want for the caption:



If you want to center the caption, enter opening and closing center tags flanking the caption:



Internal Links
The process is the same only we add the page name instead of the URL:

Put your mouse over the image to see the "tooltip" with the name of the page name. If you click on the image you will be taken to the Ireland Genealogy page.

Tooltip
Tooltips appear when you give your links names. External links: if you insert only the URL, no tooltip will appear. Internal links: if you do not give the internal link a name, the name of the article will appear. If you give the internal link a name other than the page name, the name will appear instead. For example:



How text behaves around images
(do the exercise with paragraph and image here etc)

Floating text to the right of the image
(Input paragraph and image and do exercises)