mNo edit summary
(moved How To Make Links to Help:How To Make Links: Moving to the Help namespace)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
To create links to another page one simply has to add the following code to the page:
#REDIRECT [[Help:How To Make Links]]
 
----
<code><nowiki>
[[Page Name]]
</nowiki></code>
 
----
 
Where the Page Name is whatever the specific search term you're looking to define.
 
Another useful process that is slightly more advanced is creating links with a different name than the actual path. (i.e: you want to link to the "How to make links" page but you dont want the text itself to show up as How_to_make_links).
 
To accomplish the above, and link to this page without using the actual path as the text for the link itself we would write the following code:
 
----
<code><nowiki>[[Page Name | Alternate link text]]</nowiki></code>
----
 
The above code would still link to the page but would now appears as "Alternate link text" with a link to this page instead of the rather unsightly actual path.
 
Using this method you can create links to various pages within the wiki and still make it look clean and less like actual code, this helps keep the wiki pretty and less confusing and cumbersome to casual users.
 
Wiki also handles pluralized links intelligently.  For instance, a link called
 
<code><nowiki>[[Monkey]]s</nowiki></code>
 
displays as the link ([[Monkey]]s) even though the page name is still just Monkey.
 
[[Category:Help]]

Latest revision as of 00:41, 9 April 2014