Help:Link
| Driver's Manual | ||||||||||||
| Page | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| New • Search • Info • Move • Delete | ||||||||||||
| Editing | ||||||||||||
| ||||||||||||
| Account | ||||||||||||
| Account • Preferences | ||||||||||||
| Directory... | ||||||||||||
Links form bridges between each page, so our readers can easily identify and navigate related subjects. These include our own pages as well as external ones (sometimes called hyperlinks).
Adding links
Internal links
Every page should have at least one internal link, that is, to another local wiki page. Blue links mark a successful connection; Red means the target page does not exist, and it should either be created, or corrected if simply malformed.
| Goal | Markup Example(s) | Sample output | |
|---|---|---|---|
| Internal | Link to any page, from any namespace, hosted here on https://dpcarswiki.com. The full page name must be specified, meaning including the Prefix: if there is one. This often is equivalent to the page title display, but the absolute most reliable method if unsure is to copy what the URL says, starting after the first / and until you see a ? or &.*
While underscores |
[[Full page name]] |
Lightning McQueen Template:Stub Special:Version |
[[Page name|Text to display]]
|
Flo's Café | ||
Note however, these two namespaces must include a : at the beginning, or else they will perform their respective markup functions – see here and here respectively.
|
[[:File:Page name]][[:Category:Page name]]
|
File:Doc Hudson personality pose.png Category:Help | |
Change text color using <span>: Often needed due of the abundance of core style rules, some of which use !important
|
[[Page name)|<span style="color: green">Link text</span>]]
|
Costanzo Della Corsa | |
| Interwiki | MediaWiki software comes with shortcuts for its own first-party projects. These are external sites, meaning they're not directly affiliated) with our specific project, but they can still be written like "internal" format using a particular prefix key e.g. mw: (mediawiki.org) or wikipedia: (Wikipedia)Full list available here |
[[wikipedia:Page name]]
|
wikipedia:Owen Wilson |
* If for some reason the short URL fails and the raw https://dpcarswiki.com/index.php?title=Full_page_name format still appears, copy after title= and (if applicable) until the first or next & symbol.
Links to our own pages should always be done in this style, as opposed to using the complete page URL. The one exception is when specific link parameters parameter=value need to be specified, usually for a special page. There is JavaScript in place to rewrite these to display normally and not like external links.
Anchors
You can anchor (aka fragment) a specific section, or other id attribute, using [[Full page name#Section name]] or [[#Text of anchor tag]] within the same page.
External links
For security reasons, the <a> HTML tag is treated as plain text <a href"/Page">Text<a> if used.
| Effect | Markup | Sample output |
|---|---|---|
| Link to an external website | [http://www.example.com/][http://www.example.com/ Text to display]
|
[1] Disneyland! |
| Create an external link without the arrow symbol |
{{plainlinks|1=[http://www.example.com link title]}}
|
Take Five a Day |

