Help:Link: Difference between revisions

From Pikmin Fanon
(Further improvements.)
(Further improvements #2)
Line 3: Line 3:


==Internal links==
==Internal links==
Internal links lead to other pages on Pikmin Fanon. For example, [[Main Page]] is a link to the wiki's main page, and is created with two half-square brackets: <br><code><nowiki>[[Main Page]]</nowiki></code>.  
Internal links lead to other pages on Pikmin Fanon. For example, [[Main Page]] is a link to the wiki's main page, and is created with two half-square brackets: <code><nowiki>[[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. <br><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"
{| class="wikitable"
Line 15: Line 15:
|}
|}


To create an internal link that directs to a page's section, first, include the page name, second, add a hashtag after the page's name, and lastly, type in the section title of the page.
To create an internal link that directs to a page's section, first, type the page's name then type an octothorp after the page's name. And lastly, add the section's title so that it may look like this:


{| class="wikitable"
{| class="wikitable"
Line 28: Line 28:
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]].


Interwikis links are also created with two half-square brackets: <br><code><nowiki>[[pikipedia:Main Page]]</nowiki></code>.  
Interwikis links are also created with two half-square brackets: <code><nowiki>[[<prefix name>:Main Page]]</nowiki></code>.  


{| class="wikitable"
{| class="wikitable"
Line 36: Line 36:
|<code><nowiki>[[pikipedia:Main Page]]</nowiki></code>||[[pikipedia:Main Page]]
|<code><nowiki>[[pikipedia:Main Page]]</nowiki></code>||[[pikipedia:Main Page]]
|-
|-
|<code><nowiki>[[wikipedia:Main Page|Main Page]]</nowiki></code>||[[wikipedia:Main Page|Main Page]]
|<code><nowiki>[[pikipedia:Main Page|Main page]]</nowiki></code>||[[pikipedia:Main page|Main page]]
|-
|}
|}



Revision as of 16:06, 3 June 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 clickable texts that direct you to another page. The following 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 the wiki's main page, and is created with two half-square brackets: [[Main Page]].

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, type the page's name then type an octothorp after the page's name. And lastly, add the section's title so that it may look like this:

Example Result
[[Pikmin: Wide World#Plot]] Pikmin: Wide World#Plot

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.

Interwikis links are also created with two half-square brackets: [[<prefix name>:Main Page]].

Example Result
[[pikipedia:Main Page]] pikipedia:Main Page
[[pikipedia:Main Page|Main page]] Main page

That being said, using link templates such as {{w}} and {{c}} for the respective destinations is preferred.

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 half-square brackets.

Example Result
http://www.google.com http://www.google.com
[http://www.google.com google] google

Next steps