Template:AssetIcon: Difference between revisions
Content deleted Content added
m Try to add centering |
m New test |
||
(4 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|{{{center}}}|margin: 0 auto;}}"> |
<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]] |
[[File:{{{asset|Distorted_Lense}}}.png]] |