Difference between revisions of "Template:Img"

From Idlescape Wiki
Jump to navigation Jump to search
m (Added other case.)
m (added (Range|Magic) to #if:word so that Items Navbar properly links to existing pages)
Line 481: Line 481:
 
|the castled king= [[The Castled King|<img src="https://idlescape.com/images/magic/prismatic_gem.png" alt="The Castled King" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word|}}}| The Castled King}}]]
 
|the castled king= [[The Castled King|<img src="https://idlescape.com/images/magic/prismatic_gem.png" alt="The Castled King" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word|}}}| The Castled King}}]]
 
|useless scraps= [[Useless Scraps|<img src="https://idlescape.com/images/misc/Range_Scrap.png" alt="Useless Scraps" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word|}}}| Useless Scraps}}]]
 
|useless scraps= [[Useless Scraps|<img src="https://idlescape.com/images/misc/Range_Scrap.png" alt="Useless Scraps" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word|}}}| Useless Scraps}}]]
|useless scraps (range)= [[Useless Scraps|<img src="https://idlescape.com/images/misc/Range_Scrap.png" alt="Useless Scraps (Range)" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word|}}}| Useless Scraps}}]]
+
|useless scraps (range)= [[Useless Scraps|<img src="https://idlescape.com/images/misc/Range_Scrap.png" alt="Useless Scraps (Range)" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word|}}}| Useless Scraps (Range)}}]]
|useless scraps (magic)= [[Useless Scraps|<img src="https://idlescape.com/images/misc/Magic_Scrap.png" alt="Useless Scraps (Magic)" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word|}}}| Useless Scraps}}]]
+
|useless scraps (magic)= [[Useless Scraps|<img src="https://idlescape.com/images/misc/Magic_Scrap.png" alt="Useless Scraps (Magic)" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word|}}}| Useless Scraps (Magic)}}]]
 
|novice tacklebox= [[Novice Tacklebox|<img src="https://idlescape.com/images/fishing/Novice_Tacklebox.png" alt="Novice Tacklebox" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word|}}}| Novice Tacklebox}}]]
 
|novice tacklebox= [[Novice Tacklebox|<img src="https://idlescape.com/images/fishing/Novice_Tacklebox.png" alt="Novice Tacklebox" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word|}}}| Novice Tacklebox}}]]
 
|basic tacklebox= [[Basic Tacklebox|<img src="https://idlescape.com/images/fishing/Basic_Tacklebox.png" alt="Basic Tacklebox" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word|}}}| Basic Tacklebox}}]]
 
|basic tacklebox= [[Basic Tacklebox|<img src="https://idlescape.com/images/fishing/Basic_Tacklebox.png" alt="Basic Tacklebox" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word|}}}| Basic Tacklebox}}]]

Revision as of 15:28, 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)