Difference between revisions of "Template:Icon"

From EVE University Wiki
Jump to: navigation, search
(Added NPC supercapital and fighter)
m (Added some of the new fitting window icons.)
Line 230: Line 230:
 
  | shield booster = icon_shield_glow.png
 
  | shield booster = icon_shield_glow.png
 
  | hull repairer | structure repairer | hull repair | structure repair = icon_hull_repairer_i.png
 
  | hull repairer | structure repairer | hull repair | structure repair = icon_hull_repairer_i.png
 +
| high slot | hislot | hi slot | slot high | slot hi | fit high | fit hi = icon_fit_high.png
 +
| medium slot | midslot | mid slot | med slot | slot medium | slot mid | fit medium | fit mid = icon_fit_medium.png
 +
| low slot | lowslot | loslot | lo slot | slot low | slot lo | fit low | fit lo = icon_fit_low.png
 +
| rig slot | rigslot | slot rig | fit rig = icon_fit_rig.png
 +
| drone slot | droneslot | slot drone | fit drone = icon_fit_drone.png
 +
| resource slot | resslot | res slot | slot resource | slot res | fit resource | fit res = icon_fit_resource.png
 +
| fitting browser | fit browser = icon_fit_browser.png
 +
| fitting skins | skins | skin | fit skin = icon_fit_skins.png
 +
| fitting cargo hold | fitting cargo | fit cargo | fit hold | hold | cargo | cargo hold = icon_fit_cargo
 +
| fitting dps | fit dps = icon_fit_dps.png
 +
| fitting alpha | fit alpha = icon_fit_alpha.png
 
<!--
 
<!--
  

Revision as of 17:45, 24 February 2017

Icon stasis webifier i.png

Syntax

The function takes up to three parameters. Each of the parameters are optional, while still allowing for some customization if need be.

{{ icon | type | size | hint }}

Parameters

type
This determines which icon to show and it will default back to the webifier icon if no parameters are given. Remember to use lower-case letters.
size
This determines the size of the image, in pure numbers. It defaults to 32 (the px part of the size is omitted from the parameter as it is included in the template).
hint
This is the mouse-over hint. Add this if you want custom text to be displayed when you hover over the icon. This parameter will accept codes like bold or italic or wiki-links, but will simply strip any link-coding or formatting from them and presents the unmodified plain text.

Examples

  • {{icon|point}}Icon warp disruptor i.png (it will use the default size and no mouse-over tooltip)
  • {{icon|||Stay put with a web!Stay put with a web! (default icon and size was used since no first argument was given)
  • {{icon|warp scrambler|16|No MWD for you!}}No MWD for you! (smaller icon, could be used inside a paragraph without breaking the line height)

List of icons

For a full list of icons available through this template, see the icons page.