Difference between revisions of "Template:HRP-Description"

 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div id="hrp-desc" style="width: {{{Width|300}}}px; float: left;">
+
<div id="hrp-desc" style="width: {{{Width|33}}}%; max-width:500; min-width:200;float: left;">
<div class="{{#var:Style|default}}" style="width: {{#expr: {{{Width|300}}} - 5}}; margin-left: auto; margin-right: auto; ">
+
<div class="{{#var:Style|default}}" style="width: 98%; margin-left: auto; margin-right: auto;  margin-bottom: -1000px; padding-bottom: 1000px;">
<div style="text-align: center; float: left; margin-right: 4px;">{{#if:{{{Picture|}}}|[[File:{{{Picture}}}|{{#expr: {{{Width|300}}}/2 round 0}}px]]|}}</div>
+
<div style="text-align: center; float: left; margin-right: 4px;">{{#if:{{{Picture|}}}|[[File:{{{Picture}}}|class=fit]]|}}</div>
 
{{{Description|}}}
 
{{{Description|}}}
 
</div>
 
</div>
 
</div>
 
</div>

Latest revision as of 18:34, 30 January 2021