Jump to navigation
Jump to search
Notmyhandle (talk | contribs) (attempting to limit height, not width) |
Notmyhandle (talk | contribs) (fixed water of life images) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#vardefine:page|{{#switch:{{{1}}} | ||
|boss | |||
|Boss | |||
|bosses | |||
|Bosses=Bosses | |||
|enemy | |enemy | ||
|Enemy=Enemies | |Enemy=Enemies | ||
|item | |item | ||
|Item=Items | |Item=Items | ||
}}#{{{2}}}|{{{2}}}]]''' {{ | }}}}<!-- | ||
-->{{#vardefine:name|{{#switch:{{{2}}} | |||
|Armoses=Armos | |||
|Arrows=Arrow | |||
|Blue Darknuts=Blue Darknut | |||
|Blue Goriyas=Blue Goriya | |||
|Blue Lanmolas=Blue Lanmola | |||
|Blue Leevers=Blue Leever | |||
|Blue Lyneis=Blue Lynei | |||
|Blue Moblins=Blue Moblin | |||
|Blue Octoroks=Blue Octorok | |||
|Blue Rupees=Blue Rupee | |||
|Blue Tektites=Blue Tektite | |||
|Blue Wizzrobes=Blue Wizzrobe | |||
|Bombs=Bomb | |||
|Bubbles=Bubble | |||
|Digdogger=Large Digdogger | |||
|Dodongos=Dodongo | |||
|Gels=Gel | |||
|Gheenis=Gheeni | |||
|Gibdos=Gibdo | |||
|Gleeok Head=Gleeok head | |||
|Keeses=Keese | |||
|key | |||
|keys | |||
|Keys=Key | |||
|Like-Likes=Like-Like | |||
|Moldorms=Moldorm | |||
|Patras=Patra | |||
|Patra Eyes=Patra Eye | |||
|Peahats=Peahat | |||
|Pols Voices=Pols Voice | |||
|Darknuts | |||
|Red Darknuts=Red Darknut | |||
|Goriyas | |||
|Red Goriyas=Red Goriya | |||
|Lanmolas | |||
|Red Lanmolas=Red Lanmola | |||
|Leevers | |||
|Red Leevers=Red Leever | |||
|Lyneis | |||
|Red Lyneis=Red Lynei | |||
|Moblin | |||
|Moblins | |||
|Red Moblins=Red Moblin | |||
|Octoroks | |||
|Red Octoroks=Red Octorok | |||
|Tektites | |||
|Red Tektites=Red Tektite | |||
|Wizzrobes | |||
|Red Wizzrobes=Red Wizzrobe | |||
|Rock=Rocks | |||
|Ropes=Rope | |||
|Red Potion | |||
|Red Potions | |||
|Red Water of Life | |||
|Red Water of Lifes=2nd Potion | |||
|Red Rupee | |||
|Red Rupees | |||
|Rupees=Rupee | |||
|Silver Arrows=Silver Arrow | |||
|Stalfoses=Stalfos | |||
|Traps=Trap | |||
|Vires=Vire | |||
|Wallmasters=Wallmaster | |||
|Water of Lifes=Water of Life | |||
|Zols=Zol | |||
|Zoras=Zora | |||
|{{{2}}} | |||
}}}}<!-- | |||
-->{{#if:{{{s|}}}<!-- | |||
-->|{{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|x16px}}}}} | |||
}}</includeonly><noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
[[Category:Guide-specific templates|I]]</noinclude> | [[Category:Guide-specific templates|I]]</noinclude> |
Latest revision as of 19:23, 11 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[edit]
{{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}}: