Template:AssetIcon: Difference between revisions

From Beacon Space
Content deleted Content added
Initial attempt at asset icon stacking template
 
m New test
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="asset_icon {{{faction|black}}}" style="width: {{{size|100px}}}; height: {{{size|100px}}}; {{#if: {{{float|}}}|float: {{{float}}}}} {{#if: {{{center|}}}|margin: 0 auto;}}">
<div class="asset_icon">
<templatestyles src="AssetIcon.css" />
<templatestyles src="AssetIcon.css" />
[[File:{{{asset|Distorted_Lense}}}.png]]
<div class="square_background {{{faction|black}}}" style="width: {{{size|100}}}px; height: {{{size|100}}}px">
</div>
<div class="asset_overlay" style="width: {{{size|100}}}px; height: {{{size|100}}}px">
[[File:{{{asset|Distored_lens}}}.png|{{{size|100}}}px]]
<div>
</div>
</div>

Latest revision as of 20:21, 15 July 2023