Help:Advanced Linking
From FamilySearch Wiki
| Line 1: | Line 1: | ||
{{Help article}} | {{Help article}} | ||
| + | |||
| + | __TOC__ | ||
<u>'''Quick Reference:'''</u> | <u>'''Quick Reference:'''</u> | ||
| Line 5: | Line 7: | ||
*<u>External Link:</u> On the page where you want the link to appear, type:''' <nowiki>[http://hyperlink visibletext]</nowiki> '''where "'''<nowiki>http://hyperlink</nowiki>'''" = the url of the website you want to link to (including <nowiki>http://</nowiki>), and "'''visibletext'''" the text users see on the page and will click on to be directed to the other website or url.<br> | *<u>External Link:</u> On the page where you want the link to appear, type:''' <nowiki>[http://hyperlink visibletext]</nowiki> '''where "'''<nowiki>http://hyperlink</nowiki>'''" = the url of the website you want to link to (including <nowiki>http://</nowiki>), and "'''visibletext'''" the text users see on the page and will click on to be directed to the other website or url.<br> | ||
| − | == How to create an internal link using Wikitext == | + | == Linking with Wikitext == |
| + | |||
| + | === How to create an internal link using Wikitext === | ||
| − | To create internal links | + | To create internal links using the "Rich Editor", see [[Help:Create an internal link|Create an internal link]]. |
#Type double square brackets '''[['''. | #Type double square brackets '''[['''. | ||
| Line 22: | Line 26: | ||
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." | ||
| − | == How to create an external link using Wikitext == | + | === 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]]. | To create external links using the "Rich Editor" see [[Help:Create an external link|Create an external link]]. | ||
| Line 39: | Line 43: | ||
== Other links == | == Other links == | ||
| − | |||
| − | |||
=== Linking to a category === | === 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 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.) |
<nowiki>[[</nowiki>:{{ns:category}}:''NAME'']] | <nowiki>[[</nowiki>:{{ns:category}}:''NAME'']] | ||
| − | |||
| − | |||
| − | |||
| − | + | To change the display text, write the text inside the link tag after a pipe. | |
| − | + | <nowiki>[[</nowiki>:{{ns:category}}:''NAME''|''DISPLAY TEXT'']] | |
| − | |||
| − | + | Redirected categories must also use the colon, otherwise they will be added to the category instead of redirecting. | |
| − | + | === Creating Links Using Templates === | |
| − | + | ||
| − | === | + | |
| − | + | Templates for creating common links are available, each with their own set of instructions:<br> | |
| − | + | External links: | |
| − | *Instructions | + | :*'''Family History Library Catalog''' (FHLC). Instructions: {{tl|FHL}} |
| + | :*'''Record Search'''. Instructions: {{tl|RecordSearch}} | ||
| + | :*'''WorldCat/OCLC''' (English Language). Instructions: {{tl|WorldCat}} | ||
| + | :*'''Wikipedia''' (English Language) - Inline link. Instructions: {{tl|Wpd}} | ||
| + | :*'''Wikipedia''' (English Language) - Wikipedia box. Instructions: {{tl|Wikipedia}} | ||
| + | :*'''Internet Archive''' (Wayback machine). Instructions: {{tl|Wayback}} | ||
| − | + | Inter-language Links: | |
| − | * | + | :*'''Research Wiki''' (Other [[FamilySearch Wiki:Non-English versions of the wiki|languages]]). Instructions: {{tl|H-langs}} |
| − | = | + | {{admin tip|tip=See {{mediawiki|Manual:Interwiki}} for the management of interwiki links of your wiki.}} |
| − | |||
{{Contributor help-navbox}} {{Editing help}} | {{Contributor help-navbox}} {{Editing help}} | ||
| − | [[Category:Help | + | [[Category:Help]] |
Revision as of 21:43, 1 September 2012
|
This help article will guide you as you edit in the Wiki. See Contributor Help for more help articles. Visit the Wiki Help Forum as you have questions.
|
Contents |
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.
Linking with Wikitext
How to create an internal link using Wikitext
To create internal links using the "Rich Editor", see Create an internal link.
- Type double square brackets [[.
- 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.
- 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.
- 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.
- Type a single right-facing square bracket [
- 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://"
- 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.
- 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.
- 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
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.)
[[:Category:NAME]]
To change the display text, write the text inside the link tag after a pipe.
[[:Category:NAME|DISPLAY TEXT]]
Redirected categories must also use the colon, otherwise they will be added to the category instead of redirecting.
Creating Links Using Templates
Templates for creating common links are available, each with their own set of instructions:
External links:
- 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}}
Inter-language Links:
| Tip for wiki admins: See Manual:Interwiki for the management of interwiki links of your wiki. |
| ||||||||||||||||||||
| ||||||||||||||||
New to the Research Wiki?
In the FamilySearch Research Wiki, you can learn how to do genealogical research or share your knowledge with others.
Learn More
