Help:Images: Difference between revisions

From StrategyWiki, the video game walkthrough and strategy guide wiki
4 bytes removed ,  21 January 2021
→‎Image maps: edit requested by User:Davtwan
(expanded heavily)
(→‎Image maps: edit requested by User:Davtwan)
Line 171: Line 171:


==Image maps==
==Image maps==
Image maps are welcome on StrategyWiki. They are images of which certain portions are clickable as links. You can use visual editors such as [http://www.boutell.com/mapedit/ Mapedit] to assist with drawing the shapes, although this free [http://toolserver.org/~dapete/ImageMapEdit/ImageMapEdit.html?en image map editor] is more than sufficient.
Image maps are welcome on StrategyWiki. They are images of which certain portions are clickable as links. You can use visual editors such as [https://www.image-map.net/ Image Map Generator] to assist with drawing the shapes, although this free [https://meta.wikimedia.org/wiki/User:Dapete/ImageMapEdit image map editor] is more than sufficient.


===Syntax description===
===Syntax description===
:''The following comes from [[mw:Extension:ImageMap|ImageMap at MediaWiki.org]]''
:''The following comes from [[mw:Extension:ImageMap|ImageMap at MediaWiki]]''
The content of an <nowiki><imagemap></nowiki> tag consists of blank lines, comments (starting with #) and logical lines. The first logical line specifies the image to be displayed and the size if you're not using its native size. This must be in the same format as an ordinary MediaWiki image link, except without the enclosing <nowiki>[[</nowiki> and <nowiki>]]</nowiki>.  
The content of an <nowiki><imagemap></nowiki> tag consists of blank lines, comments (starting with #) and logical lines. The first logical line specifies the image to be displayed and the size if you're not using its native size. This must be in the same format as an ordinary MediaWiki image link, except without the enclosing <nowiki>[[</nowiki> and <nowiki>]]</nowiki>.