Help:Wiki University Wikitext--Image Links

From FamilySearch Wiki
Revision as of 13:39, 17 September 2020 by Leggatsh (talk | contribs) (→‎Try these out: Clarified Exercise Instruction)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search





Additional Helps

We have shown you, so far, how to create both external and internal links using just text. Now we will show you how to take an image and make it into either an external or an internal link.

External Links[edit | edit source]

  • We will use this image for our image link:

Ireland Countryside.jpg

  • Here is the code in which we limited the image to a width of 100 pixels:
[[File:Ireland Countryside.jpg|100px]]

  • To make this image an external link you add the following code inside the internal link coding:
[[File:Ireland Countryside.jpg|100px|link=|FamilySearch]]

  • NOTICE the pipe between the URL and the name of the link. In spite of the link being an external link it is inside internal link double square brackets and requires the pipe to separate the name from the URL.


  • If you put your mouse over the image, you will see a little "tooltip" appear with the name we gave to the link. You will be taken to the website if you click on the image.

Internal Links[edit | edit source]

  • The process is the same only we add the page name instead of the URL:
[[File:Ireland Countryside.jpg|100px|link=Ireland Genealogy]]

  • 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.

Ireland Countryside.jpg

Tooltips and Links[edit | edit source]

  • Tooltips appear when you give your links names.
  • External links: if you insert only the URL without the name, 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:
[[File:Ireland Countryside.jpg|100px|link=Ireland Genealogy|Ireland]]


Try these out[edit | edit source]

  • Place this image [[File:Ireland Map.gif]] in your sandbox page and limit the width to 100 pixels and make it a link to an external website that is about Ireland.

  • Place this image [[File:Ireland Countryside.jpg]] in your sandbox page and limit the width to 100 pixels and make it an internal link to a favorite article in FamilySearch Wiki about Ireland.

Quick Quiz
  • The separator between the URL and the name of the website in an external image link is:
A. Space.
B. Pipe.
C. Doesn't matter.
  • The separator between the page name and the name of the link in an internal image link is:
A. Pipe, the word link and = sign.
B. Space, the word link and = sign
C. Doesn't matter.
  • In external links, the "tooltip" only appears when you give your external links a name.
A. True.
B. False.
  • In internal links, the "tooltip" appears with the name of the page if you do not give it a different name.
A. True.
B. False.