Star Trek Online Wiki
Register
Advertisement
The following documentation is transcluded from Template:Iconlink/doc (edit):

The Iconlink template creates an item icon image with a rarity border overlay. Unlike Template:Icon, it is not a floating element, meaning the icon can be placed between text where needed. There are 5 parameters:

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

Successful display of the icon requires the corresponding file to have been uploaded as: File:<name> icon.png (without the "<>"), e.g. File:Random Reward icon.png

Note that the icon size and item Mk are swapped compared to Template:Icon.

Example usage:

{{iconlink|Phaser Beam Array Standard Issue}}
{{iconlink|No Icon For This}}
{{iconlink|Phaser Beam Array Standard Issue|25px}}
{{iconlink|Random Reward|25px}}
{{iconlink|Tetryon Beam Array||very rare}}
{{iconlink|Disruptor Turret|||Mk X}}
{{iconlink|Plasma Dual Heavy Cannons||||Dual Heavy Cannons}}

Output:

Phaser Beam Array Standard Issue iconCommon icon No iconCommon icon Phaser Beam Array Standard Issue iconCommon icon Random Reward iconCommon icon Tetryon Beam Array iconVery rare icon Disruptor Turret Mk X iconCommon icon Plasma Dual Heavy Cannons iconCommon icon


Advertisement