From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search
(megaton hammer example)
(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
  1. Type of image; e.g. Item, Equipment, Upgrade, or Enemy.
  2. Specific image identifier; e.g. Deku Nut or Skulltula. This is part of the filename.
  3. File extension; "png" is default.
  4. 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 OoT Items Deku Nut.png

{{im/oot|Item|Megaton Hammer}}: Megaton Hammer OoT Items Megaton Hammer.png

{{im/oot|Equipment|Hylian Shield|png|30px}}: Hylian Shield OoT Items Hylian Shield.png

{{im/oot|Upgrade|Piece of Heart}}: Piece of Heart OoT Items Piece of Heart.png

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}}:

File:OoT Items Deku Scrub.png

 Deku Scrub