From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search
(creation)
 
(adjusted)
Line 1: Line 1:
<includeonly>'''[[The Legend of Zelda/{{#switch:{{{1}}}
<includeonly>'''[[The Legend of Zelda/{{#switch:{{{1}}}
|enemy
|Enemy=Enemies
|Enemy=Enemies
|item
|Item=Items
|Item=Items
}}#{{{2}}}|{{{2}}}]]''' {{im|LOZ1 {{{1}}} {{{2}}}.{{{3|png}}}|{{{4|32}}}}}</includeonly><noinclude>
}}#{{{2}}}|{{{2}}}]]''' {{im|LOZ1 {{{2}}}.{{{3|png}}}|{{{4|32}}}}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}


[[Category:Guide-specific templates|I]]</noinclude>
[[Category:Guide-specific templates|I]]</noinclude>

Revision as of 16:12, 6 May 2014

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


The Legend of Zelda specific implementation of {{im}}.

Parameters
  1. Type of image; e.g. Item or Enemy.
  2. Specific image identifier; e.g. Wooden Sword or Armos. 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

{{im/loz|Item|Wooden Sword}}: Wooden Sword 32

{{im/loz|Item|Wooden Sword|png|30px}}: Wooden Sword LOZ1 Wooden Sword.png

{{im/loz|Item|Wooden Sword|s=1}}: Wooden Sword 32

{{im/loz|Item|Wooden Sword|png|50px{{!}}thumb{{!}}left|s=1}}: Wooden Sword

LOZ1 Wooden Sword.png