1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 10:37:20 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/wikitextrules/ImageWikiText.tid
2012-11-16 21:20:27 +00: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/]]