Loading...
 
Skip to main content

Features / Usability


Syntax for links to wiki pages

Within a wiki page, there is a simple syntax for links to other wiki pages.

To make a link to a wiki page

  • in a menu or
  • with an image

I am using the syntax tiki-index.php?page=NameOfWikiPage .

Is this the best way, or is there a shortcut syntax? At least for an image within a wiki, I would have expected there to be a shorter syntax, but I didn't find one.

Phil

Using the double-parentheses link syntax in a menu is coming in Tiki 1.10, but for current and older versions, the tiki-index.php?page= style is still needed.

By linking to a wiki page with an image, do you mean like Image

Copy to clipboard
((userpagechibaguy|{img src=tiki-show_user_avatar.php?user=chibaguy}))
?

(Sorry for the apparent vanity but that was the easiest image/page for me to find here. 😉)

-- Gary

Well yes, I did mean like that, except that I had coded it as

Copy to clipboard
{img imalign=right src="img/wiki_up/ml2005_000_50pc_shadow.gif" link=tiki-index.php?page=multilangvsnet }


That is, I programmed an image with a link, whereas you programmed a link with an image. Your way is neater.

What I thought might be possible is something like

Copy to clipboard
{img imalign=right src="img/wiki_up/ml2005_000_50pc_shadow.gif" link=((multilangvsnet)) }


Phil