From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search
(arrow plurals)
(new height constraint)
Line 72: Line 72:
}}}}<!--
}}}}<!--
-->{{#if:{{{s|}}}<!--
-->{{#if:{{{s|}}}<!--
-->|{{im|LOZ1 {{#var:name}}.{{{3|png}}}|{{{4|x32px}}}}} '''[[The Legend of Zelda/{{#var:page}}#{{#var:name}}|{{{2}}}]]'''<!--
-->|{{im|LOZ1 {{#var:name}}.{{{3|png}}}|{{{4|x16px}}}}} '''[[The Legend of Zelda/{{#var:page}}#{{#var:name}}|{{{2}}}]]'''<!--
-->|'''[[The Legend of Zelda/{{#var:page}}#{{#var:name}}|{{{2}}}]]''' {{im|LOZ1 {{#var:name}}.{{{3|png}}}|{{{4|x32px}}}}}
-->|'''[[The Legend of Zelda/{{#var:page}}#{{#var:name}}|{{{2}}}]]''' {{im|LOZ1 {{#var:name}}.{{{3|png}}}|{{{4|x16px}}}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}


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

Revision as of 05:50, 8 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

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

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

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

Wooden Sword