|
To... | Default Syntax | Optional Syntax1 | |
---|---|---|---|
Syntax | Requires... | ||
Link to a Wiki page | ((Wiki Page Name)) | WikiPageName | WikiWords2 |
Link to an external Wiki page | ((Ext Wiki Name: Ext Wiki Page Name)) | ExtWikiName: ExtWikiPageName | WikiWords2 |
Link to a Web page | [http://www.somesite.org] or [http://www.somesite.org|Some Site!] |
http://www.somesite.org | AutoLinks3 |
Notes:
When using the WikiWords option, Tiki will automatically detect Wiki page names and correctly format them as hyperlinks
The following are methods of creating links to Wiki pages
This table lists additional methods for creating links to wiki pages.
To... | Syntax | Result | Comment |
---|---|---|---|
Specify link text | ((PluginVersions | The Versions Plugin)) | The Versions Plugin | Use the vertical bar (| [pipe]) to separate the page name from the link text. |
Link to a heading or anchor on another page and specify link text | ((Using Wiki Pages | #The_Wiki_Menu | The Wiki Menu)) (but no spaces around pipes) |
The Wiki Menu | Tiki automatically creates anchors for headings on a Wiki page. For the heading or anchor, note the # character and underscores replacing spaces. |
[Wiki+Plugin#Plugin_Syntax | Plugin Syntax] | Plugin Syntax | ||
Link to a heading on the same page | [#Related_Pages|Related Pages] | Related Pages | Note the # character and underscores replacing spaces. |
Link to a page with a specific tab showing | [PluginImg?cookietab=3 #Parameters | Params Tab3] (but no line break before #) |
Params Tab3 | Works on pages where PluginTabs is used as well as pages with built-in tabs. Linking to a heading in this example also |
Use a custom color for the link text | ((Wiki-Syntax Text|~~#ff0000:Syntax for Text~~)) | Syntax for Text | By default, the color is defined by the Tiki theme (CSS). See Wiki-Syntax Text for more information. |
Help!
Starting from version 3.0, Tiki supports semantic qualifiers on Wiki Links. To add a qualifier to the wiki link, the following syntax must be used:
(qualifier-name(The Wiki Way))
For all other types of pages within a Tiki site, a shortened address can be used with square brackets. Here are some examples:
Type of Page | Syntax | Result |
---|---|---|
Article number 19 | [tiki-read_article.php?articleId=19] | tiki-read_article.php?articleId=19 |
[tiki-read_article.php?articleId=19|News from doc.tw.o!] | News from doc.tw.o! | |
Galleries | [tiki-galleries.php|Galleries] | Galleries |
FAQ number 8 | [tiki-view_faq.php?faqId=8|FAQ on Images] | FAQ on Images |
Shadowbox popup | [http://doc.tiki.org/tiki-print.php?page=Wiki-Syntax+Links|See this page|shadowbox;title=shadowbox example;] shadowbox feature must be activated |
See this page |
File gallery file | [tiki-download_file.php?fileId=284|Download PDF file] | Download PDF file |
Note: Use [[foo] to display [foo]
To create a link to an attachment to a wiki page, use PluginAttach or PluginFile. If you'd like for an image to act as a link, so that clicking on the image takes you to another page, see the link image tab under Parameters on the PluginImg page.
[display37|Click here to see the image in a popup|shadowbox]
Click here to see the image in a popup
If PluginTabs is used on a page, the following syntax can be used to display specific tab within that page without refreshing the page:
Here are the key parts of the syntax:
Here's an example:
Tab 2
First tab
Second tab
Fourth tab
Here are some plugins that provide navigational links:
If the site administrator has enabled this option, shortened links to pages in an external Wiki can be created. You'll need to know the short name that the administrator has set up to use this feature - the information may be documented on the site in a TikiWiki Manual of Style or you can ask your administrator. See External Wikis for a complete explanation as well as the shortcut links for external wikis that have been defined on this site (under the heading List external wiki references).
You can link to any page on the Web that has a valid URL. By default, Tiki creates a local cache of the page so that it will be available even if the remote Web site is down. Here are some examples of the syntax:
Description | Syntax | Result |
---|---|---|
Link to an external web page | [http://www.wiki-translation.com] | hhttp://www.wiki-translation.com |
Specify link text | [http://www.wiki-translation.com|Wiki Translation] | Wiki Translation |
With ))AutoLinks(( enabled | http://www.wiki-translation.com | http://www.wiki-translation.com |
Using a color font | [http://www.tiki.org|~~#ff0000:tw~~] | tw |
Open in new window (if feature activated) | [http://tiki.org|hello tiki.org|target] | hello tiki.org |
See the Quick Reference section above for how to set the AutoLinks administrative option. In addition, two more administrative options related to external links:
Important: If you are linking to a PDF file, a multimedia file, or any file other than an HTML page, please include the nocache directive, as in the following examples:
Help!
You need to add the extra text "|box" (or maybe "|shadowbox" in earlier releases, if box doesn't work for you) after the label of your external link. You can also add some params, if needed, for the external resource, followed by semicolons.
Example1
Show a YouTube video in semitransparent popup (colorbox) in full screen size.
[http://www.youtube.com/v/KBewVCducWw&autoplay=1|You Tube video in their flash player|box]
Which would produce:
You Tube video in their flash player
Example2
Show a YouTube video in semitransparent popup (colorbox) but with defined smaller size than full screen:
[http://www.youtube.com/v/KBewVCducWw&autoplay=1|You Tube video in their flash player|shadowbox;width=405;height=340;]
Which would produce:
You Tube video in their flash player
To link to an Email Address, enclose the mailto URL within square brackets, as in the following examples:
Tiki has a built-in class (called tikihelp) that allows you to create a formatted tooltip for a link as follows:
The following syntax:
{HTML()}<a href="HomePage" class="tikihelp" title="Home Page: This links to the home page for this site">Home Page</a>{HTML}
Would produce on this site:
Mouse over the above link to see the formatted tooltip. Here's what's important for the tooltip to appear like this:
Whenever Tiki finds a link to an external site in a Wiki page the link is cached in the Tiki cache, this allows the Wiki users to visit the page even if the site is offline or the page is removed or changed.
When you make a link in a Wiki page, you can choose to request that it not be cached. This is done by adding the phrase after the link description between the square brackets.
Admins, see Link Cache.