1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-12 03:00:28 +00:00
TiddlyWiki5/tw5.com/tiddlers/wikitextrules/ImageWikiText.tid
2012-06-10 17:48:23 +01:00

46 lines
677 B
Plaintext

title: ImageWikiText
tags: docs wikitextrule
The WikiText markup for images provides a shortcut for the ImageMacro, with an optional link and tooltip:
{{{
[img[<tiddlertitle>]]
[img[<url>]]
[img[<tooltip>|<tiddlertitle>]]
[img[<tooltip>|<tiddlertitle>][<link>]]
}}}
! Examples
Simple usage:
{{{
[img[Motovun Jack.jpg]]
[img[Tiddler Fishes.svg]]
}}}
Appears as:
[img[Motovun Jack.jpg]]
[img[Tiddler Fishes.svg]]
With a tooltip:
{{{
[img[tooltip|Motovun Jack.jpg]]
}}}
Appears as:
[img[tooltip|Motovun Jack.jpg]]
With a tooltip and a link:
{{{
[img[tooltip|Motovun Jack.jpg][http://google.com/]]
}}}
Appears as:
[img[tooltip|Motovun Jack.jpg][http://google.com/]]