Wiki source for AddingLinks


Show raw source

===== Adding links =====

==1. Adding links to internal pages==

Links to internal pages can be added by using [[WikiName | WikiNames]], ##""[[double-bracket]]""## | forced links or [[AddingImages image actions]]:

''Examples of links to an internal page''

~**automatic link:**
~##""HomePage""##
~~//gives:// HomePage
~~
~**forced link** (the first part, before the | symbol, is the actual page name in the database; everything after that becomes the link description):
~##""[[HomePage|index]]""## |
~~//gives:// [[HomePage index]]
~~
~**image link** (the link parameter points to the linked-to pagename):
~##""{{image link="HomePage" url="images/email.gif" alt="email"}}""##
~~//gives:// {{image link="HomePage" url="images/email.gif" alt="email"}}


==2. Adding links to external ""URLs""==

Links to external pages can be added by using (fully-qualified) literal URLs, ""[[double-bracket]]"" | forced links or [[AddingImages image actions]]:

''Examples of links to an external page''

~**automatic link:**
~##""http://www.w3.org/XML/""##
~~//gives:// http://www.w3.org/XML/
~~
~**forced link** (the first part, before the | symbol, is a fully-qualified URL; everything after that becomes the link description):
~##""[[http://www.w3.org/XML/|Extensible | Markup Language]]""##
~~//gives:// [[http://www.w3.org/XML/ | Extensible Markup Language]]
~~
~**[[InterWiki | interwiki]] link:** (See InterwikiListActionInfo for how interwikis work)
~##""[[Google:WikkaWiki]]""## |
~~//gives:// http://www.google.com/search?q=WikkaWiki
~~
~**image link** (the link parameter should be a fully-qualified URL):
~##""{{image link="http://www.w3.org/XML/" url="images/xml.png" alt="RSS feed"}}""##
~~//gives:// {{image link="http://www.w3.org/XML/" url="images/xml.png" alt="RSS feed"}}

Depending on the value of the ##external_link_tail## parameter in the general [[ConfigurationOptions configuration options]], [[http://wikkawiki.org | external links]] can be differentiated by [[HomePage | internal links]] by a specific tail ([[http://wikkawiki.org | _]])appended to the link. Further differences between internal and external links are controlled by the [[WikkaSkins | Wikka CSS stylesheets]].

----
CategoryEN
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki