Advertisement

InlineBlockIcon


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

The InlineBlockIcon template creates an item icon image with a rarity border overlay. It is an inline block element, with everything around it aligned to its middle. 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:

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


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


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


Notes

  • Very Rare must be typed instead of veryrare (with the space).
  • You can also omit the parameter and just use {{InlineBlockIcon}} 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).

Community content is available under CC BY-NC-SA 3.0 unless otherwise noted.

Q is up to his old tricks again. The 2021 Q's Winter Wonderland Seasonal Event is on from December 7, 2021 to January 6, 2022 for all platforms.


Check out the new Event Grand Prize - the Tier 6 32nd century Federation Eisenberg Star Cruiser, or check out some of the new prizes available from the Winter Event Store!

READ MORE