Difference between revisions of "Template:Img"

From Idlescape Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
{{#switch: {{lc:{{{1}}}}}
 
{{#switch: {{lc:{{{1}}}}}
|gold= [[Gold|<img src="https://idlescape.com/images/money_icon.png" alt="Gold" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word}}}| Gold}}]]
+
|gold= [[Gold|<img src="https://idlescape.com/images/money_icon.png" alt="Gold" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word}}}| Gold|}}]]
 
|heat= [[Heat|<img src="https://idlescape.com/images/heat_icon.png" alt="Heat" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word}}}| Heat}}]]
 
|heat= [[Heat|<img src="https://idlescape.com/images/heat_icon.png" alt="Heat" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word}}}| Heat}}]]
 
|air essence= [[Air Essence|<img src="https://idlescape.com/images/runecrafting/air_essence.png" alt="Air Essence" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word}}}| Air Essence}}]]
 
|air essence= [[Air Essence|<img src="https://idlescape.com/images/runecrafting/air_essence.png" alt="Air Essence" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word}}}| Air Essence}}]]

Revision as of 06:13, 11 September 2021

Creates an image with a link to the page.

Usage

The template is case insensitive.

{{img | Item | Width(Optional) | Height(Optional)}}
|word=1
Adds the item name after the picture.


Example

{{img|gold|}}

Gold

{{img|gold|25|25|word=1}}

Gold Gold

List

  • Most Items - Gold to Useless Scraps
  • Most Monsters - Regular, Elite, Dungeon, Event
  • Skills - Mining etc.
  • Most Enchantments - Embers to Intuition

Exceptions

For Use
Useless Scraps Useless Scraps (Magic)
Useless Scraps Useless Scraps (Range)