pnWikka : AddingLinks
HomePage :: Categories :: Page Index :: RecentChanges :: Search :: Help :: Login/Register
Wikka Documentation
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:
~
~~gives: HomePage
~~
~forced link (the first part, before the whitespace, is the actual page name in the database; everything after that becomes the link description):
~
~~gives: index
~~
~image link (the link parameter points to the linked-to pagename):
~
~~gives:
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:
~
~~gives: http://www.w3.org/XML/∞
~~
~forced link (the first part, before the whitespace, is a fully-qualified URL; everything after that becomes the link description):
~
~~gives: Extensible Markup Language∞
~~
~interwiki link:
~
~~gives: http://www.google.com/search?q=WikkaWiki∞
~~
~image link (the link parameter should be a fully-qualified URL):
~
~~gives:
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.
CategoryDocumentation
Adding links
1. Adding links to internal pages
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 whitespace, 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="modules/pnWikka/pnimages/email.gif" alt="email"}}~~gives:

2. Adding links to external URLs
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/
~~gives: http://www.w3.org/XML/∞
~~
~forced link (the first part, before the whitespace, is a fully-qualified URL; everything after that becomes the link description):
~
[[http://www.w3.org/XML/ Extensible Markup Language]]
~~gives: Extensible Markup Language∞
~~
~interwiki link:
~
[[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="modules/pnWikka/pnimages/xml.png" alt="RSS feed"}}~~gives:

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.
CategoryDocumentation

