Jump to navigation
Jump to search
Notmyhandle (talk | contribs) (creation) |
Notmyhandle (talk | contribs) (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 | }}#{{{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
- Type of image; e.g. Item or Enemy.
- Specific image identifier; e.g. Wooden Sword or Armos. 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
{{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