Editing
Help:Link
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Internal links == Internal links (or "wikilinks") lead to other pages in this wiki. Most of the links are going to be of this variety. They are formed by enclosing the link text in double square brackets: * <nowiki>[[Help:Editing]]</nowiki> makes a link to the page titled [[Help:Editing]]. We could use lowercase "h", because the first letter of a link is case-insensitive (as are all letters in a namespace -- e.g. [[Story:Love Can Bloom]] and [[sToRy:Love Can Bloom]] both go to the same place -- see [[Help:Namespaces]] for a list of namespaces), but the others are case-sensitive. The "pipe" character ("|") and text immediately abutting the brackets can be used to modify the appearance of a link: * Any text after the pipe gets displayed, while the link goes to the article title that comes before the pipe, e.g. <nowiki>[[Baneblade|BEEEEEIIIINBLAAAAADE]]</nowiki> looks like [[Baneblade|BEEEEEIIIINBLAAAAADE]] but links to the "Baneblade" article. ''For more information on using piped links, see [[#Piped links|Piped links]].'' * <nowiki>[[Troll]]s</nowiki> becomes [[Troll]]s (this is one of the reasons that article titles should generally be singular -- it's easy to put a link to that page from a plural word), BUT: ** <nowiki>[[Troll]]'s</nowiki> becomes [[Troll]]'s -- in fact, most (if not all) punctuation (including repeated single-quotes used for italics and/or bolding) and capital letters "interrupts" the link, so that whatever comes after does not become part of the link. If you want the "'s" or multiple words to be part of the link, you will have to use the pipe, e.g. <nowiki>[[Troll|Troll's]]</nowiki> or <nowiki>[[Kaldor Draigo|GW's Mary Sue]]</nowiki>. ** <nowiki>Super[[troll]]</nowiki> becomes Super[[troll]] -- the spacing (or lack thereof) is preserved, but the first part of the word does not become a link (not sure why you would do this, but if you want to, you can). * These all "stack", so <nowiki>Super[[Baneblade|BEEEEEIIIINBLAAAAADE]]master</nowiki> looks like Super[[Baneblade|BEEEEEIIIINBLAAAAADE]]master. It is better to use internal links wherever possible; not only does adding external links require you to solve a CAPTCHA, but the wiki software can't keep track of their destinations, and so will list pages as being under-connected when they really aren't (which can in turn lead to problems with maintenance, if we don't realize that a page has anything linking to it because that page is only linked to by external links). === Subpages === Pages in namespaces which have subpages enabled (Campaign, Quest, Setting, Story, /TG/heim, User, and all of the Talk namespaces -- see [[Help:Namespace]] for more details) can have subpages (e.g. [[Setting:Tiji Sector]] has [[Setting:Tiji Sector/Planets]]), with successive layers defined by using the slash character ("/"). A page can link to its own subpages and parent page without needing the cumbersome prefixes: * Setting:Tiji Sector could link to Setting:Tiji Sector/Planets by linking to "/Planets" * Setting:Tiji Sector/Planets could link to Setting:Tiji Sector by linking to "../" Subpages and parent pages (and grandparent pages, and "uncle" and "cousin" pages, and so on) can be linked to each other very easily this way. Be careful if you're linking to a page whose title starts with a slash (e.g. "/tg/" and other 4chan boards) from a page in a subpage-enabled namespace -- if we were to place <nowiki>[[/tg/]]</nowiki> on Setting:Tiji Sector, it would attempt to link to the nonexistent "Setting:Tiji Sector/tg". To force a link to go to the page with the exact title you type ''(and this also goes for linking to categories or transcluding non-template pages -- see [[Help:Template]] and [[Help:Category]] for more information)'', put a colon at the beginning (i.e. <nowiki>[[:/tg/]]</nowiki>). If you want a page to show a list of all of its subpages (e.g. a Story: with its chapters stored as subpages), you can insert the <nowiki> <subpages /></nowiki> or <nowiki><splist /></nowiki> tags, or the <nowiki>{{#subpages: }}</nowiki> or <nowiki>{{#splist: }}</nowiki> parser functions on the page to produce such a list. See the [https://www.mediawiki.org/wiki/Extension:SubPageList SubPageList extension manual] for more information. === Section links === If you want to link to a section of a page, you can link to it with <nowiki>[[#Section Name]]</nowiki> from within the page, or by <nowiki>[[Page Name#Section Name]]</nowiki> from another page. This works over redirects as well -- e.g. a link to [[Space Marine#History]] will lead to the "History" section even though "Space Marine" redirects to "Space Marines". If you need to link to a part of a page that does not have a section header, or change the name of a section without breaking other pages' links leading to that section, you can use {{[[Template:Anchor|Anchor]]}} at the place on the target page you want to link to, and then treat it just like a section name as described here. === Piped links === Piped links contain a "pipe" character ("|") splitting them in half. This allows a link's target (i.e. the article to which the link leads) and label (i.e. the text in the article that contains the link) to be different, which allows a link to be used even if the exact target name doesn't fit in the context of an article without requiring a clumsy "See also:" construction. For example, in an article about vehicles used by the Imperial Guard, it is much more likely that the word "Malcador" refers to the [[Malcador Heavy Tank]] rather than the character [[Malcador the Sigillite]] (for whom the tank is named), but it's clumsy to spell out "Malcador Heavy Tank" every time we want to link to that page, so we can type <nowiki>[[Malcador Heavy Tank|Malcador]]</nowiki> to "fit" a link to the article about the tank while only using the short form of its name. If we leave the text to the right of the pipe blank, the wiki software performs some automatic abbreviation on the link target and makes that the link label. The rules for the so-called "pipe trick" are as follows: # If the link target contains a colon (and does not simply ''start with'' a colon), then the first colon inside the target and everything before it are removed. E.g. <nowiki>[[Foo:Bar|]]</nowiki> will look like "Bar". # If the link target ends with something contained in parentheses, the parentheses and the text they contain will be removed. This is useful if the link target has disambiguation information after it, e.g. <nowiki>[[Malcador (tank)|]]</nowiki> will be rendered as "Malcador" without having to type out the name a second time and risk making a typo. # If the link target has no parentheses but has a comma, the first comma and everything after it is removed. # The pipe trick is applied before [[Help:Template|templates]] and other substitutions are performed, so be careful if you're using it as part of a larger operation. In many circumstances, we can use [[Help:Redirect|redirects]] instead of piped links, but in some situations (especially ambiguous titles, as in the "Malcador" example) redirects are not appropriate. === Interwiki links === If you want to link to a Wikipedia page, you can do so using the internal link syntax if you put "wikipedia:" in front of the page name: * <nowiki>[[wikipedia:Help:Link]]</nowiki> will lead to [[Wikipedia:Help:Link|the Help:Link page on Wikipedia]]. You could do this with an external link instead (see below), but making new external links forces you to take a Captcha test, which is annoying.
Summary:
Please note that all contributions to 2d4chan may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
2d4chan:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Help page
Discussion
English
Views
Read
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information