Help:Link: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Reverted edits by Bob-bom66 (Talk) to last revision by Porplemontage)
m (Text replacement - "\[\[[Cc]ategory:([^\]\n]+)\]\]↵{{[Ss]hortcut\|([^}\n]+)}}" to "{{Shortcut|$2}} Category:$1")
 
(27 intermediate revisions by 12 users not shown)
Line 1: Line 1:
'''Here's how to add links:'''
'''Here's how to add links:'''


== Internal ==
==Internal==
To add a link to an internal page (in the wiki), use these link styles:
To add a link to an internal page (in the wiki), use these link styles:
:For an '''article''' page:<pre>[[This one normal page]]</pre>
:For an '''article''' page:<pre>[[This one normal page]]</pre>
:For a page in another '''[[Help:Namespaces|namespace]]''':<pre>[[Namespace:Page name]]</pre>
:For a page in another '''[[Help:Namespace|namespace]]''':<pre>[[Namespace:Page name]]</pre>
:However, links to '''[[Help:Image|images]]''' and '''categories''' (without using the image on the page, or adding the page to the category) must be linked like this:<pre>[[:Image:Image name]]</pre> or <pre>[[:Category:Category name]]</pre>
:However, links to '''[[Help:Image|images]]''' and '''categories''' (without using the image on the page, or adding the page to the category) must be linked like this:<pre>[[:File:Image name]]</pre> or <pre>[[:Category:Category name]]</pre>


