Help:Advanced Linking

From FamilySearch Wiki

(Difference between revisions)
(navbox)
Line 1: Line 1:
{| cellspacing="1" cellpadding="1" border="0" align="right" width="220"
 
|-
 
| [[Help:Links and citations|Return to Help:Links and citations]]
 
|}<br><br><br>
 
 
{{how-to-articles}}
 
 
{{Help article}}
 
{{Help article}}
  
Line 12: Line 6:
  
 
== How to create an internal link using Wikitext  ==
 
== How to create an internal link using Wikitext  ==
 +
 +
To create internal links within the Research Wiki using the "Rich Editor", see [[Help:Create an internal link|Create an internal link]].
  
 
#Type double square brackets '''[['''.  
 
#Type double square brackets '''[['''.  
Line 26: Line 22:
 
The text above will appear as: [[African American Resources|African American Research]] even thought the actual title of the article is "African American Resources."  
 
The text above will appear as: [[African American Resources|African American Research]] even thought the actual title of the article is "African American Resources."  
  
=== Linking to a category  ===
+
== How to create an external link using Wikitext ==
 
+
To create a link to a category, use a leading colon before the category name. (Without this colon, it will add the current page to the category.) To change the link text, write the text inside the link tag after a pipe.
+
 
+
  <nowiki>[[</nowiki>:{{ns:category}}:''NAME'']]
+
<nowiki>[[</nowiki>:{{ns:category}}:''NAME''|''TEXT'']]
+
+
 
