Difference between revisions of "Template:FF-Description"

 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div id="ff-desc" style="width: 300px; float: left;">
+
<div id="ff-desc" style="width: 40%; float: left;">
<div class="{{#var:Style|default}}" style="width: 285px; padding-left: 5px; padding-right: {{#ifeq:{{{Orientation|}}}|RIGHT|5|10}}px; margin-left: {{#ifeq:{{{Orientation|}}}|RIGHT|0|5}}px; margin-right: {{#ifeq:{{{Orientation|}}}|RIGHT|5|0}}px; margin-bottom: -1000px; padding-bottom: 1000px;">
+
<div class="{{#var:Style|default}}" style="width: calc(100% - 15px); padding-left: 5px; padding-right: {{#ifeq:{{{Orientation|}}}|RIGHT|5|10}}px; margin-left: {{#ifeq:{{{Orientation|}}}|RIGHT|0|5}}px; margin-right: {{#ifeq:{{{Orientation|}}}|RIGHT|5|0}}px; margin-bottom: -1000px; padding-bottom: 1000px;">
<div style="text-align: center; float: left; margin-right: 4px;">{{#if:{{{Picture|}}}|[[File:{{{Picture}}}|140px]]|}}</div>
+
<div style="width: 50%; text-align: center; float: left; margin-right: 4px;">{{#if:{{{Picture|}}}|[[File:{{{Picture}}}|class=fit]]|}}</div>
 
{{{Description|}}}
 
{{{Description|}}}
 
<div style="clear: both;"></div>
 
<div style="clear: both;"></div>
 
</div>
 
</div>
 
</div>
 
</div>

Latest revision as of 04:06, 30 January 2021