More actions
No edit summary |
No edit summary |
||
| 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 | ||
|} | |} | ||