WikiSyntax.wiki
changeset 1449 102830fb1c4d
parent 1448 d5675d69b286
child 1450 f1b584730d3a
equal deleted inserted replaced
1448:d5675d69b286 1449:102830fb1c4d
   261 link points to the [https://www.example.org Example homepage].
   261 link points to the [https://www.example.org Example homepage].
   262 
   262 
   263 If your link points to an image, it will get inserted as an image tag
   263 If your link points to an image, it will get inserted as an image tag
   264 into the page:
   264 into the page:
   265 
   265 
   266 https://www.hedgewars.org/images/Static_Hat_Template.png
   266 https://www.hedgewars.org/images/hwkb_example.png
   267 
   267 
   268 You can also make the image into a link, by setting the image URL as
   268 You can also make the image into a link, by setting the image URL as
   269 the description of the URL you want to link:
   269 the description of the URL you want to link:
   270 
   270 
   271 {{{
   271 {{{
   272 [https://www.hedgewars.org/ https://www.hedgewars.org/images/Static_Hat_Template.png]
   272 [https://www.hedgewars.org/ https://www.hedgewars.org/images/hwkb_example.png]
   273 }}}
   273 }}}
   274 
   274 
   275 [https://www.hedgewars.org/ https://www.hedgewars.org/images/Static_Hat_Template.png]
   275 [https://www.hedgewars.org/ https://www.hedgewars.org/images/hwkb_example.png]
   276 
   276 
   277 === Links to images ===
   277 === Links to images ===
   278 
   278 
   279 If your link points to an image (that is, if it ends in `.png`,
   279 If your link points to an image (that is, if it ends in `.png`,
   280 `.gif`, `.jpg` or `.jpeg`), it will get inserted as an image into the
   280 `.gif`, `.jpg` or `.jpeg`), it will get inserted as an image into the
   281 page:
   281 page:
   282 
   282 
   283 {{{
   283 {{{
   284 https://www.hedgewars.org/images/Static_Hat_Template.png
   284 https://www.hedgewars.org/images/hwkb_example.png
   285 }}}
   285 }}}
   286 
   286 
   287 https://www.hedgewars.org/images/Static_Hat_Template.png
   287 https://www.hedgewars.org/images/hwkb_example.png
   288 
   288 
   289 If the image is produced by a server-side script, you may need to add a nonsense query string parameter to the end so that the URL ends with a supported image filename extension.
   289 If the URL of the image does not end with a standard file name suffix such as `.png`, you may need to add a `nonsense` query string parameter to the end so that the URL ends with a supported image filename extension. For example, for the URL `https://www.hedgewars.org/images/hwkb_example.foo` (which refers to a PNG image), this would become:
   290 
   290 
   291 {{{
   291 {{{
   292 http://chart.apis.google.com/chart?chs=200x125&chd=t:48.14,33.79,19.77|83.18,18.73,12.04&cht=bvg&nonsense=something_that_ends_with.png
   292 https://www.hedgewars.org/images/hwkb_example.foo&nonsense=something_that_ends_with.png
   293 }}}
   293 }}}
   294 
   294 
   295 http://chart.apis.google.com/chart?chs=200x125&chd=t:48.14,33.79,19.77|83.18,18.73,12.04&cht=bvg&nonsense=something_that_ends_with.png
   295 https://www.hedgewars.org/images/hwkb_example.foo&nonsense=something_that_ends_with.png
   296 
   296 
   297 == Tables ==
   297 == Tables ==
   298 
   298 
   299 Tables are created by entering the content of each cell separated by
   299 Tables are created by entering the content of each cell separated by
   300 {{{||}}} delimiters. You can insert other inline wiki syntax in table
   300 {{{||}}} delimiters. You can insert other inline wiki syntax in table