< Template:Im | loz
Notmyhandle (talk | contribs) (note about escaping) |
mNo edit summary |
||
Line 5: | Line 5: | ||
#Specific image identifier; e.g. Wooden Sword or Armos. This is part of the filename. | #Specific image identifier; e.g. Wooden Sword or Armos. 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 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 {{ | #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 <nowiki>{{!}}</nowiki> 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. |
Latest revision as of 21:14, 21 February 2015
The Legend of Zelda specific implementation of {{im}}.
- Parameters
- Type of image; e.g. Item or Enemy.
- Specific image identifier; e.g. Wooden Sword or Armos. This is part of the filename.
- File extension; "png" is default.
- 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 {{!}} 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: Switch sides. This moves the text to the right side of the icon. Useful for aligning the image.
Example[edit source]
{{im/loz|Item|Wooden Sword}}: Wooden Sword
{{im/loz|Item|Wooden Sword|png|30px}}: Wooden Sword
{{im/loz|Item|Wooden Sword|s=1}}: Wooden Sword
{{im/loz|Item|Wooden Sword|png|50px{{!}}thumb{{!}}left|s=1}}: