< Template:Im | oot
Jump to navigation
Jump to search
Notmyhandle (talk | contribs) (megaton hammer example) |
Notmyhandle (talk | contribs) (expanded enemy examples) |
||
Line 10: | Line 10: | ||
==Example== | ==Example== | ||
===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}} | ||
Line 18: | Line 19: | ||
<nowiki>{{im/oot|Upgrade|Piece of Heart}}</nowiki>: {{im/oot|Upgrade|Piece of Heart}} | <nowiki>{{im/oot|Upgrade|Piece of Heart}}</nowiki>: {{im/oot|Upgrade|Piece of Heart}} | ||
===Enemies=== | |||
;In-line links | |||
<nowiki>{{im/oot|Enemy|Gohma Larva}}</nowiki>: {{im/oot|Enemy|Gohma Larva}} | |||
;Switched sides | |||
<nowiki>{{im/oot|Enemy|Gohma Larva|s=1}}</nowiki>: {{im/oot|Enemy|Gohma Larva|s=1}} | <nowiki>{{im/oot|Enemy|Gohma Larva|s=1}}</nowiki>: {{im/oot|Enemy|Gohma Larva|s=1}} | ||
;With image parameters of filetype, size, and thumbnail | |||
<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|Enemy|Deku Scrub|png|50px{{!}}thumb{{!}}left|s=1}}</nowiki>: {{im/oot|Enemy|Deku Scrub|png|50px{{!}}thumb{{!}}left|s=1}} | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 18:17, 28 January 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, 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}}: