# HG changeset patch # User Wuzzy # Date 1531452704 -3600 # Node ID 102830fb1c4d48eaecf2db07d4050c9ddc6ee747 # Parent d5675d69b2869138abc0e43bc6f30b90219c8091 WikiSyntax: Replace example images diff -r d5675d69b286 -r 102830fb1c4d WikiSyntax.wiki --- a/WikiSyntax.wiki Fri Jul 13 04:11:51 2018 +0100 +++ b/WikiSyntax.wiki Fri Jul 13 04:31:44 2018 +0100 @@ -263,16 +263,16 @@ If your link points to an image, it will get inserted as an image tag into the page: -https://www.hedgewars.org/images/Static_Hat_Template.png +https://www.hedgewars.org/images/hwkb_example.png You can also make the image into a link, by setting the image URL as the description of the URL you want to link: {{{ -[https://www.hedgewars.org/ https://www.hedgewars.org/images/Static_Hat_Template.png] +[https://www.hedgewars.org/ https://www.hedgewars.org/images/hwkb_example.png] }}} -[https://www.hedgewars.org/ https://www.hedgewars.org/images/Static_Hat_Template.png] +[https://www.hedgewars.org/ https://www.hedgewars.org/images/hwkb_example.png] === Links to images === @@ -281,18 +281,18 @@ page: {{{ -https://www.hedgewars.org/images/Static_Hat_Template.png +https://www.hedgewars.org/images/hwkb_example.png }}} -https://www.hedgewars.org/images/Static_Hat_Template.png +https://www.hedgewars.org/images/hwkb_example.png -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. +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: {{{ -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 +https://www.hedgewars.org/images/hwkb_example.foo&nonsense=something_that_ends_with.png }}} -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 +https://www.hedgewars.org/images/hwkb_example.foo&nonsense=something_that_ends_with.png == Tables ==