Template:ForceRarity

From Elwiki
Information: If you want to test this template, please use Sandbox.
This documentation is transcluded from Template:ForceRarity/doc.

What is it used for?

This is an overlay template for Force Skill items.

How to use

Code

{{ForceRarity|file|link=skillname|rarity=itemrarity|size=1|float=position|valign=position}}

Parameters

  • {{ForceRarity|file}} - name of the image (without the "File:" prefix)
  • rarity - rarity of the item (Rare, Elite, Unique, or Legend)
  • link - optional link to the item
  • name - optional name to the item
  • size - if 1, displays a 20px icon, if 2 - 32px, no value - 64px
  • float - if right or left specified, pushes the picture to the right or the left of the page
  • valign - vertical align of the picture, useful if inserted in the middle of a text block or so, can equal to top/bottom/baseline/middle

Examples

{{ForceRarity|Item - Remaining El's Aspiration.png|rarity=Legend}}

result:

{{ForceRarity|Item - Remaining El's Aspiration.png|rarity=Legend|link=Remaining El's Aspiration|name=Hello El}}

result:

Hello El
{{ForceRarity|Item - Remaining El's Aspiration.png|rarity=Legend|size=1}}

result: