Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
;Parameters | ;Parameters | ||
# | #Type of image; e.g. Item, Equipment, Upgrade, or Enemy. | ||
#Specific image identifier; e.g. Deku Nut or Skulltula. This is part of the filename | #Specific image identifier; e.g. Deku Nut or Skulltula. This is part of the filename. | ||
#File extension; "png" is default. | #File extension; "png" is default. | ||
#Optional image parameters; will override default height constraint of | #Optional image parameters; will override default height constraint of 32px, so you will need to re-specify like "x20px" (height constraint) or "30px" (width constraint) or 30x20px (width x height constraints). To add additional parameters, use {{t|!}} to escape the pipe character to separate image parameters. See example below with the thumbnail (note: do not use thumbnail or float parameters with in-line images). | ||
*'''s''': '''S'''witch sides. This moves the text to the right side of the icon. Useful for aligning the image. | *'''s''': '''S'''witch sides. This moves the text to the right side of the icon. Useful for aligning the image. | ||
==Example== | ==Example== | ||
<nowiki>{{im/oot|Item|Deku Nut}}</nowiki>: {{im/oot|Item|Deku Nut}} | |||
<nowiki>{{im/ | |||
<nowiki>{{im/oot| | <nowiki>{{im/oot|Item|Megaton Hammer}}</nowiki>: {{im/oot|Item|Megaton Hammer}} | ||
<nowiki>{{im/oot|Equipment|Hylian Shield|png|30px}}</nowiki>: {{im/oot|Equipment|Hylian Shield|png|30px}} | <nowiki>{{im/oot|Equipment|Hylian Shield|png|30px}}</nowiki>: {{im/oot|Equipment|Hylian Shield|png|30px}} | ||
<nowiki>{{im/oot|Upgrade|Piece of Heart}}</nowiki>: {{im/oot|Upgrade|Piece of Heart}} | |||
<nowiki>{{im/oot| | |||
<nowiki>{{im/oot|Enemy|Gohma Larva|s=1}}</nowiki>: {{im/oot|Enemy|Gohma Larva|s=1}} | |||
<nowiki>{{im/oot| | |||
<nowiki>{{im/oot|Enemy|Deku Scrub|png|50px{{!}}thumb{{!}}left|s=1}}</nowiki>: {{im/oot|Enemy|Deku Scrub|png|50px{{!}}thumb{{!}}left|s=1}} | |||
<nowiki>{{im/oot| | |||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |