Template:Reward

From Lotro-Wiki.com
Jump to navigation Jump to search
This is the template documentation for {{Reward}}. It is transcluded from Template:Reward/doc and may be directly edited there.

Description

  • This template produces a link to a specific item along with the item's icon.
  • Hovering the mouse over the link generates a "pop-up" describing the item.
  • When used in a table, all text will appear to the right of the icon, on two lines if necessary.

Syntax

{{Reward|<name> [|amount] [| plural=plural-name] }}

Parameters:

Some parameters can be keyworded or positional
  • name  : (Positional) (Required) - The proper name of the item without the "Item:" name-space prefix.
  • amount: (Optional)(Positional) - Number of items given. Overlays a number on the displayed icon.
  • plural: (Keyword) (Optional) - Alternative text for the link, nominally for handling plurals.

Examples

Normal usage

{{Reward | name}}
{{Reward | name | amount}}

{{Reward | Lover's Helm}} displays as  Lover's Helm

{{Reward | Lover's Helm | 3}} displays as 3 Lover's Helm

Plural usage

{{Reward | name | plural=plural-name}}
{{Reward | name | amount | plural=plural-name}}

{{Reward | Lover's Helm | plural=Lover's Helms}} displays as  Lover's Helms

{{Reward | Lover's Helm | 3 | plural=Lover's Helms}} displays as 3 Lover's Helms