Vorlage:Tweet: Unterschied zwischen den Versionen

hopefully this resolves problems
(changes to margins)
(hopefully this resolves problems)
Zeile 1: Zeile 1:
<div style="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="font-size:11px; background-color:white; border: 1px solid #e1e8ed; border-radius:3px; width:280px; margin-left:1em; float:{{#if: {{{left|}}}|left|right}};"><table style="line-height:1em; padding:10px 10px 0 10px;"><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>
|}}
|}}
Zeile 7: Zeile 7:
<td style="color:#697882;">@{{{username|}}}</td>
<td style="color:#697882;">@{{{username|}}}</td>
</tr></table>
</tr></table>
{{#if: {{{replyto|}}}|<p style="color:#697882;">
{{#if: {{{replyto|}}}|<p style="color:#697882; padding:0 10px; 0 10px;">
Replying to @{{{replyto|}}}
Replying to @{{{replyto|}}}
</p>|}}
</p>|}}
<p style="font-size:12px;">
<p style="font-size:12px; padding:0 10px; 0 10px;">
{{{text|}}}
{{{text|}}}
</p>
</p>
<p>
<p style="padding:0 10px; 10px 10px;">
<span style="color:rgb(105, 120, 130); padding-right:1px;">{{{date|}}}</span>
<span style="color:rgb(105, 120, 130); padding-right:1px;">{{{date|}}}</span>
{{{reference|{{#tag:ref|{{cite tweet|user= {{{username}}} |number= {{{id}}} |date= {{{date}}} |title= {{{text}}} }}}}}}}
{{{reference|{{#tag:ref|{{cite tweet|user= {{{username}}} |number= {{{id}}} |date= {{{date}}} |title= {{{text}}} }}}}}}}