+
For example, to link to "{{ns:category}}:Help", write "<code><nowiki>[[</nowiki>:{{ns:category}}:Help]]</code>", which will result in [[:<span class=|{{ns:category}}:Help"&gt;:{{ns:category}}:Help]].
+
 
+
[[Help:Redirect|Redirect pages]] must also use the colon, otherwise it will be added to the category instead of redirecting.
+
  
== How to create an external link using Wikitext  ==
+
To create external links using the "Rich Editor" see [[Help:Create an external link|Create an external link]].
  
 
#Type&nbsp;a single&nbsp;right-facing square bracket '''['''  
 
#Type&nbsp;a single&nbsp;right-facing square bracket '''['''  
Line 53: Line 39:
  
 
== Other links  ==
 
== Other links  ==
 +
 
{{Contributor Help badge}}
 
{{Contributor Help badge}}
=== Internal Websites  ===
 
  
*For links within the Research Wiki, see [[Create an internal link|Basic internal linking]].
+
=== Linking to a category  ===
 +
 
 +
To create a link to a category, use a leading colon before the category name. (Without this colon, it will add the current page to the category.) To change the link text, write the text inside the link tag after a pipe.
 +
 
 +
<nowiki>[[</nowiki>:{{ns:category}}:''NAME'']]
 +
<nowiki>[[</nowiki>:{{ns:category}}:''NAME''|''TEXT'']]
 +
 +
 
 +
For example, to link to "{{ns:category}}:Help", write "<code><nowiki>[[</nowiki>:{{ns:category}}:Help]]</code>", which will result in [[:<span class=|{{ns:category}}:Help"&gt;:{{ns:category}}:Help]].
 +
 
 +
[[Help:Redirect|Redirect pages]] must also use the colon, otherwise it will be added to the category instead of redirecting.  
  
=== External Links ===
+
=== Creating Links Using Templates ===
  
*For those external links not listed below, see [[Create an external link|Basic external linking]].
+
For those external links not listed below, see [[Help:Create an external link|Create an external link]].
  
=== Interwiki Links  ===
+
==== Interwiki Links  ====
  
 
*Instructions for using the {{tl|Wpd}} template for creating interwiki links to articles in the English-language [[wikipedia:Wikipedia|Wikipedia]].
 
*Instructions for using the {{tl|Wpd}} template for creating interwiki links to articles in the English-language [[wikipedia:Wikipedia|Wikipedia]].
  
=== Family History Library Catalog (FHLC) Links  ===
+
==== Family History Library Catalog (FHLC) Links  ====
  
 
*Instructions for using the {{tl|FHL}} template for creating links to the Family History Library Catalog.
 
*Instructions for using the {{tl|FHL}} template for creating links to the Family History Library Catalog.
  
=== Record Search Links  ===
+
==== Record Search Links  ====
  
 
*Instructions for using the {{tl|RecordSearch}} template for creating links to [{{RecordSearch}} Record Search].
 
*Instructions for using the {{tl|RecordSearch}} template for creating links to [{{RecordSearch}} Record Search].
  
=== WorldCat/OCLC Links  ===
+
==== WorldCat/OCLC Links  ====
  
 
*Instructions for using the {{tl|WorldCat}} template for creating links to the English-language [http://www.WorldCat.org WorldCat/OCLC] catalog.
 
*Instructions for using the {{tl|WorldCat}} template for creating links to the English-language [http://www.WorldCat.org WorldCat/OCLC] catalog.
  
=== Wikipedia Links  ===
+
==== Wikipedia Links  ====
  
 
*Instructions for using the {{tl|Wikipedia}} template for creating interwiki links to articles in the English-language [[wikipedia:Wikipedia|Wikipedia]].
 
*Instructions for using the {{tl|Wikipedia}} template for creating interwiki links to articles in the English-language [[wikipedia:Wikipedia|Wikipedia]].

Revision as of 21:00, 1 September 2012

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


Quick Reference:

  • Internal Link: On the page where you want the link to appear, type: [[pagetitle|visibletext]] where "pagetitle" = the name of the article you want to link to, and "visibletext" = the text users see on the page and will click on to be directed to the linked article.
  • External Link: On the page where you want the link to appear, type: [http://hyperlink visibletext] where "http://hyperlink" = the url of the website you want to link to (including http://), and "visibletext" the text users see on the page and will click on to be directed to the other website or url.

Contents

How to create an internal link using Wikitext

To create internal links within the Research Wiki using the "Rich Editor", see Create an internal link.

  1. Type double square brackets [[.
  2. Type the name of the article you want to link to immediately after the two square brackets, without leaving a space between the brackets. This is the actual article you will link to. If you want the text on the page to show the actual article title, skip to step 4. If you want the text on the page to read differently from the actual article title, continue with step 3.
  3. After typing the exact name of the article you are linking to, type the pipe symbol |, and then type the text that you want to appear as the link on the page.
  4. Next type double square brackets ]] without leaving a space between the bracket and the last letter of the title or text.

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

Example:

[[African American Resources|African American Research]]

The text above will appear as: African American Research even thought the actual title of the article is "African American Resources."

How to create an external link using Wikitext

To create external links using the "Rich Editor" see Create an external link.

  1. Type a single right-facing square bracket [
  2. Type or paste the url or website immediately after the single square bracket, without leaving a space between the bracket and the first letter or symbol of the url (website address). Remember, the url MUST begin with "http://" or "https://"
  3. If you want the url visible on the page, skip to step 5. If you want the url masked on the page, continue with step 4.
  4. After typing or pasting the exact url (website address) you are linking to, hit the spacebar once, and then type the text that you want to appear as the link on the page.
  5. Next type a single, left-facing square bracket ] without leaving a space between the bracket and the last letter or symbol of the url or text.

Example:

[http://www.familysearch.org FamilySearch]

The text above will appear as:FamilySearch even though the actual website url is "http://www.familysearch.org."

Other links

Help-content.png Questions?
Visit the Wiki Contributor Help Forum to receive help with contributing to the Wiki.


Linking to a category

To create a link to a category, use a leading colon before the category name. (Without this colon, it will add the current page to the category.) To change the link text, write the text inside the link tag after a pipe.

[[:Category:NAME]]

[[:Category:NAME|TEXT]]


For example, to link to "Category:Help", write "[[:Category:Help]]", which will result in [[:<span class=|Category:Help">:Category:Help]].

Redirect pages must also use the colon, otherwise it will be added to the category instead of redirecting.

Creating Links Using Templates

For those external links not listed below, see Create an external link.

Interwiki Links

  • Instructions for using the {{Wpd}} template for creating interwiki links to articles in the English-language Wikipedia.

Family History Library Catalog (FHLC) Links

  • Instructions for using the {{FHL}} template for creating links to the Family History Library Catalog.

Record Search Links

WorldCat/OCLC Links

  • Instructions for using the {{WorldCat}} template for creating links to the English-language WorldCat/OCLC catalog.

Wikipedia Links

  • Instructions for using the {{Wikipedia}} template for creating interwiki links to articles in the English-language Wikipedia.