Changes

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search

Help:Image

1,825 bytes added, 21:21, 28 August 2008
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.
Notice how the "[[Image:Jay_Wilson.jpg|left|frame|150px" attribute on the |Caption about [[Jay Wilson]] in a "frame" image does .]][[Image:Jay_Wilson.jpg|right|150px|Caption not workworking.]][[Image:Jay_Wilson.jpg|thumb|150px|Caption about [[Jay Wilson]] in a "thumbnail".]]<div style="clear:both;"></div>
[[Image:Jay_Wilson===Spacing Between Images===In order to create vertical spacing between images, or to stop text from wrapping around it, some CSS html code must be used.jpg|left|frame|150px|Caption about [[Jay Wilson]].]][[ImageAdd the following piece of code in order to stop any new content from being show on the side of a picture:Jay_Wilson.jpg|right|150px]][[Image<blockquote><pre><div style="clear:Jay_Wilson.jpg|thumb|150px|Caption about [[Jay Wilson]].]]both;"></div></pre></blockquote>
===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==
12,486
edits