Vorlage:Tweet: Unterschied zwischen den Versionen

handle margins for left-aligned tweet
(it was a line break...)
(handle margins for left-aligned tweet)
Zeile 1: Zeile 1:
<div style="position:relative; font-size:11px; background-color:white; border: 1px solid #e1e8ed; border-radius:3px; width:280px; padding:10px; margin-left:1em; float:{{#if: {{{left|}}}|left|right}};"><table style="line-height:1em"><tr>
<div style="position:relative; font-size:11px; background-color:white; border: 1px solid #e1e8ed; border-radius:3px; width:280px; padding:10px; margin-{{#if: {{{left|}}}|right|left}}1em; float:{{#if: {{{left|}}}|left|right}};"><table style="line-height:1em"><tr>
{{#if: {{{image|}}}|<td rowspan=2 style="padding-right:5px">[[File:{{{image|}}}|28px]]</td>
{{#if: {{{image|}}}|<td rowspan=2 style="padding-right:5px">[[File:{{{image|}}}|28px]]</td>
|}}
|}}