Star Trek Online Wiki

The latest Star Trek Online story update, Season Twenty-four: Reflections, is now live!

Spoiler warnings ahead!

READ MORE

Star Trek Online Wiki
Advertisement
Star Trek Online Wiki


The following documentation is transcluded from Template:Icon/doc (edit):

The Icon template creates an item icon image with a rarity border overlay. It is a floating element added to the left of the body. There are 5 parameters:

  1. The name of the item. If omitted, uses the current page name
  2. Mk Level. If omitted or missing, will use the base image
  3. The rarity level (Common, Uncommon, Rare, Very Rare, Ultra Rare, Unique) - case-insensitive
  4. The icon size in pixels
  5. The article to link to (optional, by default this is identical to the first parameter)

Example:

{{icon|Phaser Beam Array|Mk III|Rare}} produces:

Phaser Beam Array Mk III icon.png
Rare icon.png


{{icon|Phaser Beam Array||Very rare}} produces:

Phaser Beam Array icon.png
Very rare icon.png


{{icon|Phaser Beam Array||Uncommon|24px}} produces:

Phaser Beam Array icon.png
Uncommon icon.png


Notes

  • Very Rare must be typed instead of veryrare (with the space).
  • You can also omit the parameter and just use {{icon}} to use the current page name. For example, if used on the "Large Hypo" page, it would look for "Large Hypo icon.png". If no rarity is provided, the template will attempt to use Property:Is of rarity to determine the overlay. If that fails, it will default to Common (no overlay).

Advertisement