Template:Icon: Difference between revisions

From Love and Deepspace Wiki
Content added Content deleted
mNo edit summary
No edit summary
Line 12: Line 12:


--><templatestyles src="Template:Icon/styles.css" /><!--
--><templatestyles src="Template:Icon/styles.css" /><!--
--><div class="item-img-icon" style="height: {{{size|100px}}}; width: {{{size|100px}}};">
--><div class="icon-img" style="height: {{{size|100px}}}; width: {{{size|100px}}};">
[[File:{{{image|{{#invoke:String|replace|{{{name|}}}|:|}} icon.png}}}|{{{size|100px}}}|alt={{{name|}}}|link=]]
[[File:{{{image|{{#invoke:String|replace|{{{name|}}}|:|}} icon.png}}}|{{{size|100px}}}|alt={{{name|}}}|link=]]
<div class="item-img-decoration" style="{{#if:{{{rarity|}}} | box-shadow: inset -1px -4px 0px {{#var:itemColor}}; }} height: {{{size|100px}}}; width: {{{size|100px}}};"></div>
<div class="icon-decoration" style="{{#if:{{{rarity|}}} | box-shadow: inset -1px -4px 0px {{#var:itemColor}}; }} height: {{{size|100px}}}; width: {{{size|100px}}};"></div>
</div></includeonly>
</div></includeonly>

Revision as of 02:00, 10 February 2024