Difference between revisions of "Template:Img"

From Idlescape Wiki
Jump to navigation Jump to search
m (Silent1 moved page Template:Image Link to Template:Img: Shortened wrong template. Using this instead.)
m (Case insensitive)
Line 1: Line 1:
{{#switch: {{{1}}}
+
{{#switch: {{lc:{{{1}}}}}
|Gold= [[Gold|<img src="https://idlescape.com/images/money_icon.png" alt="Gold" width={{{2|20}}} height={{{3|}}}>]]
+
|gold= [[Gold|<img src="https://idlescape.com/images/money_icon.png" alt="Gold" width={{{2|20}}} height={{{3|}}}>]]
|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|}}}>]]
|Book= [[Book|<img src="https://idlescape.com/images/misc/book.png" alt="Book" width={{{2|20}}} height={{{3|}}}>]]
+
|book= [[Book|<img src="https://idlescape.com/images/misc/book.png" alt="Book" width={{{2|20}}} height={{{3|}}}>]]
|Raw Shrimp= [[Raw Shrimp|<img src="https://idlescape.com/images/fishing/raw_shrimp.png" alt="Raw Shrimp" width={{{2|20}}} height={{{3|}}}>]]
+
|raw shrimp= [[Raw Shrimp|<img src="https://idlescape.com/images/fishing/raw_shrimp.png" alt="Raw Shrimp" width={{{2|20}}} height={{{3|}}}>]]
|Raw Anchovy= [[Raw Anchovy|<img src="https://idlescape.com/images/fishing/raw_anchovy.png" alt="Raw Anchovy" width={{{2|20}}} height={{{3|}}}>]]
+
|raw anchovy= [[Raw Anchovy|<img src="https://idlescape.com/images/fishing/raw_anchovy.png" alt="Raw Anchovy" width={{{2|20}}} height={{{3|}}}>]]
|Raw Trout= [[Raw Trout|<img src="https://idlescape.com/images/fishing/raw_trout.png" alt="Raw Trout" width={{{2|20}}} height={{{3|}}}>]]
+
|raw trout= [[Raw Trout|<img src="https://idlescape.com/images/fishing/raw_trout.png" alt="Raw Trout" width={{{2|20}}} height={{{3|}}}>]]
|Raw Salmon= [[Raw Salmon|<
+
|raw salmon= [[Raw Salmon|<
 
|
 
|
 
}}
 
}}
Line 401: Line 407:
 
!Use
 
!Use
 
|-
 
|-
|Useless Scraps || Useless Scraps(Magic)  
+
|Useless Scraps || Useless Scraps (Magic)  
 
|-
 
|-
|Useless Scraps || Useless Scraps(Range)  
+
|Useless Scraps || Useless Scraps (Range)  
 
|-
 
|-
 
|}
 
|}

Revision as of 06:49, 8 September 2021


Creates an image with a link to the page.

Usage

{{Image Link | Item | Width(Optional) | Height(Optional) }}

Example

{{Image Link|Gold|20}}

Gold

List

Most Items - Gold to Useless Scraps

Exceptions

For Use
Useless Scraps Useless Scraps (Magic)
Useless Scraps Useless Scraps (Range)