1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-29 11:30:28 +00:00
TiddlyWiki5/tw5.com/tiddlers/wikitextrules/ImageWikiText.tid

46 lines
677 B
Plaintext
Raw Normal View History

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/]]