Help:Images

Jump to: navigation, search
(Gallery of images)
(Syntax)
Line 4: Line 4:
 
== Syntax ==
 
== Syntax ==
 
The full syntax for displaying an image is:
 
The full syntax for displaying an image is:
   [[File:{file_name}|{options}]]
+
   [[Image:{file_name}|{options}]]
 
Where options can be zero or more of the following, separated by pipes:
 
Where options can be zero or more of the following, separated by pipes:
 
* ''border'', ''frame'', ''thumb'', or ''frameless'': Controls how the image is formatted
 
* ''border'', ''frame'', ''thumb'', or ''frameless'': Controls how the image is formatted
Line 13: Line 13:
 
** ''Note that the image will always retain its aspect ratio.''
 
** ''Note that the image will always retain its aspect ratio.''
 
*  ''link={destination}'': Allows to link to an arbitrary title, URL or just nowhere ([[rev:41727|1.14+]])
 
*  ''link={destination}'': Allows to link to an arbitrary title, URL or just nowhere ([[rev:41727|1.14+]])
** ''link= '': Will display an image without link, e.g. <code><nowiki>[[</nowiki>File:Name.jpg|20px|link=Help:Images]]</code> → [[File:Name.jpg|20px|link=Help:Images]].
+
** ''link= '': Will display an image without link, e.g. <code><nowiki>[[</nowiki>Image:Name.jpg|20px|link=Help:Images]]</code> → [[Image:Name.jpg|20px|link=Help:Images]].
 
** ''Note that ''link'' cannot be used in conjunction with ''thumb'' as thumb is always meant to link to the larger version of the image.  In addition, ''link'' cannot be used with ''frame''.''
 
** ''Note that ''link'' cannot be used in conjunction with ''thumb'' as thumb is always meant to link to the larger version of the image.  In addition, ''link'' cannot be used with ''frame''.''
 
* ''alt={alternative text}'': For changing the alternative text (''alt=""'') of an image ([[rev:41837|1.14+]])
 
* ''alt={alternative text}'': For changing the alternative text (''alt=""'') of an image ([[rev:41837|1.14+]])

Revision as of 18:28, 1 September 2009

Personal tools
Namespaces
Variants
Actions
Navigation
Categories
Toolbox