Template:ImageLink

From HoloCure Wiki
(Redirected from Template:Il)
Jump to navigation Jump to search


Template-info.svg Documentation

Creates a link to the target page with associated image.

Usage

{{imageLink|<subject_name>}}

Shorthand {{il}} can also be used.

Examples

Text {{imageLink|Spider Cooking}} text

{{imageLink|Piki Piki Piman}}
{{imageLink|Flattening Board}}
{{imageLink|The Forbidden Wah|24x24px}}

Text Spider Cooking Icon.pngSpider Cooking text

Piki Piki Piman Icon.pngPiki Piki Piman Flattening Board Icon.pngFlattening Board The Forbidden Wah Icon.pngThe Forbidden Wah

Parameters

Creates a link to the target page with associated image.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Page name1

Subject/page name.

Example
Spider Cooking
Page namerequired
Typetype

Type of the image.

Suggested values
icon sprite run idle
Default
icon
Example
sprite
Stringoptional
Linklink

Specifies alternate link target.

Example
Spider Cooking#Upgrades
Page nameoptional
Sizesize

Image size.

Default
16x16px (20x20px with bg)
Unknownoptional
Display texttext

Specifies alternate displayed text.

Example
Spider Cooking Level 1
Stringoptional
No text?noText

Outputs image only, if set to value other than "0".

Booleanoptional

Type values

Below are the values accepted by the type parameter:

  • icon - menu icon (default)
  • sprite - character/enemy sprite (non-animated)
  • run - sprite with run animation
  • idle - sprite with idle animation