Pin Eight:Manual of Style/Links
There are three ways to make a hyperlink to another document from a page on Pin Eight wiki.
Internal links
Links within this wiki work the same way as on any other MediaWiki site; see Help:Links on MediaWiki.org. These ordinarily appear in a darker shade of blue than other links, and links to a nonexistent page appear red.
The detailed syntax is the same as that of interwiki links (below), without the prefix: part.
For example: [[Pin Eight:Scope]] produces Pin Eight:Scope, and [[Sex#Sexes|specialization]] produces specialization.
Exceptions are the File: and Category: namespaces, which need a leading colon to suppress the transclusion behavior:
[[:File:Smb1 title.png|this file description page]] links to this file description page instead of transcluding the image, and [[:Category:Data compression|a list of articles]] points to a list of articles instead of adding the article to the list.
Interwiki links
MediaWiki software supports interwiki links as a shortcut to make links to documents on select other wikis and even occasionally non-wiki sites that use standard identifiers for documents. These have up to six parts, taking this form:
[[prefix:namespace:pagetitle (disambig)#fragment|displayedtext]]
- prefix
- The site's interwiki prefix, as listed at Special:Interwiki
- namespace
- For MediaWiki sites, the namespace. Optional; omit this (and the following colon) for pages in the main namespace or for non-MediaWiki sites. PmWiki namespaces as seen on TV Tropes are not supported.
- pagetitle
- The title or other identifier of the page. Spaces will be converted to underscores (
_), and code points above ASCII will be percent-encoded in UTF-8. - disambig
- MediaWiki sites may have multiple pages with the same title except for a disambiguator in parentheses at the end of the page title. Leave this out for non-MediaWiki sites
- fragment
- A URL fragment identifier, such as the title of an article section. Spaces are likewise converted to underscores, and some kinds of punctuation are converted using a variant of percent encoding.
- displayedtext
- The text following the pipe character (the vertical bar
|made with shift-backslash) is displayed in the link. Highly recommended if your site's pagetitles are not human readable, such as YouTube video IDs or TV Tropes ptitles. A blank displayed text, called a "pipe trick", will automatically be replaced with the pagetitle when you save an edit, except in footnotes. If there is no pipe at all, the entire link will be displayed.
Here is a selection of prefixes for MediaWiki sites, which support namespace and disambig components with pagetitles:
| prefix | site |
|---|---|
| animutation | FanimutationWiki, covering surreal Flash music videos |
| commons | Wikimedia Commons, a collection of free images (but image transclusion is not supported) |
| harddrop | Hard Drop, covering Tetris |
| nesdev | Nesdev Wiki, covering Nintendo Entertainment System hardware |
| niwamario | MarioWiki, covering Super Mario Bros. and related video games |
| niwassb | SmashWiki, covering Super Smash Bros. |
| nookipedia | Nookipedia, covering Animal Crossing |
| wikia:sitename | Wikis hosted on Wikia, a wiki farm |
| wikipedia | English Wikipedia, the free encyclopedia |
| wikisource | English Wikisource, a collection of free primary source texts |
| wikt | English Wiktionary, a free, multilingual dictionary |
| uncyc | Uncyclopedia, the content-free encyclopedia |
Some non-MediaWiki sites are available as well:
| prefix | Web site | What goes in linktext |
|---|---|---|
| trope | TV Tropes | The title of the page, with or without the namespace. trope:TropeyTheWonderDog, trope:Tropey the Wonder-Dog, and trope:Laconic/Tropey the Wonder-Dog work. |
External links
For sites with unpredictable URL schemes, the wiki supports the MediaWiki external link syntax: [http://example.com/some/url displayedtext].
If your user account is new, or if you are editing a talk page as your IP address, you may be required to solve a visual or audio test to make sure you aren't an automated process adding off-topic external links.