WikiIndex:Wikilink: Difference between revisions

copy edit, add a WikiLink and minor formatting suggested edit for you all to ponder
(→‎External links (linking to a page on another website): URL gnoming and add a WikiLink and simplify bold line)
(copy edit, add a WikiLink and minor formatting suggested edit for you all to ponder)
Line 1: Line 1:
{{TOCright}}
{{TOCright}}
One of the fundamentals of the internet or 'web' is being able to link to other pages or sites on the web.  This is also true for [[wiki]]s.  This '''WikiIndex:Wiki Links''' page describes how to create said links.
One of the fundamentals of the internet or 'web' is being able to link to other pages or sites on the web.  This is especially true for [[wiki]]s.  This '''WikiIndex:Wiki Links''' page describes how to create these types of links.


===Internal links (linking to a page <u>within</u> this wiki)===
===Internal links (linking to a page <u>within</u> this wiki)===
While editing a [[wiki]] page, put double square brackets around the text you wish to become a link.  Example:  
While editing a [[wiki]] page, put double square brackets around the text you wish to become a link.  Example:  
:'''<tt><nowiki>[[Brand New Page]]</nowiki></tt>'''
; <tt><nowiki>[[Brand New Page]]</nowiki></tt>
will create a new link that will function like this:
will create a new link that will function like this:
:[[Brand New Page]]
: [[Brand New Page]]


If you want to display a different phrase than the page name, you can use a pipe (<tt>|</tt> – next to the left shift key on your keyboard).  The text before the pipe (|) is the actual page name.  The text after the pipe is the displayed label for that particular link.  For example:
If you want to display a different phrase than the page name, you can use a pipe (<tt>|</tt> – next to the left shift key on your keyboard).  The text before the pipe (|) is the actual page name.  The text after the pipe is the displayed label for that particular link.  For example:
Line 37: Line 37:


===Redirects===
===Redirects===
Sometimes there may be two or more names, or similar names for the same article.  For example, ISOC and Internet Society.  One of them should [[Special:ListRedirects|'redirect']] to the other.  To create a redirect, click on <code>#REDIRECT</code> at the foot of the page or type <tt>#redirect</tt> – followed by a link to the page to be redirected to in a blank page.  Redirects are automatically created when pages are moved using the "move" tab at the top of the screen for existing pages.
Sometimes there may be two or more names, or similar names for the same article.  For example, ISOC and Internet Society.  One of them should [[Special:ListRedirects|'redirect']] to the other.  To create a [[redirect]], click on <code>#REDIRECT</code> at the foot of the page or type <tt>#redirect</tt> – followed by a link to the page to be redirected to in a blank page.  Redirects are automatically created when pages are moved using the "move" tab at the top of the screen for existing pages.


[[Category:WikiIndex]]
[[Category:WikiIndex]]
[[Category:Help]]
[[Category:Help]]
[[Category:FAQ]]
[[Category:FAQ]]
Bureaucrats, checkuser, interwiki, staff, Administrators
9,160

edits