Template:AssetIcon: Difference between revisions

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

Latest revision as of 20:21, 15 July 2023