Help:Link

From Dothack Info
Jump to navigation Jump to search

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:CyberConnect2]]

External

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

[https://www.website.com]

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

[mailto:person@email.com]

To create an external link without the arrow symbol File:External link.png, use Template:Plain link like this:

{{plain link|1=[https://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:

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

Pipe tricks

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

[[DW:About|]]

In a link with trailing parentheses (()), the identifier is removable with the pipe (|) symbol:

[[BlackRose (Another Birth)|]]

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:

[[|BlackRose]]

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 "BlackRose (Games)" page if and only if the page the link was put on also contained the word "Games" 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

If you see a light blue link with an arrow next to it, it means it's an external link.