Template:Image: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
m
Added examples
mNo edit summary
m (Added examples)
Line 67: Line 67:
{{parameter|alt|The text that is displayed when the image fails to load.|Optional|Defaults to the file name.}}
{{parameter|alt|The text that is displayed when the image fails to load.|Optional|Defaults to the file name.}}
{{parameter|link|The desired link. Can be internal or external. If you set this to "''none''", then the image will not create a link at all. Note: This only changes the image's link and it does not effect the enlarge link in image thumbnails. |Optional|Defaults to the image's page if left blank.}}
{{parameter|link|The desired link. Can be internal or external. If you set this to "''none''", then the image will not create a link at all. Note: This only changes the image's link and it does not effect the enlarge link in image thumbnails. |Optional|Defaults to the image's page if left blank.}}
 
==Examples==
<u><b>Basic</b></u>
<div style="float:left; margin-right:20px"><pre>
{{Image|file=Magic-Hammer.png}}
</pre></div>
{{clear}}
{{Image|file=Magic-Hammer.png}}
{{clear}}<br>
<u><b>Thumbnail</b></u>
<div style="float:left; margin-right:20px"><pre>
{{Image|file=Magic-Hammer.png|type=thumb|caption=Magic Hammer from A Link to the Past.}}
</pre></div><br>
{{Image|file=Magic-Hammer.png|type=thumb|caption=Magic Hammer from A Link to the Past.}}
{{clear}}<br>
<u><b>Caption</b></u>
<div style="float:left; margin-right:20px"><pre>
{{Image|file=Magic-Hammer.png|type=caption|caption=Magic Hammer from A Link to the Past.}}
</pre></div><br>
{{Image|file=Magic-Hammer.png|type=caption|caption=Magic Hammer from A Link to the Past.}}
{{clear}}


{{Cat|Formatting Templates}}
{{Cat|Formatting Templates}}
</noinclude>
</noinclude>

Navigation menu