== External ==
==Interwiki==
To link to a common external page, like Wikipedia, use a namespace-style link with one of the [[Help:Namespaces#Interwiki Links|special prefixes]].
To link to a common external page, like Wikipedia, use a namespace-style link with one of the [[Special:Interwiki|interwiki prefixes]]:<pre>[[wikipedia:Gamer]]</pre>
Interwiki links are also used to link to the [[mb:|forum]] with the '''mb''' prefix:
<pre>[[mb:|Mario Boards]]
[[mb:forums/57|Forum link]]
[[mb:threads/39945|Thread link]]
[[mb:posts/1038099|Post link]]
[[mb:profile-posts/295|Profile post link]]
[[mb:members/3832|Member link]]</pre>
 
==External==
To link externally (outside the wiki), use one bracket pair instead of two, as well as an absolute path:<pre>[http://www.website.com/]</pre>
To link externally (outside the wiki), use one bracket pair instead of two, as well as an absolute path:<pre>[http://www.website.com/]</pre>
To link to someone's email, use the ''mailto:'' prefix:<pre>[mailto:joe_person@email.com]</pre>
To link to someone's email, use the ''mailto:'' prefix:<pre>[mailto:joe_person@email.com]</pre>
To create an external link without the arrow symbol [[File:External_link.png]], use {{tem|plain link}} like this:
<pre>{{plain link|1=[http://www.example.com link title]}}</pre>


== Appearances ==
==Appearances==
To change the appearance of an internal or familiar link, use the vertical line symbol:<pre>[[This page|This neat page]]</pre>
To change the appearance of an internal or interwiki link, use the vertical bar symbol (or "pipe"):<pre>[[This page|This neat page]]</pre>
To change the appearance of an external link or an email link, insert a space after the link:<pre>[http://www.website.com/ A neat site]</pre>
To change the appearance of an external link or an email link, insert a space after the link:<pre>[http://www.website.com/ A neat site]</pre>
In an link with a namespace (or an interwiki link), the prefix is removable with the pipe ('''|''') symbol:<pre>[[Wikipedia:Main Page|]]</pre>
In a link with a namespace (or an interwiki link), the prefix is removable with the pipe ('''|''') symbol:<pre>[[wikipedia:Main Page|]]</pre>
In a link with trailing parentheses ('''()'''), the parentheses, as well as the words inside them, are removable with the pipe ('''|''') symbol:<pre>[[Yoshi (game)|]]</pre>
In a link with trailing parentheses ('''()'''), the parentheses, as well as the words inside them, are removable with the pipe ('''|''') symbol:<pre>[[Yoshi (game)|]]</pre>
In a page with trailing parentheses ('''()'''), and if a page that '''''also''''' has trailing parentheses is to be linked to, one may use the following trick:
<pre>[[|Mario Party]]</pre>
'''Note:''' The page linked to '''''must''''' contain the '''same word''' as the page that got the link placed on has. For example, the above link would link to the "Mario Party (series)" page '''if''' and '''only if''' the page the link was put on '''also''' contained the word "series" in '''trailing parentheses'''.


== Link colors ==
==Link colors==
:If you see a [[Main Page|deep blue]] link, it means it's a link within this wiki.
:If you see a [[Main Page|deep blue]] link, it means it's a link within this wiki.
:If you see a [[Wikipedia:Main Page|light blue]] link, it means it's an interwiki link.
:If you see a [[wikipedia:Main Page|light blue]] link, it means it's an interwiki link.
:If you see a [[Not a real page|red]] link, it means it's not a real wiki page, or it's not a correctly typed link.
:If you see a [[This is not a real page|red]] link, it means it's not a real wiki page, or it's not a correctly typed link.


== Link symbols ==
==Link symbols==
Figuring out what the symbols next to some links mean. If you are using [[Wikipedia:Internet Explorer|Internet Explorer]] or [[Wikipedia:Opera (web browser)|Opera]], you may not be able to see the following symbols. Go to [[Help:Icon]] to see them.
Figuring out what the symbols next to some links mean. If you are using [[wikipedia:Internet Explorer|Internet Explorer]] or [[wikipedia:Opera (web browser)|Opera]], you may not be able to see the following symbols.
:If you see a [http://www.mariowiki.com/index.php light blue] link with an arrow next to it, it means it's an external link.
:If you see a [http://www.mariowiki.com/index.php light blue] link with an arrow next to it, it means it's an external link.
:If you see a [mailto:joe_person@email.com light blue] link with an envelope next to it, it means it's a link to someone's email address.
:If you see a [mailto:joe_person@email.com light blue] link with an envelope next to it, it means it's a link to someone's email address.
:If you see a [irc://irc.freenode.net/freenode light blue] link with a chat sign next to it, it means it's a link to an irc chat.
:If you see a [irc://irc.freenode.net/freenode light blue] link with a chat sign next to it, it means it's a link to an irc chat.
:If you see a [https://www.paypal.com/ light blue] link with a lock sign next to it, it means it's a link to a SHTML ''(<nowiki>https://...</nowiki>)'' website.
:If you see a [https://www.paypal.com/ light blue] link with a lock sign next to it, it means it's a link to a secure page.


[[Category:Help|{{PAGENAME}}]]
{{MarioWiki}}
{{Shortcut|MW:LINK}}
{{Shortcut|SMW:LINK}}
[[Category:Help]]

Latest revision as of 12:30, December 6, 2023

Here's how to add links:

Internal

To add a link to an internal page (in the wiki), use these link styles:

For an article page:
[[This one normal page]]
For a page in another namespace:
[[Namespace:Page name]]
However, links to images and categories (without using the image on the page, or adding the page to the category) must be linked like this:
[[:File:Image name]]
or
[[:Category:Category name]]

Interwiki

To link to a common external page, like Wikipedia, use a namespace-style link with one of the interwiki prefixes:

[[wikipedia:Gamer]]

Interwiki links are also used to link to the forum with the mb prefix:

[[mb:|Mario Boards]]
[[mb:forums/57|Forum link]]
[[mb:threads/39945|Thread link]]
[[mb:posts/1038099|Post link]]
[[mb:profile-posts/295|Profile post link]]
[[mb:members/3832|Member link]]

External

To link externally (outside the wiki), use one bracket pair instead of two, as well as an absolute path:

[http://www.website.com/]

To link to someone's email, use the mailto: prefix:

[mailto:joe_person@email.com]

To create an external link without the arrow symbol External link.png, use {{plain link}} like this:

{{plain link|1=[http://www.example.com link title]}}

Appearances

To change the appearance of an internal or interwiki link, use the vertical bar symbol (or "pipe"):

[[This page|This neat page]]

To change the appearance of an external link or an email link, insert a space after the link:

[http://www.website.com/ A neat site]

In a link with a namespace (or an interwiki link), the prefix is removable with the pipe (|) symbol:

[[wikipedia:Main Page|]]

In a link with trailing parentheses (()), the parentheses, as well as the words inside them, are removable with the pipe (|) symbol:

[[Yoshi (game)|]]

In a page with trailing parentheses (()), and if a page that also has trailing parentheses is to be linked to, one may use the following trick:

[[|Mario Party]]

Note: The page linked to must contain the same word as the page that got the link placed on has. For example, the above link would link to the "Mario Party (series)" page if and only if the page the link was put on also contained the word "series" in trailing parentheses.

Link colors

If you see a deep blue link, it means it's a link within this wiki.
If you see a light blue link, it means it's an interwiki link.
If you see a red link, it means it's not a real wiki page, or it's not a correctly typed link.

Link symbols

Figuring out what the symbols next to some links mean. If you are using Internet Explorer or Opera, you may not be able to see the following symbols.

If you see a light blue link with an arrow next to it, it means it's an external link.
If you see a light blue link with an envelope next to it, it means it's a link to someone's email address.
If you see a light blue link with a chat sign next to it, it means it's a link to an irc chat.
If you see a light blue link with a lock sign next to it, it means it's a link to a secure page.