Editing
Help:Images
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Syntax === The full syntax for displaying an image is: <nowiki>[[</nowiki>File:''filename.extension''|''options''|''caption'']] where ''options'' can be zero or more of the following, separated by pipes ('''|'''): * ''[[#Format|Format]]'' option: one of '''border''' and/or '''frameless''', '''frame''', '''thumb''' (or '''thumbnail'''); *: Controls how the rendered image is formatted and embedded in the rest of the page. * ''[[#Size and frame|Resizing]]'' option: one of ** ''{width}'''''px''' β Resizes the image to fit within the given maximum width in pixels, without restricting its height; ** '''x'''''{height}'''''px''' β Resizes the image to fit within the given maximum height in pixels, without restricting its width; ** ''{width}'''''x'''''{height}'''''px''' β Resizes the image to fit within the given width and height in pixels; ** '''upright''' β Resizes an image to fit within reasonable dimensions, according to user preferences (suitable for images whose height is larger than width). *: Note that the image will always retain its aspect ratio, and can only be reduced (not increased) in size unless it's in a scalable media type (bitmap images cannot be scaled up). *: The default maximum size depends on the ''format'' and the internal image dimensions (according to its media type). * ''[[#Horizontal alignment|Horizontal alignment]]'' option: one of '''left''', '''right''', '''center''', '''none'''; *: Controls the horizontal alignment (and inline/block or floating styles) of the image within a text (no default value). * ''[[#Vertical alignment|Vertical alignment]] option'': one of '''baseline''', '''sub''', '''super''', '''top''', '''text-top''', '''middle''', '''bottom''', '''text-bottom'''; *: Controls the vertical alignment of a non-floating inline image with the text before or after the image, and in the same block (the default vertical alignment is '''middle'''). * ''[[#Altering the default link target|Link]] option'': one of ** '''link='''''{target}'' β Allows to change the target (to an arbitrary page title, or URL) of the generated link, activable on the rendered image surface; e.g. <code><nowiki>[[File:Example.jpg|20px|link=http://www.wikipedia.org]]</nowiki></code> renders as [[File:Example.jpg|20px|link=http://www.wikipedia.org]] (external link), or <code><nowiki>[[File:Example.jpg|20px|link=MediaWiki]]</nowiki></code> renders as [[File:Example.jpg|20px|link=MediaWiki]] (internal link). ** '''link=''' (with an empty value) β ({{mediawiki|rev:41727|MediaWiki 1.14+}}) Displays an image without any activable link; e.g. <code><nowiki>[[</nowiki>File:Example.jpg|20px|link=]]</code> renders as [[File:Example.jpg|20px|link=]]. <!--*** '''!''' Link does '''not''' work with thumb, thumbnail or frame. (This works for external and internal links)--> *** '''!''' If you set <code>|link=|</code> (empty), then no <code>title</code> will be rendered. (see [[bugzilla:21454]]) * Other specific options: ** '''alt='''''{alternative text}'' β ({{mediawiki|rev:41837|MediaWiki 1.14+}}) Defines the alternative text (maps to the HTML attribute <code>alt="..."</code> of the generated <code><img /></code> element) of an image that will be rendered if either the referenced image cannot be downloaded and embedded, or if the support media must use the alternative description text (e.g. when using a Braille reader or with accessibility options set by the user in its browser). ** '''page='''''{number}'' β Renders the specified page number (currently only applicable when showing a .djvu or .pdf file). ** '''class='''''{html class}'' β (MediaWiki 1.20+) Defines classes (maps to the HTML attribute <code>class="..."</code> of the generated <code><img /></code> element) If a parameter does not match any of the other possibilities, it is assumed to be the caption text. Caption text shows below the image in '''thumb''' and '''frame''' formats, or as mouseover text in '''border''', '''frameless''' formats or when the format is omitted. Caption text displayed in the '''thumb''' and '''frame''' formats may contain wiki links and other formatting. In the other options, wiki-formatting will not work though transclusion will. If no caption text is supplied, a caption is automatically created showing the file name. To completely remove the caption, set it to <code><nowiki><span title=""></span></nowiki></code>. For example, <code><nowiki>[[File:Example.jpg|20px|<span title=""></span>]]</nowiki></code> renders as [[File:Example.jpg|20px|<span title=""></span>]].
Summary:
Please note that all contributions to Fanra's EverQuest Wiki are considered to be released under the Creative Commons Attribution Share Alike (see
Project:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Help page
Discussion
English
Views
Read
Edit source
View history
More
Search
Main Menu
Main page
Sections
Classes and Races
Spells, Songs, Disciplines, and AAs
Items
Zones
NPCs
Quests
Raids
Tradeskills
User Interface
Tips and Guides
EQ Links
Wiki
Recent changes
Advanced search
Random page
Help
Contact Fanra
Tools
What links here
Related changes
Upload file
Special pages
Page information