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|}}}>]]
+
|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|}}}>]]
+
|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|}}}>]]
+
|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|}}}>]]
+
|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|}}}>]]
+
|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" width={{{2|20}}} height={{{3|}}}>]]
+
|blood essence= [[Blood Essence|<img src="https://idlescape.com/images/runecrafting/blood_essence.png" alt="Blood Essence" width={{{2|20}}} height={{{3|}}}>{{#if:{{{word}}}|Blood Essence}}]]
|death essence= [[Death Essence|<img src="https://idlescape.com/images/runecrafting/death_essence.png" alt="Death Essence" width={{{2|20}}} height={{{3|}}}>]]
+
|death essence= [[Death Essence|<img src="https://idlescape.com/images/runecrafting/death_essence.png"
|chaos essence= [[Chaos Essence|<img src="https://idlescape.com/images/runecrafting/chaos_essence.png" alt="Chaos Essence" width={{{2|20}}} height={{{3|}}}>]]
 
|nature essence= [[Nature Essence|
 
  
 
|
 
|
Line 511: Line 511:
 
</code>
 
</code>
  
[[Gold|<img src="https://idlescape.com/images/money_icon.png" alt="Gold"  width=20>]]
+
[[Gold|<img src="https://idlescape.com/images/money_icon.png" alt="Gold"  width=20>]]|<img src="https://idlescape.com/images/money_icon.png" alt="Gold"  width=20>
  
 
===List===
 
===List===

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