Vorlage:Tweet: Unterschied zwischen den Versionen
beautify
(handle margins for left-aligned tweet) |
(beautify) |
||
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-{{#if: {{{left|}}}|right|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}};"> | ||
{{#if: {{{image|}}}|<td rowspan=2 style="padding-right:5px">[[File:{{{image|}}}|28px]]</td> | <table style="line-height:1em"> | ||
|}} | <tr> | ||
<th>{{{name|}}}{{#if: {{{unverified|}}}||<span title="Verified Account" style="color:#1DA1F2; padding-left:5px;">✓</span>}}</th> | {{#if: {{{image|}}}| | ||
<td rowspan=2 style="padding-right:5px">[[File:{{{image|}}}|28px]]</td> | |||
|}} | |||
<td style="color:#697882;">@{{{username|}}}</td> | <th>{{{name|}}}{{#if: {{{unverified|}}}||<span title="Verified Account" style="color:#1DA1F2; padding-left:5px;">✓</span>}}</th> | ||
</tr></table> | </tr> | ||
{{#if: {{{replyto|}}}|<p style="color:#697882;"> | <tr> | ||
Replying to @{{{replyto|}}} | <td style="color:#697882;">@{{{username|}}}</td> | ||
</p>|}} | </tr> | ||
<p style="font-size:12px;"> | </table> | ||
{{{text|}}} | {{#if: {{{replyto|}}}| | ||
</p> | <p style="color:#697882;"> | ||
<p> | Replying to @{{{replyto|}}} | ||
<span style="color:rgb(105, 120, 130); padding-right:1px;">{{{date|}}}</span> | </p>|}} | ||
{{{reference|{{#tag:ref|{{cite tweet|user= {{{username}}} |number= {{{id}}} |date= {{{date}}} |title= {{{text}}} }}}}}}} | <p style="font-size:12px;"> | ||
{{{text|}}} | |||
</p> | |||
<p> | |||
<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}}} }}}}}}} | |||
</p> | |||
</div><noinclude> | </div><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |