Help:Link: Difference between revisions

From Pikmin Fanon
m (Username moved page Help:Links to Help:Link)
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Help}}
{{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.
'''Links''' are texts that are 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==
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 <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 Pikmin Fanon. For example, [[Main Page]] is a link to the wiki's main page, and is created with two square brackets: <nowiki>[[Main Page]]</nowiki>.


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. e.g. <nowiki>[[Main Page|The main page]]</nowiki>


{| class="wikitable"
{| class="wikitable"
!Example!!Result
!Example !! Result
|-
|<code><nowiki>[[Main Page|Go to the main page]]</nowiki></code>
|[[Main Page|Go to the main page]]
|-
|-
|<pre>[[Main Page|The main page]]</pre>
|[[Main Page|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.  
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: <nowiki>[[Light|light]]</nowiki>.
 
You can also put characters like "s" after links to change them without having to have the link display as something else.


{| class="wikitable"
{| class="wikitable"
!Example!!Result
!Example !! Result
|-
|-
|<code><nowiki>[[PikminFanon:Community portal#How to help out]]</nowiki></code>
|<pre>[[Red Bulborb]]s</pre>
|[[PikminFanon:Community portal#How to help out]]
|[[Red Bulborb]]s
|-
|-
|<pre>[[poison]]ous</pre>
|[[poison]]ous
|}
|}


==Interwiki Links==
To create an internal link that directs to a specific section of a page, an octothorp must be added after the page's name, followed by the page's section name:
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]].
 
Wikipedia links can be created by placing 2 square brackets on both sides of the text.


{| class="wikitable"
{| class="wikitable"
!Type
!Example !! Result
!To Get
|-
|<code><nowiki>[[wikipedia:Main Page]]</nowiki></code>||[[wikipedia:Main Page]]
|-
|<code><nowiki>[[wikipedia:Main Page|Main Page]]</nowiki></code>||[[wikipedia:Main Page|Main Page]]
|-
|-
|<pre>[[PikminFanon:About#History|About Pikmin Fanon]].</pre>
|[[PikminFanon:About#History|About Pikmin Fanon]].
|}
|}


Pikipedia links can be created by placing 2 curly brackets of both sides of the text.
==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 square brackets: <nowiki>[[<prefix name>:Main Page]]</nowiki>.  


{| class="wikitable"
{| class="wikitable"
!Type!!To Get
!Example !! Result
|-
|-
|<code><nowiki>{{c|Main Page}}</nowiki></code>
|<pre>[[pikipedia:Main Page]]</pre>
|{{c|Main Page}}
|[[pikipedia:Main Page]]
|-
|<code><nowiki>{{c|Main Page|The Main Page}}</nowiki></code>
|{{c|Main Page|The Main Page}}
|-
|-
|<pre>[[pikipedia:Main Page|Main page]]</pre>
|[[pikipedia:Main page|Main page]]
|}
|}


==External Links==
That being said, using link templates such as {{t|w}} and {{t|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 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.


{| class="wikitable"
{| class="wikitable"
!Type
!Example !! Result
!To Get
|-
|-
|<code><nowiki>http://www.google.com</nowiki></code>||http://www.google.com
|<pre>http://www.google.com</pre>
|http://www.google.com
|-
|-
|<code><nowiki>[http://www.google.com google]</nowiki></code>||[http://www.google.com google]
|<pre>[http://www.google.com Google]</pre>
|[http://www.google.com Google]
|}
|}
==Next Steps==
*How to [[Help:Create an article|create a new article]]
*How to [[Help:User page|use user and talk pages]]
*How to [[Help:Create an account|create an account]]
[[Category:Help|{{PAGENAME}}]]

Latest revision as of 01:10, 28 January 2024

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 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 Pikmin Fanon. For example, Main Page is a link to the wiki's main page, and is created with two 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. e.g. [[Main Page|The main page]]

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

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: [[Light|light]].

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 specific section of a page, an octothorp must be added after the page's name, followed by the page's section name:

Example Result
[[PikminFanon:About#History|About Pikmin Fanon]].
About Pikmin Fanon.

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

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