Help:Advanced Linking

From FamilySearch Wiki
Jump to: navigation, search

Wiki Help Gotoarrow.png Links and citations Gotoarrow.png Advanced Linking

Help-content.png This help article will guide you as you edit in the Wiki. See Contributor Help for more help articles.


Internal Link

A link from one page of the Family Search Wiki to another page of the Family Search Wiki

How to create an internal link

  1. Type double square brackets [[
  2. Then type the name of the article you want to link to, without leaving any space. This is the title of the actual article you want the link to go to.
  3. If you want the link text to read differently from the actual article title, type the pipe symbol | and then type the text that you want to appear as the link. This step is optional.
  4. Finally type double square brackets ]] without leaving any space between the text and brackets.

Tip: To enter the pipe symbol (|), hold the "Shift" key down and then press the \ (the shift and the backslash keys).

Examples of various Internal Links

Description You type You get
Internal link
[[Main Page]]
Main Page
Piped link
[[Main Page|different text]]
different text
Shortened sort-of-piped link
[[Main Page]]s
Main Pages
Redirect

See also Redirects
#REDIRECT [[Main Page]]
Main Page
Internal link to an anchor at another page
[[Help:User page#See also]]
Help:User page#See_also
Internal link to a subpage

See also Subpages.
[[Family History Library/Group Visit Guidelines]]
Family History Library/Group Visit Guidelines
Internal link to a category page
[[:Category:Help]]
Category:Help
Internal link to an image or a file of other types
[[media:example.jpg]]
[[Media:Swedish Parishes.pdf]] 
Media:Example.jpg

Media:Swedish_Parishes.pdf

Shortcut links related to the current page
Internal link to an anchor on the current page

Section headings and the top of the page are automatically anchored.
[[#See also]]
#See_also
Internal link to the current page's talk page

See also Magic words
[[{{TALKPAGENAME}}]]
Help talk:Advanced Linking

External Links

A link from a page in the Family Search Wiki to a website on the Internet

How to create an external link

  1. If you want the URL or web address visible on the page, type or paste it onto the page. Remember, the URL must begin with "http://" or "https://". This is not good editing practice. Instead, use the following steps to create link text different from the URL.
  2. Type a single right-facing square bracket [
  3. Type or paste the URL immediately after the single square bracket, without leaving a space. Remember, the URL must begin with "http://" or "https://" and include the actual path to the website wanted.
  4. Then type one space and the link text.
  5. Next type a single, left-facing square bracket ] without leaving a space.

Examples of various types of External Links

Description You type You get
External link
http://mediawiki.org
http://mediawiki.org
External link with different label
[http://mediawiki.org MediaWiki]
MediaWiki
External link numbered
[http://mediawiki.org]
[1]
External link to the same host
[http://{{SERVERNAME}}/pagename]
[2]
External link to other host passing the pagename
[http://google.com/search?q={{PAGENAME}}]
Linking
Mailto link
[mailto:info@example.org email me]
email me
Mailto named with subject line and body
[mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info]
info

Other links

Category Links

[[:Category:NAME]]   This creates a link to a category. Be sure to use a leading colon before the category name, otherwise it will add the current page to the category. 
[[:Category:NAME|DISPLAY TEXT]]    This changes the display text, write the text inside the link tag after a pipe. 

Redirected categories must also use the colon, otherwise they will be added to the category instead of redirecting.


Language Links

Links to other language versions of this wiki can be created using the {{H-langs}} template.
The following example shows multiple links to various languages


Template Links

Links to other wikis are generally not used on this wiki. Links to other wikis are usually created by using standard methods for creating External Links or by using the following templates:

  *Family History Library Catalog (FHLC). Instructions: {{FHL}} 
  *Record Search. Instructions: {{RecordSearch}} 
  *WorldCat/OCLC (English Language). Instructions: {{WorldCat}} 
  *Wikipedia (English Language) - Inline link. Instructions: {{Wpd}} 
  *Wikipedia (English Language) - Wikipedia box. Instructions: {{Wikipedia}} 
  *Internet Archive (Wayback machine). Instructions: {{Wayback}}
Tools.png Tip for wiki admins: See Manual:Interwiki for the management of interwiki links of your wiki.


Image Links

Single link

[[File:FamilySearch Logo.jpg|100px|link=FamilySearch]]    This will make a 100px width picture of Family Search Logo with a link to the page FamilySearch Logo.jpg

Multiple links from the same image

An image can also be used to link to different pages when a user clicks on different parts of the image. See Help:Image maps for more information.