Template:RewardIconWithLink

From Super Snail Wiki
Jump to navigation Jump to search

Template to keep icons that are used in rewards tables consistent and add text with links to them. For example, on the Mystic Ritual page.

It uses the Template:RewardIcon for the image and displays at the default size. It also uses Template:Relink for the link and coloring. If an item has a quantity tied to it, that can be included with a comma between the item name and the amount. The amount will not be color changed.

Usage:

{{RewardIconWithLink|ImageName|Color|Link}}

Example:

{{RewardIconWithLink|Spirit Crystal, +150}}

{{RewardIconWithLink|Mystery Ash, +150}}

{{RewardIconWithLink|Kitten Shell}}

{{RewardIconWithLink|Ninja Shell}}

{{RewardIconWithLink|Mahakala Statue|green}}

{{RewardIconWithLink|Novice Scroll, +20|blue}}

{{RewardIconWithLink|Expert Scroll, +30|purple}}

{{RewardIconWithLink|Dragon Orb|orange}}

{{RewardIconWithLink|Wish Coin, +1|orange}}

{{RewardIconWithLink|Norris-chuck|red}}

{{RewardIconWithLink|Pepper Fish, +20 Fragments|blue|Nursery#Minion_Skins}}

{{RewardIconWithLink|Space Water Bear, +280 Fragments|orange|Minion_Sim#Precious-Orange_Tactical_Logs}}

Display Examples
Link to page that doesn't exist with no coloring

  • Spirit Crystal.png Spirit Crystal +150
  • Mystery Ash.png Mystery Ash +150

Link to existing page with no coloring

Link to pages with coloring

Links to a page with a different name than image

Alternatives

No description.

Template parameters

ParameterDescriptionTypeStatus
11 ImageName

The name of the image you want displayed.

Unknownrequired
22 Color

The color of the text you want.

Suggested values
black green blue orange red
Default
black
Unknownoptional
33 Link

If the ImageName and Link you want are different, this is where you specify the different Link.

Default
ImageName
Unknownoptional