STO banner UA gamepedia 20181008 500x80.jpg

Template:Iconlink

From Star Trek Online Wiki
Jump to: navigation, search
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)

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|No Icon For This|25px}}
{{iconlink|Tetryon Beam Array||very rare}}
{{iconlink|Disruptor Turret|||Mk X}}
{{iconlink|Plasma Dual Heavy Cannons||||Dual Heavy Cannons}}

Output:

Phaser Beam Array icon.png
Common icon.png
No icon.png
Common icon.png
Phaser Beam Array icon.png
Common icon.png
No icon.png
Common icon.png
Tetryon Beam Array icon.png
Very rare icon.png
Disruptor Turret Mk X icon.png
Common icon.png
Plasma Dual Heavy Cannons icon.png
Common icon.png