< Template:Im | oot
Jump to navigation
Jump to search
mNo edit summary |
Notmyhandle (talk | contribs) (note about Item Trading items) |
||
Line 10: | Line 10: | ||
==Example== | ==Example== | ||
===Items, Equipment, and Upgrades=== | ===Items (including Item Trading items), Equipment, and Upgrades=== | ||
<nowiki>{{im/oot|Item|Deku Nut}}</nowiki>: {{im/oot|Item|Deku Nut}} | <nowiki>{{im/oot|Item|Deku Nut}}</nowiki>: {{im/oot|Item|Deku Nut}} | ||
Revision as of 17:45, 23 April 2015
The Legend of Zelda: Ocarina of Time specific implementation of {{im}}.
- 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.
- 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
Items (including Item Trading items), Equipment, and Upgrades
{{im/oot|Item|Deku Nut}}: Deku Nut
{{im/oot|Item|Megaton Hammer}}: Megaton Hammer
{{im/oot|Equipment|Hylian Shield|png|30px}}: Hylian Shield
{{im/oot|Upgrade|Piece of Heart}}: Piece of Heart
Enemies
- In-line links
{{im/oot|Enemy|Gohma Larva}}: Gohma Larva File:OoT Items Gohma Larva.png
- Switched sides
{{im/oot|Enemy|Gohma Larva|s=1}}: File:OoT Items Gohma Larva.png Gohma Larva
- With image parameters of filetype, size, and thumbnail
{{im/oot|Enemy|Deku Scrub|png|50px{{!}}thumb{{!}}left|s=1}}: