Help:Link: Difference between revisions
(Created page with "{{Help}} Links are texts that are covered in color, unlike regular texts. When you click on a link, it directs you to another page. This page is a tutorial on how to create links. ==Internal Links== Internal links lead to other pages on Fanon Wiki. For example, Main Page is a link to this wiki's main page, and is created with <code><nowiki>Main Page</nowiki></code>. Place two square brackets around a page name to turn it into a link. To create an internal link...") |
mNo edit summary |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{help}} | ||
A '''link''' is a text that is covered in color, unlike regular text. When you click on a link, it directs you to another page. The following is a tutorial on how to create links. | |||
==Internal | ==Internal links== | ||
Internal links lead to other pages on Fanon Wiki. For example, [[Main Page]] is a link to this wiki's main page, and is created with <code><nowiki>[[Main Page]]</nowiki></code>. Place two square brackets around a page name to turn it into a link. | Internal links lead to other pages on Fanon Wiki. For example, [[Main Page]] is a link to this wiki's main page, and is created with <code><nowiki>[[Main Page]]</nowiki></code>. Place two square brackets around a page name to turn it into a link. | ||
Line 20: | Line 20: | ||
!Example!!Result | !Example!!Result | ||
|- | |- | ||
|<code><nowiki>[[Fanon Wiki: | |<code><nowiki>[[Fanon Wiki:About#History]]</nowiki></code> | ||
|[[Fanon Wiki: | |[[Fanon Wiki:About#History]] | ||
|- | |- | ||
|} | |} | ||
==Interwiki | ==Interwiki links== | ||
Interwiki links lead to pages on other wikis, such as Pikipedia or Wikipedia. To link to one of these pages, place an interwiki prefix before the page title. A list of allowed interwiki prefixes can be seen at [[Special:Interwiki]]. | Interwiki links lead to pages on other wikis, such as Pikipedia or Wikipedia. To link to one of these pages, place an interwiki prefix before the page title. A list of allowed interwiki prefixes can be seen at [[Special:Interwiki]]. | ||
Like normal links, interwiki links can be created by placing 2 square brackets on both sides of the text. Interwiki prefixes are a word followed by a colon, similar to [[Help:Namespace|namespaces]]. | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 37: | Line 37: | ||
|- | |- | ||
|<code><nowiki>[[wikipedia:Main Page|Main Page]]</nowiki></code>||[[wikipedia:Main Page|Main Page]] | |<code><nowiki>[[wikipedia:Main Page|Main Page]]</nowiki></code>||[[wikipedia:Main Page|Main Page]] | ||
|- | |- | ||
|<code><nowiki>[[pikminfanon:Main Page]]</nowiki></code> | |<code><nowiki>[[pikminfanon:Main Page]]</nowiki></code> | ||
Line 50: | Line 43: | ||
|<code><nowiki>[[pikminfanon:Main Page|Main Page]]</nowiki></code> | |<code><nowiki>[[pikminfanon:Main Page|Main Page]]</nowiki></code> | ||
|[[pikminfanon:Main Page|Main Page]] | |[[pikminfanon:Main Page|Main Page]] | ||
|} | |} | ||
==External links== | |||
==External | |||
External links lead to anywhere else. They can either be created by placing a URL directly in a page's text, or by placing a URL followed by a title surrounded by single square brackets. | External links lead to anywhere else. They can either be created by placing a URL directly in a page's text, or by placing a URL followed by a title surrounded by single square brackets. | ||
Line 67: | Line 57: | ||
|} | |} | ||
{{navboxes| | |||
{{policies}} | |||
}} | |||
Latest revision as of 00:08, 28 January 2024
|
A link is a text that is covered in color, unlike regular text. When you click on a link, it directs you to another page. The following is a tutorial on how to create links.
Internal links
Internal links lead to other pages on Fanon Wiki. For example, Main Page is a link to this wiki's main page, and is created with [[Main Page]]
. Place two square brackets around a page name to turn it into a link.
To create an internal link with a description other than the page's name, include the link name after the page title after a pipe. eg. [[Main Page|Go to the main page]]
Example | Result |
---|---|
[[Main Page|Go to the main page]]
|
Go to the main page |
To create an internal link that directs to a page's section, first, include the page name, second, add a hashtag after the link name, and lastly, type in the section title of the page.
Example | Result |
---|---|
[[Fanon Wiki:About#History]]
|
Fanon Wiki:About#History |
Interwiki links
Interwiki links lead to pages on other wikis, such as Pikipedia or Wikipedia. To link to one of these pages, place an interwiki prefix before the page title. A list of allowed interwiki prefixes can be seen at Special:Interwiki.
Like normal links, interwiki links can be created by placing 2 square brackets on both sides of the text. Interwiki prefixes are a word followed by a colon, similar to namespaces.
Type | To Get |
---|---|
[[wikipedia:Main Page]] |
wikipedia:Main Page |
[[wikipedia:Main Page|Main Page]] |
Main Page |
[[pikminfanon:Main Page]]
|
pikminfanon:Main Page |
[[pikminfanon:Main Page|Main Page]]
|
Main Page |
External links
External links lead to anywhere else. They can either be created by placing a URL directly in a page's text, or by placing a URL followed by a title surrounded by single square brackets.
Type | To Get |
---|---|
http://www.google.com |
http://www.google.com |
[http://www.google.com google] |