Template:RewardIconWithText

From Super Snail Wiki
Jump to navigation Jump to search

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

It uses the Template:RewardIcon for the image and Template:Retext for the text 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:

{{RewardIconWithText|ImageName|Color}}

Example:

{{RewardIconWithText|Spirit Crystal, +150}}

{{RewardIconWithText|Mystery Ash, +150|black}}

{{RewardIconWithText|Mahakala Statue|green}}

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

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

{{RewardIconWithText|Dragon Orb|orange}}

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

{{RewardIconWithText|Norris-chuck|red}}

Display Examples

  • Spirit Crystal.png Spirit Crystal +150
  • Mystery Ash.png Mystery Ash +150
  • Mahakala Statue.png Mahakala Statue
  • Novice Scroll.png Novice Scroll +20
  • Expert Scroll.png Expert Scroll +30
  • Dragon orb.png Dragon Orb
  • Wish Coin.png Wish Coin +1
  • Norris-chuck.png Norris-chuck

Alternatives

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
11 ImageAndText

no description

Unknownrequired
22 Color

no description

Suggested values
black green blue orange red
Default
black
Unknownoptional