Difference between revisions of "Template:Img"

From Idlescape Wiki
Jump to navigation Jump to search
m (Testing items)
m
Line 1: Line 1:
{{#ifeq: {{{1}}}|
+
{{#if: {{{1}}}|
 
{{#ifeq: {{{1}}}|Gold| [[Gold|<img src="https://idlescape.com/images/money_icon.png" alt="Gold" width={{{2}}} height={{{3}}}>]] }}
 
{{#ifeq: {{{1}}}|Gold| [[Gold|<img src="https://idlescape.com/images/money_icon.png" alt="Gold" width={{{2}}} height={{{3}}}>]] }}
 
{{#ifeq: {{{1}}}|Heat| [[Heat|<img src="https://idlescape.com/images/heat_icon.png" alt="Heat" width={{{2}}} height={{{3}}}>]] }}
 
{{#ifeq: {{{1}}}|Heat| [[Heat|<img src="https://idlescape.com/images/heat_icon.png" alt="Heat" width={{{2}}} height={{{3}}}>]] }}

Revision as of 11:29, 2 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

Gold