Difference between revisions of "Template:Img"

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

Revision as of 05:07, 11 September 2021


Creates an image with a link to the page.

Usage

The template is case insensitive.

{{img | Item | Width(Optional) | Height(Optional) }}

Example

{{img|gold|20}}

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)