Vorlage:Tweet: Unterschied zwischen den Versionen

K
168 Versionen von wpen:Template:Tweet importiert
K (change body size)
K (168 Versionen von wpen:Template:Tweet importiert)
 
(145 dazwischenliegende Versionen von 29 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<div style="font-size:11px; background-color:white; border: 1px solid #e1e8ed; border-radius:3px; width:350px; padding:10px; margin:5px; float:{{#if: {{{left|}}}|left|right}};">
<includeonly>{{Quote box|style={{#if: {{{block|}}}|margin:1rem 40px;|}}|align={{#if: {{{left|}}}|left|{{#if: {{{block|}}}|none|right}}}}|width={{#if: {{{block|}}}|{{{width|500px}}}|{{{width|220px}}}}}|quote={{#if: {{{name|}}}||{{Formatting error|Missing <u>name</u> parameter.<br />|nocategory={{{nocategory|}}}}}}}<!--
<table style="line-height:1em"><tr>
-->{{#if: {{{username|}}}||{{Formatting error|Missing <u>username</u> parameter.<br />|nocategory={{{nocategory|}}}}}}}<!--
{{#if: {{{image|}}}|<td rowspan=2 style="padding-right:5px">[[File:{{{image|}}}|28px]]</td>
-->{{#if: {{{date|{{#if:{{{id|}}}|{{TwitterSnowflake|{{{id}}}}}}}}}}||{{Formatting error|Invalid <u>date</u> parameter.<br />|nocategory={{{nocategory|}}}}}}}<!--
|}}
-->{{#if: {{{text|}}}||{{Formatting error|Missing <u>text</u> parameter.<br />|nocategory={{{nocategory|}}}}}}}<!--
<th>{{{name|}}}{{#if: {{{unverified|}}}||<span title="Verified Account" style="color:#1DA1F2; padding-left:5px;">✓</span>}}</th>
-->{{#ifeq: {{extract|{{{date|{{#if:{{{id|}}}|{{TwitterSnowflake|{{{id}}}}}}}}}}|show=format}} | dmy
<td rowspan=2></td>
        ||{{#ifeq: {{extract|{{{date|{{#if:{{{id|}}}|{{TwitterSnowflake|{{{id}}}}}}}}}}|show=format}} | mdy
</tr><tr>
            ||{{Formatting error|<u>date</u> parameter should be [[MOS:DATE|reformatted]] to look like:<br />''1 Jan 1970'' or ''Jan 1, 1970''<br />or removed.<br />|nocategory={{{nocategory|}}}}}
<td style="color:#697882;">@{{{username|}}}</td>
          }}
</tr></table>
    }}<!--
{{#if: {{{replyto|}}}|<p style="color:#697882;">
-->{{#if: {{{ID|{{{id|{{{reference|{{{ref|}}}}}}}}}}}}
        ||{{Formatting error|<u>reference</u> or <u>ID</u> parameter required.<br />|nocategory={{{nocategory|}}}}}
    }}
    <table role="presentation" style="line-height: 1em; width: 100%;">
        <tr>
            {{#if: {{{image|}}}
                |<td rowspan=2 style="padding-right: 5px; width: 28px;">
                    <div style="height: 28px; width: 28px; padding: 0; border-radius: 50%; overflow: hidden;">
                        [[File:{{{image|}}}|left|28px]]
                    </div>
                </td>
            |}}
            <th style="text-align: left; white-space: nowrap;">{{{name|}}}</th>
            <td style="text-align: right; color: #4C545C;">[[Twitter]]</td>
        </tr>
        <tr>
            <td style="color: #4C545C; white-space: nowrap;">@{{{username|}}}</td>
        </tr>
    </table>
    {{#if: {{{replyto|}}}|
        <div style="color: #4C545C; font-size: 95%;">
Replying to @{{{replyto|}}}
Replying to @{{{replyto|}}}
</p>|}}
        </div>
<p style="font-size:12px;">
    |}}
    {{#if: {{{lang|{{{language|}}}}}}
        |<div style='color: #1c2022; text-align: left'>
{{lang-{{{lang|{{{language|}}}}}}|{{{text|}}}}}
        </div>
        |<div style='color: #1c2022; text-align: left'>
{{{text|}}}
{{{text|}}}
</p>
        </div>
<p>
    }}
<span style="color:rgb(105, 120, 130); padding-right:1px;">{{{date|}}}</span>
    {{#if: {{{translation|}}}|
{{#tag:ref|{{cite tweet|user= {{{username}}} |number= {{{id}}} |date= {{{date}}} |title= {{{text}}} }}}}
        <hr style="height: 0; border: 0; border-top: 1px solid #aaa; margin: 10px 0 10px 0;">
</div>
        <div>
 
{{{translation|}}}
<noinclude>
        </div>
{{Documentation}}
    |}}
    <div style="color: #4C545C;">
{{{date|{{#if:{{{id|}}}|{{TwitterSnowflake|{{{id}}}}}}}}}}<!--
    -->{{{reference|{{{ref
            |{{#tag:ref|{{cite tweet|user= {{{username}}} |author= {{{name|}}} |last= {{{last|}}} |first= {{{first|}}} |author-link= {{{author-link|}}} |number= {{{ID|{{{id|}}}}}} |date= {{{date|{{#if:{{{id|}}}|{{TwitterSnowflake|{{{id}}}}}}}}}} |title= {{#invoke:String|replace|{{{text}}}|%s+| |plain=false}} |archive-url= {{{archive-url|}}} |archive-date= {{{archive-date|}}} |url-status= {{{url-status|}}} |ref={{{cite-id|}}} }} | name={{{ref-name|Tweet{{{username}}}}}} }}
        }}}}}}
    </div>
}}</includeonly><noinclude>
{{documentation}}
</noinclude>
</noinclude>