Edgewall Software

Changes between Version 102 and Version 103 of WikiFormatting


Ignore:
Timestamp:
Oct 9, 2010, 8:56:49 PM (12 years ago)
Author:
Christian Boos
Comment:

remove last (slightly broken) example for Image and refine the existing help in #Images

Legend:

Unmodified
Added
Removed
Modified
  • WikiFormatting

    v102 v103  
    748748 * `[[Image(wiki:WikiFormatting:picture.gif)]]` (referring to attachment on another page)
    749749 * `[[Image(ticket:1:picture.gif)]]` (file attached to a ticket)
    750  * `[[Image(htdocs:picture.gif)]]` (referring to a file inside project htdocs)
     750 * `[[Image(htdocs:picture.gif)]]` (referring to a file inside the [TracEnvironment environment] `htdocs` directory)
    751751 * `[[Image(source:/trunk/trac/htdocs/trac_logo_mini.png)]]` (a file in repository)
    752752
     
    761761}}}
    762762
    763 See WikiMacros for further documentation on the `[[Image()]]` macro.
     763See WikiMacros for further documentation on the `[[Image()]]` macro, which has several useful options (`title=`, `link=`, etc.)
    764764
    765765
     
    993993}}}
    994994
    995 == Other Examples ==
    996 
    997 ||= Wiki Markup =||= Display =||
    998 {{{#!td
    999 `[[Image(target, title= , link= )]]` macro can have additional parameters like:
    1000   * title -> shown as a hint
    1001   * link -> redirects navigation to such URL
    1002 See example below:
    1003 {{{
    1004 [[Image(http://upload.wikimedia.org/wikipedia/commons/6/6d/Translational_motion.gif,
    1005 title=The temperature of an ideal monatomic gas is related to the average kinetic energy of its atoms as they move.,
    1006 link=http://upload.wikimedia.org/wikipedia/commons/6/6d/Translational_motion.gif)]]
    1007 }}}
    1008 }}}
    1009 {{{#!td
    1010 [[Image(http://upload.wikimedia.org/wikipedia/commons/6/6d/Translational_motion.gif, title=The temperature of an ideal monatomic gas is related to the average kinetic energy of its atoms as they move., link=http://upload.wikimedia.org/wikipedia/commons/6/6d/Translational_motion.gif)]]
    1011 }}}