Help:Images: Difference between revisions

26 bytes removed ,  4 months ago
m
Text replacement - "([Uu]ser) space" to "$1space"
No edit summary
m (Text replacement - "([Uu]ser) space" to "$1space")
 
(One intermediate revision by the same user not shown)
Line 48: Line 48:
[[File:Grunt Ultra H3.jpg|70px|right]]What is between the last vertical bar and the closing brackets ("]]"), void or not, is taken as the last option, and works as usual. For instance, when the last option is <tt>right</tt>, the image is right-aligned, and text floats to the left: <tt><nowiki>[[File:Grunt Ultra H3.jpg|70px|right]]</nowiki></tt> (shown on the right).
[[File:Grunt Ultra H3.jpg|70px|right]]What is between the last vertical bar and the closing brackets ("]]"), void or not, is taken as the last option, and works as usual. For instance, when the last option is <tt>right</tt>, the image is right-aligned, and text floats to the left: <tt><nowiki>[[File:Grunt Ultra H3.jpg|70px|right]]</nowiki></tt> (shown on the right).


[[File:Grunt Ultra H3.jpg|thumb|This text is not displayed.|70px|left|]][[File:Grunt Ultra H3.jpg|thumb|This text is displayed.|70px|right]]In particular, if the last option is the void text (that is, if there is nothing between the last vertical bar and the closing brackets), the caption is not displayed: <tt><nowiki>[[File:Grunt Ultra H3.jpg|thumb|This text is not displayed.|70px|left|]]</nowiki></tt> (shown on the left) and <tt><nowiki>[[File:Grunt Ultra H3.jpg|thumb|This text is displayed.|70px|right]]</nowiki></tt> (shown on the right).
[[File:Grunt Ultra H3.jpg|thumb|This text is not displayed.|70px|left|]][[File:Grunt Ultra H3.jpg|thumb|This text is displayed.|70px]]In particular, if the last option is the void text (that is, if there is nothing between the last vertical bar and the closing brackets), the caption is not displayed: <tt><nowiki>[[File:Grunt Ultra H3.jpg|thumb|This text is not displayed.|70px|left|]]</nowiki></tt> (shown on the left) and <tt><nowiki>[[File:Grunt Ultra H3.jpg|thumb|This text is displayed.|70px]]</nowiki></tt> (shown on the right).
{{clear}}
{{clear}}


Line 72: Line 72:


===Image with caption in the center===
===Image with caption in the center===
[[File:Grunt Ultra H3.jpg|right|thumb|175px|<center>Grunt.</center>]]
[[File:Grunt Ultra H3.jpg|thumb|175px|<center>Grunt.</center>]]
Use '''<nowiki>[[File:image name|alignment|type|size|<center>Caption</center>]]</nowiki>'''
Use '''<nowiki>[[File:image name|alignment|type|size|<center>Caption</center>]]</nowiki>'''


For example, '''<nowiki>[[File:Grunt Ultra H3.jpg|right|thumb|100px|<center>Grunt</center>]]</nowiki>''' produces a caption in the center .'' However, this syntax is not recommended for long captions (for example, captions involving long, descriptive sentences running more than one line), for which the regular image syntax should be used.'' You can also specify the color of the border, like "border:solid grey".  
For example, '''<nowiki>[[File:Grunt Ultra H3.jpg|thumb|100px|<center>Grunt</center>]]</nowiki>''' produces a caption in the center .'' However, this syntax is not recommended for long captions (for example, captions involving long, descriptive sentences running more than one line), for which the regular image syntax should be used.'' You can also specify the color of the border, like "border:solid grey".  
{{clear}}
{{clear}}


Line 110: Line 110:
==Images with links==
==Images with links==
:''This does not work in articles!''
:''This does not work in articles!''
You can alternatively use a link address to post images in your [[Halopedia:User space|user space]]. You can do this by finding the image you want to use, and then copying the image address and posting it on the page.
You can alternatively use a link address to post images in your [[Halopedia:Userspace|userspace]]. You can do this by finding the image you want to use, and then copying the image address and posting it on the page.


*http://lindyspringsystems.com/wp-content/uploads/2014/01/test.jpg - <nowiki>http://lindyspringsystems.com/wp-content/uploads/2014/01/test.jpg</nowiki>
*http://lindyspringsystems.com/wp-content/uploads/2014/01/test.jpg - <nowiki>http://lindyspringsystems.com/wp-content/uploads/2014/01/test.jpg</nowiki>