Wikka Documentation : AddingLinks

HomePage :: Index :: RecentChanges :: Search :: Login/Register


Links to internal pages can be added by using WikiNames, [[double-bracket]] forced links or 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: index

image link (the link parameter points to the linked-to pagename):
{{image link="HomePage" url="images/email.gif" alt="email"}}
gives: email



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

Examples of links to an external page

automatic link:
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]]
interwiki link: (See InterwikiListActionInfo for how interwikis work)
[[Google: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: RSS feed

Depending on the value of the external_link_tail parameter in the general configuration options, external links can be differentiated by internal links by a specific tail (_)appended to the link. Further differences between internal and external links are controlled by the Wikka CSS stylesheets.


CategoryEN
flat flat threaded
Comments [Hide comments]
Comment by anonymous
2008-07-22 11:40:58
How do I create a named anchor (i.e. in HTML: <a name="foo">) and then link to that anchor?

E.g. in some wiki engines I can make the anchor thus:

[[#foo]]

and then link to it:

[[MyPage#foo]]

How can I accomplish this task in Wikka?
Comment by anonymous
2009-01-31 12:22:55
I want to change the double bracketed link behavior so that the link--[[This is a Link]] would became a wiki link This_is_a_Link. Can you help? joe.g.young@gmail.com
Creative Common Attribution-ShareAlike License
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0174 seconds