[dokuwiki] Re: Enhancing {{image}} syntax

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sun, 11 Sep 2005 22:00:29 +0200

Hi!

Here is what I think about 1 - 4

> (1) Including the image without a link to a details page.

Sounds reasonable and should be implemented as two aditional parameters:

nolink - no link is added at all
direct - the detail page is ommited and the original image i linked
         directly as before

Examples:

{{myimage.jpg?200&nolink}}
{{myimage.jpg?200&direct}}

> (2) Including text (rather than an image) that links to details

This should be possible already using an interwiki shortcut. Maybe we
should add a default one similar to the "this" link.

Example:

[[media>myimage.jpg|My image]]

> (3) Including an image that links to the details page of a different
> image.

Again already possible by adding an interwiki shortcut eg:

[[detail>myotherimage|{{myimage.jpg?120}}]]

> (4) Including an image that links to a wiki page.

Already available:

[[pageid|{{myimage}}]]


Andi

Other related posts: