Jump to navigation
Jump to search
Notmyhandle (talk | contribs) (added switch and variable to allow for plurals; variations have to be hardcoded) |
Notmyhandle (talk | contribs) (additional plurals) |
||
Line 9: | Line 9: | ||
|keys | |keys | ||
|Keys=Key | |Keys=Key | ||
|Vires=Vire | |||
|Bombs=Bomb | |||
|Like-Likes=Like-Like | |||
|Zols=Zol | |||
|{{{2}}} | |{{{2}}} | ||
}}}}<!-- | }}}}<!-- |
Revision as of 17:47, 7 May 2014
This page has been transcluded from Template:Im/loz/Documentation.
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
{{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}}: