Help:Link: Difference between revisions

From Pikmin Fanon
mNo edit summary
Line 1: Line 1:
{{Help}}
{{Help}}
'''Links''' are clickable texts that direct you to another page. The following is a tutorial on how to create links.
A '''link''' is a clickable color-text that can direct you to another page on the wiki or elsewhere, links are found on [[Special:Allpages|every page]]. The following is a tutorial on how to create links.


==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: <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. <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|The main page]]</nowiki></code>


{| class="wikitable"
{| class="wikitable"
!Example!!Result
!Example!!Result
|-
|-
|<code><nowiki>[[Main Page|Go to the main page]]</nowiki></code>
|<code><nowiki>[[Main Page|The main page]]</nowiki></code>
|[[Main Page|Go to the main page]]
|[[Main Page|The main page]]
|-
|-
|}
|}


Note that you don't always need to capitalize the first letter of a link for it to work like with "light", which should be lowercase except when it's the first word in a sentence. As long as [[light]] works just as well as [[Light]], you don't have to use it like this: <code><nowiki>[[Light|light]]</nowiki></code>.
However, you don't always need to capitalize the first letter of a link for it to work like with "light", which should be lowercase except when it's the first word in a sentence. As long as [[light]] works just as well as [[Light]], then using it in this way won't be mandatory: <code><nowiki>[[Main Page|main page]]</nowiki></code>.


You can also put characters like "s" after links to change them without having to have the link display as something else.
You can also put characters like "s" after links to change them without having to have the link display as something else.
Line 29: Line 29:
|}
|}


To create an internal link that directs to a page's section, first, add two half-square brackets to both sides, second, type the page's name then add an octothorp after it. And after the octothorp, add the section's title so that it may look like this:
To create an internal link that directs to a page's section, you must type the page's name and then an octothorp after it. And after the octothorp, add the section's title so that it may look like this:


{| class="wikitable"
{| class="wikitable"
Line 37: Line 37:
|[[Pikmin: Wide World#Plot]]
|[[Pikmin: Wide World#Plot]]
|-
|-
|<code><nowiki>[[Pikmin: Wide World#Plot|PWW's Plot]]</nowiki></code>
|[[Pikmin: Wide World#Plot|PWW's Plot]]
|}
|}



Revision as of 06:39, 11 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

A link is a clickable color-text that can direct you to another page on the wiki or elsewhere, links are found on every 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|The main page]]

Example Result
[[Main Page|The main page]] The main page

However, you don't always need to capitalize the first letter of a link for it to work like with "light", which should be lowercase except when it's the first word in a sentence. As long as light works just as well as Light, then using it in this way won't be mandatory: [[Main Page|main page]].

You can also put characters like "s" after links to change them without having to have the link display as something else.

Example Result
[[Red Bulborb]]s Red Bulborbs
[[poison]]ous poisonous

To create an internal link that directs to a page's section, you must type the page's name and then an octothorp after it. And after the octothorp, add the section's title so that it may look like this:

Example Result
[[Pikmin: Wide World#Plot]] Pikmin: Wide World#Plot
[[Pikmin: Wide World#Plot|PWW's Plot]] PWW's 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