Help:Link: Difference between revisions

From Pikmin Fanon
m (→‎External Links: that typo though...)
(I added examples, but not done.)
Line 1: Line 1:
{{Help}}
{{Help}}
There are three types of links that are created in different ways.
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==
Line 6: Line 6:


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. <code><nowiki>[[Main Page|Go to the main page]]</nowiki></code>
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. <code><nowiki>[[Main Page|Go to the main page]]</nowiki></code>
{| class="wikitable"
!Example!!Result
|-
|<code><nowiki>[[Main Page|Go to the main page]]</nowiki></code>
|[[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.
{| class="wikitable"
!Example!!Result
|-
|<code><nowiki>[[PikminFanon:Community portal#How to help out]]</nowiki></code>
|[[PikminFanon:Community portal#How to help out]]
|-
|}


==Interwiki Links==
==Interwiki Links==
Line 17: Line 35:
!Type
!Type
!To Get
!To Get
|-
|<code><nowiki>[[Main Page]]</nowiki></code>||[[Main Page]]
|-
|<code><nowiki>[[Main Page|The main page]]</nowiki></code>||[[Main Page|The main page]]
|-
|<code><nowiki>[[Help:Contents]]</nowiki></code>||[[Help:Contents]]
|-
|-
|<code><nowiki>[[wikipedia:Main Page]]</nowiki></code>||[[wikipedia:Main Page]]
|<code><nowiki>[[wikipedia:Main Page]]</nowiki></code>||[[wikipedia:Main Page]]

Revision as of 23:19, 21 February 2022

Pikilogo.png
This is one of Pikmin Fanon's help pages and is meant to aid users by improving their ability to positively contribute to the wiki. Expanding pages such as this with additional information is always welcome.
Pikilogo.png

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 Pikmin Fanon. 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
[[PikminFanon:Community portal#How to help out]] PikminFanon:Community portal#How to help out

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.

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.

Examples

Type To Get
[[wikipedia:Main Page]] wikipedia:Main Page
[[wikipedia:Main Page|Main Page]] Main Page
http://www.google.com http://www.google.com
[http://www.google.com google] google

Next Steps