Difference between revisions of "Help:Wiki University Wikitext--Links"

From FamilySearch Wiki
Jump to navigation Jump to search
Line 44: Line 44:
  
 
==Linking to Headers==
 
==Linking to Headers==
You can link directly to a section of a page. If you want to link only to ''Featured Content'' on the Missouri Genealogy Page, for example, type a pound sign after the page name followed by the name of the section header:
+
You can link directly to a section of a page. If you want to link only to ''Additional Resources'' on the Missouri, United States Genealogy page, for example, type a pound sign after the page name followed by the name of the section header:
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:100%; font-size:10pt; font-family:Courier New"><p style="color:blue; "><nowiki>[[Missouri Genealogy#Featured Content]]</nowiki></p></div><br>
+
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:100%; font-size:10pt; font-family:Courier New"><p style="color:blue; "><nowiki>[[Missouri Genealogy#Additional Resources]]</nowiki></p></div><br>
 
*<font color="blue"><b>NOTICE</b></font color> the pound sign (#) between the page name  and the name of the section.
 
*<font color="blue"><b>NOTICE</b></font color> the pound sign (#) between the page name  and the name of the section.
 
<p>This is how it appears on a page: </p>
 
<p>This is how it appears on a page: </p>

Revision as of 11:36, 19 September 2016

Lessons


Intermediate


Advanced


Other Coding Options


Additional Helps


<< Previous Chapter Next Chapter >>

Two Kinds of Links[edit | edit source]

There are two kinds of links in the Wiki: External and Internal.

  • External links are to sites outside of FamilySearch Wiki.
  • Internal links are to pages inside of FamilySearch Wiki.

External Links[edit | edit source]

External-links.jpg

External links are created by placing the URL [1] of the link inside of one set of opening and closing square brackets with a space separating the URL and the name you want to give the link:

[https://www.wikipedia.org Wikipedia]


  • NOTICE one square bracket on either side of the link.
  • NOTICE space between org and Wikipedia.

This is how the external link looks on the page:

Wikipedia

  • NOTICE the little box to the right with the small arrow point upwards. That little box tells you that the link is an external link.

Html7.jpg

All links whether internal or external are blue. If you put your mouse over the link an underline will appear as well. If the link is red or black something is wrong, which we will cover in the next chapter.

Internal Links[edit | edit source]

Internal linking.gif
  • Internal Links are created with double square brackets on either side of the page name in FamilySearch Wiki separated by a pipe from the name we want to give the link like so:

[[Missouri, United States Genealogy|Missouri]]


  • NOTICE the double square brackets on either end of the link.
  • NOTICE the pipe separating the page name and the name of the link. A pipe is required not a space.


This is how the internal link appears on the page. When you place your mouse over the word, the text turns blue and a line appears under the word. This lets you know it is an internal link.

Missouri

  • NOTICE there is no little box with an arrow to the right of it.

Linking to Headers[edit | edit source]

You can link directly to a section of a page. If you want to link only to Additional Resources on the Missouri, United States Genealogy page, for example, type a pound sign after the page name followed by the name of the section header:

[[Missouri Genealogy#Additional Resources]]


  • NOTICE the pound sign (#) between the page name and the name of the section.

This is how it appears on a page:

Missouri, United States Genealogy

E-mail links[edit | edit source]

Links to e-mail site is coded as follows;

[mailto:other site@browser.com Site Name]
  • NOTICE the "mailto:" inside single square brackets used in external links.

Try these out[edit | edit source]

Tests.gif
Exercises
  • Create a link to Wikipedia
  • Create a link to FamilySearch.org
  • Create a link to Kentucky Genealogy in the Wiki
  • Create a link to California Genealogy in the Wiki
  • Create a link to the section "Research Tools" on the Nevada Genealogy page.
  • Create a link to the section "Topics" on the Glamorganshire page.
  • Create a link to Ancestry.com
  • Create a link to HTML and Wikitext - Lesson One in the wiki.


Quick Quiz
  • How many square brackets for Internal Links?
A. One
B. Two
  • How many square brackets are necessary for external links?
A. One
B. Two
  • How do you separate the name of an Internal link from the page name?
A. Put a space between them.
B. Put a pipe between them.
  • How do you link to a section of a page?
A. Put a pipe between the page name and the section.
B. Put a pound sign between the page name and the section.
  1. URL means Uniform Resource Identifier and is the generic term to identify web sites on the Internet