12,486
edits
Changes
ADVERTISEMENT
From Diablo Wiki
no edit summary
==Adding Images==
[[Image:Jay_Wilson.jpg|thumb|right|150px|[[Jay Wilson]], the Lead Game Designer of [[Diablo 3]].]]To insert an image on any page, you use a small piece of [[Help:Markup|wiki markup]], that you can see is very similar to [[Help:Markup#Creating Links|wiki links]]: <nowiki>[[Image:filename.jpg]]</nowiki>. Make sure you don't forget to write the file extension. For this instruction we assume the picture is already uploaded to the wiki (more on that further down). The valid image files for {{WikiTitle}} are:
* .gif
* .jpg
Examples:
* <nowiki>[[Image:Jay_Wilson.jpg|left|frame|150px|Caption about [[Jay Wilson]]in a "frame".]]</nowiki>* <nowiki>[[Image:Jay_Wilson.jpg|right|150px|Caption not working.]]</nowiki>* <nowiki>[[Image:Jay_Wilson.jpg|thumb|150px|Caption about [[Jay Wilson]]in a "thumbnail".]]</nowiki>
Notice how the "150px" attribute on the "frame" image does not work, and that the caption for the regular image is only shown in the mouseover.
===Images as Links===
The wiki scripts automatically add the image page (the "article" page where the image's description, categorisation, etc is) as the source of a link that lays on top of the image. There is currently no way to make an image link to somewhere else than its image page with any type of code. Be it CSS, HTML or wiki syntax - it's just not possible.
<!--
It is in fact possible, but the feature must be activated in the wiki first. This is the old text on the subject, that currently is not working:
Images may be set to link directly to other pages, though this is non-standard wiki practice, and its recommended that such links are provided in the image's caption, or are placed directly on the full image page. To link from an image:
{{clickpic|TARGET PAGE TITLE|FULL PATH OF IMAGE FILE}}
Where "FULL PATH OF IMAGE FILE" is the full path, for example http://www.imaginarywiki.com/wiki/index/image.jpg - so this works better with external images, but may be used with images you have uploaded with you use their full path instead of the usual shortcut.
-->
==Uploading Images==
To upload images to the wiki, there are primarily two ways
==Gallery of Images==