From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search
m (add Ocarina Songs mappings as to not break usages during transition to new im/oot)
(Simplifying template)
 
Line 1: Line 1:
<includeonly>{{#vardefine:page|{{#switch:{{{1}}}
<includeonly>{{#vardefine:basePage|The Legend of Zelda: Ocarina of Time}}<!--
|equip
-->{{#vardefine:imagePrefix|{{#switch:{{{1}}}
|Equip
|Enemies=LoZ OoT enemy
|equips
|OoT Items
|Equips
|equipment
|Equipment=Equipment
|enemy
|enemies
|Enemies
|Enemy=Enemies
|item
|Item
|items
|Items=Items
|pickup
|Pickup
|pickups
|Pickups=Pickups
|secret
|Secret
|secrets
|Secrets=Secrets
|song
|Song
|songs
|Songs=Ocarina Songs
|upgrade
|upgrades
|Upgrade=Upgrades
|{{{1}}}
}}}}<!--
}}}}<!--
-->{{#vardefine:name|{{#switch:{{{2}}}
-->{{#vardefine:name|{{#switch:{{{2}}}
|arrow
|Zelda's Lullaby|Saria's Song|Epona's Song|Sun's Song=Fairy Ocarina
|Arrows=Arrow
|Song of Storms|Song of Time|Minuet of Forest|Bolero of Fire|Serenade of Water|Nocturne of Shadow|Requiem of Spirit|Prelude of Light|Scarecrow's Song=Ocarina of Time
|bomb
|Bombs=Bomb
|bombchu
|Bombchus=Bombchu
|bottle
|Bottle
|bottles
|Bottles=Empty Bottle
|bottle bug
|Bottle bug
|Bottle Bug
|bottle bugs
|Bottle bugs
|Bottle Bugs
|bottle of bugs
|bottles of bugs
|Bottle of bugs
|Bottles of Bugs=Bottle of Bugs
|deku nut
|Deku Nuts=Deku Nut
|deku stick
|deku sticks
|Deku Sticks=Deku Stick
|heart
|Heart
|hearts
|Hearts=Recovery Heart
|key
|Key
|keys
|Keys=Small Key
|rupee
|Rupee
|rupees
|Rupees
|green rupees
|Green rupees=Green Rupee
|blue rupees
|Blue rupees=Blue Rupee
|red rupees
|Red rupees=Red Rupee
|purple rupees
|Purple rupees=Purple Rupee
|huge rupees
|Huge rupees=Huge Rupee
|orange rupees
|Orange rupees=Orange Rupee
|silver rupees
|Silver rupees=Silver Rupee
|Big Skulltula
|Big Skulltulas=Skulltula
|withered Deku Baba
|Withered Deku Baba
|withered Deku Babas
|Withered Deku Babas=Deku Baba (withered)
|Deku Baba
|Deku Babas=Deku Baba
|Gold Skulltula Token
|Gold Skulltula Tokens=Gold Skulltula Token
|Gold Skulltula
|Gold Skulltulas=Gold Skulltula
|Peahats=Peahat
|Stalchildren=Stalchild
|Skullwalltula
|Skullwalltulas=Skullwalltula
|Zelda's Lullaby
|Saria's Song
|Epona's Song
|Sun's Song
|Song of Storms=Fairy Ocarina
|Song of Time
|Minuet of Forest
|Bolero of Fire
|Serenade of Water
|Nocturne of Shadow
|Requiem of Spirit
|Prelude of Light
|Scarecrow's Song=Ocarina of Time
|Weird Egg=Pocket Egg
|Cucco=Pocket Cucco
|{{{2}}}
|{{{2}}}
}}}}<!--
}}}}<!--
-->{{#vardefine:image|{{#switch:{{{1}}}
-->{{#if:{{{display|}}}
|enemy
|{{#vardefine:display|{{{display}}}}}
|enemies
|{{#vardefine:display|{{{2}}}}}
|Enemies
}}<!--
|Enemy={{im|LoZ OoT enemy {{#var:name}}.{{{3|png}}}|{{{4|x24px}}}}}
-->{{#vardefine:link|'''[[{{#var:basePage}}/{{{1}}}#{{{2}}}|{{#var:display}}]]'''}}<!--
|equip
-->{{#vardefine:image|{{im|{{#var:imagePrefix}} {{#var:name}}.{{{3|png}}}|{{{4|x24px}}}}}}}<!--
|Equip
|equips
|Equips
|equipment
|Equipment
|pickup
|Pickup
|pickups
|Pickups
|song
|Song
|songs
|Songs
|Ocarina Songs
|secret
|Secret
|secrets
|Secrets
|upgrade
|upgrades
|Upgrade
|Upgrades={{im|OoT Items {{#var:name}}.{{{3|png}}}|{{{4|x24px}}}}}
|{{im|OoT {{#var:page}} {{#var:name}}.{{{3|png}}}|{{{4|x24px}}}}}
}}}}<!--
-->{{#vardefine:link|{{#switch:{{{1}}}
|Spells And Skills={{zw|Spells of The Adventure of Link#{{{2}}} Spell|{{{2}}}}}
|song
|Song
|songs
|Songs
|Ocarina Songs='''[[The Legend of Zelda: Ocarina of Time/{{#var:page}}#{{{2}}}|{{{2}}}]]'''
|'''[[The Legend of Zelda: Ocarina of Time/{{#var:page}}#{{#var:name}}|{{{2}}}]]'''
}}}}<!--
-->{{#if:{{{s|}}}<!--
-->{{#if:{{{s|}}}<!--
-->|{{#var:image}}&nbsp;{{#var:link}}<!--
-->|{{#var:image}}&nbsp;{{#var:link}}<!--

Latest revision as of 04:22, 29 December 2018

This page has been transcluded from Template:Im/oot/Documentation.


The Legend of Zelda: Ocarina of Time specific implementation of {{im}}.

Parameters
  1. Page linked to; e.g. Items, Equipment, Upgrades, or Enemies.
  2. Specific image identifier; e.g. Deku Nut or Skulltula. This is part of the filename, and also the anchor point on the linked page you want the browser to jump to when clicked.
  3. File extension; "png" is default.
  4. Optional image parameters; will override default height constraint of x24px, 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.
  • display: Display text. This is the different text that you want to display on the page if it is different than the specific image identifier.

Example[edit]

Items (including Item Trading items), Equipment, and Upgrades[edit]

{{im/oo|Items|Deku Nut}}: Deku Nut 

{{im/oot|Items|Megaton Hammer}}: Megaton Hammer 

{{im/oot|Upgrades|Piece of Heart}}: Piece of Heart 

With image size parameter

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

Different display text

{{im/oot|Enemies|Deku Baba (withered)|display=withered Deku Babas}}: withered Deku Babas 

Enemies[edit]

In-line links

{{im/oot|Enemies|Gohma Larva}}: Gohma Larva 

Switched sides

{{im/oot|Enemies|Gohma Larva|s=1}}:  Gohma Larva

With image parameters of filetype, size, and thumbnail

{{im/oot|Enemies|Deku Scrub|png|50px{{!}}thumb{{!}}left|s=1}}:

 Deku Scrub