Difference between revisions of "User:Cassiel Seraphim/Sandbox3"

From EVE University Wiki
Jump to: navigation, search
Line 81: Line 81:
 
The ''second parameter'' is the size of the image, in pure numbers. It defaults to 16 (the ''px'' part of the size is omitted from the parameter as it is included in the template).
 
The ''second parameter'' is the size of the image, in pure numbers. It defaults to 16 (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 can handle various text-formatting but cannot take more elaborate wiki-codes.
+
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 [[Special:random|random page]] wiki-links, but will simply strip the coding from them and present the plain text.
  
 
= Examples =
 
= Examples =

Revision as of 21:37, 2 April 2013

Icon stasis webifier i.png

Syntax

The function takes up to three parameters.

  • {{icon|parameter1|parameter2|parameter3}}
Parameters

Each of the parameters are optional, while still allowing for some customization if need be.

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 16 (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 random page wiki-links, but will simply strip the coding from them and present the plain text.

Examples

Description Syntax Result
Warp scrambler {{icon|scram}} User:Cassiel seraphim/Sandbox3
Warp disruptor {{icon|point}} User:Cassiel seraphim/Sandbox3
Stasis webifier {{icon||||Slower, slower, ''webbed''}} User:Cassiel seraphim/Sandbox3
ECM / Jamming {{icon|ecm||Jamming in the '''Falcon!'''}} User:Cassiel seraphim/Sandbox3
Remote ECM burst {{icon|remote ecm burst|16|Remote ECM Burst}} User:Cassiel seraphim/Sandbox3
Target painter {{icon|tp}} User:Cassiel seraphim/Sandbox3
Remote armour repair {{icon|remote ecm}} User:Cassiel seraphim/Sandbox3
Shield transporter {{icon|st|30}} User:Cassiel seraphim/Sandbox3
Small target {{icon|frigate}} User:Cassiel seraphim/Sandbox3
Medium target {{icon|cruiser}} User:Cassiel seraphim/Sandbox3
Large target {{icon|battleship|16|Large target}} User:Cassiel seraphim/Sandbox3