Difference between revisions of "User:Cassiel Seraphim/Sandbox3"
Line 79: | Line 79: | ||
| ecm = icon_multispectral_ecm_i | | ecm = icon_multispectral_ecm_i | ||
| #default = {{{1}}} | | #default = {{{1}}} | ||
− | }}.png|{{#switch: {{{2|}}} | = | + | }}.png|{{#switch: {{{2|}}} | = 32 | #default = {{{2}}}}}px|{{#switch: {{{3|}}} | = | #default = {{{3}}}}}]]<noinclude> |
= Syntax = | = Syntax = | ||
The function takes up to three parameters. | The function takes up to three parameters. | ||
Line 88: | Line 88: | ||
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 ''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 | + | 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 [[Special:random|random page]] wiki-links, but will simply strip the link-coding from them or present the unmodified plain text of a function, like ''"Special:random"'' for the renamed link in this sentence. | 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 link-coding from them or present the unmodified plain text of a function, like ''"Special:random"'' for the renamed link in this sentence. | ||
Line 174: | Line 174: | ||
|- | |- | ||
| small | | small | ||
− | | {{User:Cassiel_seraphim/Sandbox3|small}} | + | | {{User:Cassiel_seraphim/Sandbox3|small|16}} |
| 16px | | 16px | ||
|- | |- | ||
| medium | | medium | ||
− | | {{User:Cassiel_seraphim/Sandbox3|medium}} | + | | {{User:Cassiel_seraphim/Sandbox3|medium|16}} |
| 16px | | 16px | ||
|- | |- | ||
| large | | large | ||
− | | {{User:Cassiel_seraphim/Sandbox3|large}} | + | | {{User:Cassiel_seraphim/Sandbox3|large|16}} |
| 16px | | 16px | ||
|} | |} |
Revision as of 23:18, 2 April 2013
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 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 random page wiki-links, but will simply strip the link-coding from them or present the unmodified plain text of a function, like "Special:random" for the renamed link in this sentence.
Examples
Description | Syntax | Result |
---|---|---|
Warp scrambler | {{User:Cassiel_seraphim/Sandbox3|scram}} | User:Cassiel seraphim/Sandbox3 |
Warp disruptor | {{User:Cassiel_seraphim/Sandbox3|point|32}} | User:Cassiel seraphim/Sandbox3 |
Stasis webifier | {{User:Cassiel_seraphim/Sandbox3||||''Slow'', '''slower''', webbed''}} | User:Cassiel seraphim/Sandbox3 |
ECM / Jamming | {{User:Cassiel_seraphim/Sandbox3|ecm||Jamming in the [[Falcon|lovely falcon]]!}} | User:Cassiel seraphim/Sandbox3 |
Target painter | {{User:Cassiel_seraphim/Sandbox3|tp}} | User:Cassiel seraphim/Sandbox3 |
Remote ECM burst | {{User:Cassiel_seraphim/Sandbox3|remote ecm burst|64|Remote ECM burst}} | User:Cassiel seraphim/Sandbox3 |
List of icons
Below is a list of icons sorted by type.
Electronic Warfare
Name | Icon | Size |
---|---|---|
Warp scrambler | User:Cassiel seraphim/Sandbox3 | 64px |
Warp disruptor | User:Cassiel seraphim/Sandbox3 | 64px |
Stasis webifier | User:Cassiel seraphim/Sandbox3 | 64px |
ECM / Jamming | User:Cassiel seraphim/Sandbox3 | 64px |
Remote ECM burst | User:Cassiel seraphim/Sandbox3 | 64px |
Target painter | User:Cassiel seraphim/Sandbox3 | 64px |
Assistance
Remote armor repair | User:Cassiel seraphim/Sandbox3 | 64px |
Shield transporter | User:Cassiel seraphim/Sandbox3 | 64px |
Ships
Name | Icon | Size |
---|---|---|
small | User:Cassiel seraphim/Sandbox3 | 16px |
medium | User:Cassiel seraphim/Sandbox3 | 16px |
large | User:Cassiel seraphim/Sandbox3 | 16px |