Difference between revisions of "Template:Img"

From Idlescape Wiki
Jump to navigation Jump to search
m (Added exceptions)
m (Fixing space between image and text, hopefully)
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}}]]
|earth essence= [[Earth Essence|<img src="https://idlescape.com/images/runecrafting/earth_essence.png" alt="Earth Essence" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word|}}}| Earth Essence}}]]
+
|earth essence= [[Earth Essence|<img src="https://idlescape.com/images/runecrafting/earth_essence.png" alt="Earth Essence" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word|}}}| Earth Essence}}]]
|fire essence= [[Fire Essence|<img src="https://idlescape.com/images/runecrafting/fire_essence.png" alt="Fire Essence" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word|}}}| Fire Essence}}]]
+
|fire essence= [[Fire Essence|<img src="https://idlescape.com/images/runecrafting/fire_essence.png" alt="Fire Essence" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word|}}}| Fire Essence}}]]
|water essence= [[Water Essence|<img src="https://idlescape.com/images/runecrafting/water_essence.png" alt="Water Essence" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word|}}}| Water Essence}}]]
+
|water essence= [[Water Essence|<img src="https://idlescape.com/images/runecrafting/water_essence.png" alt="Water Essence" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word|}}}| Water Essence}}]]
|blood essence= [[Blood Essence|<img src="https://idlescape.com/images/runecrafting/blood_essence.png" alt="
+
|blood essence= [[Blood Essence|<img src="https://idlescape.com/images/runecrafting/blood_essence.png" alt="
 
|
 
|
 
}}<noinclude>
 
}}<noinclude>

Revision as of 05:42, 14 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)
Cooking Cooking
Cooking (Enchantment)
Runecrafting Runecrafting
Runecrafting (Enchantment)
Fishing Fishing
Fishing (Enchantment)
Crafting Crafting
Crafting (Enchantment)