v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Editing Help:Links

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.


The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
Links provide easy references to other pages within the wiki, or other websites, that can be clicked on. A link is defined by using single or double square brackets. Further explanation is below.
+
Links provide easy references to other pages within the wiki, or other websites, that can be clicked on. A link is defined by using single or double square brackets. Futher explaination is below.
  
 
==Internal links==
 
==Internal links==
Line 21: Line 21:
 
To achieve this:<br />
 
To achieve this:<br />
 
[http://www.google.com]<br />
 
[http://www.google.com]<br />
However, the result above doesn't look like anything meaningful, so it is a lot more common to use link text to replace the full URL, similar to internal links.
+
However, the result above doesnt look like anything meaningful, so it is a lot more common to use link text to replace the full URL, similar to internal links.
 
It looks like this:
 
It looks like this:
 
  <nowiki>[http://www.google.com Google]</nowiki>
 
  <nowiki>[http://www.google.com Google]</nowiki>
Noticed that there is no pipe, but instead of a pipe, a space? That's because URLs cant contain spaces, but page names on the wiki can. That's all technical, and the reason for it is beyond the scope of this page.
+
Noticed that there is no pipe, but instead of a pipe, a space? That's because URLs cant contain spaces, but page names on the wiki can. Thats all technical, and the reason for it is beyond the scope of this page.
 
Anyway, the syntax above will magically turn into this when saved:<br />
 
Anyway, the syntax above will magically turn into this when saved:<br />
 
[http://www.google.com Google]
 
[http://www.google.com Google]
  
 
==Redirects==
 
==Redirects==
Redirect links are actually internal links, but with a special purpose. A redirect link can be the only thing on a page, and if there is anything else on it, then the redirect link wont work(actually, it only doesn't if there is any content before the link, anything after it is simply text). A redirect link will be automatically followed when a user clicks a link to the page containing a redirect link.
+
Redirect links are actually internal links, but with a special purpose. A redirect link can be the only thing on a page, and if there is anything else on it, then the redirect link wont work(actually, it only doesnt if there is any content before the link, anything after it is simply text). A redirect link will be automatically followed when a user clicks a link to the page containing a redirect link.
 
A random example of a redirect is [[Butcher|this page]]. Notice how it instead '''redirects''' you to another page? You may not actually notice at first, but take a look at the title, and look a bit under it... see that link? Click on it. Then you will see the actual contents of the redirect page without being redirected to the target page.
 
A random example of a redirect is [[Butcher|this page]]. Notice how it instead '''redirects''' you to another page? You may not actually notice at first, but take a look at the title, and look a bit under it... see that link? Click on it. Then you will see the actual contents of the redirect page without being redirected to the target page.
 
A redirect link is created like this:<br />
 
A redirect link is created like this:<br />
 
  <nowiki>#REDIRECT [[Target page]]</nowiki>
 
  <nowiki>#REDIRECT [[Target page]]</nowiki>
There is no point in showing what the code turns into, because it wont work. You can try it out in a sandbox(usually a page in your own userspace) if you are that willing.
+
There is no point in showing what the code turns into, because it wont work. You can try it out in a sandbox(usally a page in your own userspace) if you are that willing.
  
 
You may be familiar with namespaces. If you are not, please visit the [[Help:Namespace|help page on namespaces]].
 
You may be familiar with namespaces. If you are not, please visit the [[Help:Namespace|help page on namespaces]].
Double redirects are redirects that lead to another redirect, which, counterintuitively, do not redirect to the page the second redirect goes to; which is often the "real page". There are rules for (double) redirects on this wiki, and can be found [[DF:R|here]]. Please make sure you follow those rules, as it will cause a lot of trouble, generally unnecessary, preventable trouble if you don't follow these rules.
+
Double redirects are redirects that lead to another redirect, which, counterintuitively, do not redirect to the page the second redirect goes to; which is often the "real page". There are rules for (double) redirects on this wiki, and can be found [[DF:R|here]]. Please make sure you follow those rules, as it will cause a lot of trouble, generally unnecessary, preventable trouble if you dont follow these rules.
  
 
==Redlinks==
 
==Redlinks==
A redlink is, surprise, a link that is red. A redlink is a link to a page that doesn't exist.
+
A redlink is, surprise, a link that is red. A redlink is a link to a page that doesnt exist.
 
A redlink can be easily created by making a link containing a reference to something completely random:
 
A redlink can be easily created by making a link containing a reference to something completely random:
 
  <nowiki>[[FJEIGHIH8ODHG8RHGIOH8E7684YH8EHGE|This link is absolute nonsense!]]</nowiki>
 
  <nowiki>[[FJEIGHIH8ODHG8RHGIOH8E7684YH8EHGE|This link is absolute nonsense!]]</nowiki>

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, 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. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

Template used on this page: