Template:Icon

From EVE University Wiki
Revision as of 23:14, 6 April 2013 by Cassiel Seraphim (talk | contribs) (An attempt to make a general template for all icons.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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|parameter1|parameter2|parameter3}}
Parameters

The first parameter is which icon to show and it will default back to the webifier icon if no parameters are given. Remember to use lower-case letters.

The second parameter is 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).

The third parameter 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'll 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

Below is a list of icons sorted by type.

Electronic Warfare

Name Syntax Icon Size
Warp scrambler {{icon|warp scrambler}} Icon warp scrambler i.png 64px
Warp disruptor {{icon|warp disruptor}} Icon warp disruptor i.png 64px
Stasis webifier {{icon|stasis webifier}} Icon stasis webifier i.png 64px
ECM / Jamming {{icon|ecm}} File:Icon multispectral ecm i.png 64px
Remote ECM burst {{icon|remote ecm burst}} Icon remote ecm burst i.png 64px
Target painter {{icon|target painter}} Icon target painter i.png 64px

Assistance

Name Syntax Icon Size
Remote armor repair {{icon|remote armor repair}} Icon remote armor repair i.png 64px
Shield transporter {{icon|shield transporter}} Icon shield transporter i.png 64px

Ships

Name Syntax Icon Size
Small target {{icon|small target|16}} Icon target frigate.png 16px
Medium target {{icon|medium target|16}} Icon target cruiser.png 16px
Large target {{icon|large target|16}} Icon target battleship.png 16px

Resists

Name Syntax Icon Size
Electromagnetic {{icon|em resist}} Icon resist em.png 32px
Thermal {{icon|th resist}} Icon resist therm.png 32px
Explosive {{icon|ex resist}} Icon resist exp.png 32px
Kinetic {{icon|ki resist}} Icon resist kin.png 32px