Difference between revisions of "Template:Img"

From Idlescape Wiki
Jump to navigation Jump to search
m (Added flame resistance)
m (Added other case.)
Line 1: Line 1:
{{#switch: {{lc:{{{1}}}}}
+
<includeonly>{{#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}}]]
Line 678: Line 678:
 
|valley of giants= [[Valley of Giants|<img src="https://idlescape.com/images/combat/locations/valley_of_giants.png" alt="Valley of Giants" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word|}}}| Valley of Giants}}]]
 
|valley of giants= [[Valley of Giants|<img src="https://idlescape.com/images/combat/locations/valley_of_giants.png" alt="Valley of Giants" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word|}}}| Valley of Giants}}]]
 
|chaos wastes= [[Chaos Wastes|<img src="https://idlescape.com/images/foraging/living_forest.png" alt="Chaos Wastes" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word|}}}| Chaos Wastes}}]]
 
|chaos wastes= [[Chaos Wastes|<img src="https://idlescape.com/images/foraging/living_forest.png" alt="Chaos Wastes" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word|}}}| Chaos Wastes}}]]
|
+
|[[{{{1}}}]]{{?}}
}}<noinclude>
+
}}</includeonly><noinclude>
 
Creates an image with a link to the page.
 
Creates an image with a link to the page.
 
===Usage===
 
===Usage===

Revision as of 03:44, 30 January 2022

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
  • Zones

Exceptions

For Use
Useless Scraps Useless Scraps (Magic)
Useless Scraps Useless Scraps (Range)
Cooking Cooking
Cooking (Enchantment)
Cooking Background Image Cooking Screen
Runecrafting Runecrafting
Runecrafting (Enchantment)
Fishing Fishing
Fishing (Enchantment)
Crafting Crafting
Crafting (Enchantment)
Mysterious Man Mysterious Man
Mysterious Man (Helmet)