Vorlage:Tweet/sandbox: Unterschied zwischen den Versionen

K
65 Versionen von wpen:Template:Tweet/sandbox importiert
(float)
K (65 Versionen von wpen:Template:Tweet/sandbox importiert)
 
(53 dazwischenliegende Versionen von 9 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<includeonly><blockquote style="background-color:#F9F9F9; padding:10px; border: 1px solid #aaa;
{{#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|}}} }} | {{#if:{{{ref-id|}}}|name={{{ref-id}}}}} }}<noinclude>
    {{#if: {{{block|}}}
        |display:block; margin:12.25px 40px; max-width: {{{width|650px}}};
        |{{#if: {{{left|}}}
            |clear:left; float:left; margin:0.5em 1.4em 0.8em 0;
            |clear:right; float:right; margin:0.5em 0 0.8em 1.4em;
        }} max-width: {{{width|280px}}};
    }}">
    {{#if: {{{name|}}}||{{Formatting error|Missing <u>name</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!--
-->{{#if: {{{username|}}}||{{Formatting error|Missing <u>username</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!--
-->{{#if: {{{date|}}}||{{Formatting error|Missing <u>date</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!--
-->{{#if: {{{text|}}}||{{Formatting error|Missing <u>text</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!--
-->{{#ifeq: {{extract|{{{date|}}}|show=format}} | dmy
        ||{{#ifeq: {{extract|{{{date|}}}|show=format}} | mdy
            ||{{Formatting error|<u>date</u> parameter [[MOS:DATE|improperly formatted]] or missing information.<br>|nocategory={{{nocategory|}}}}}
          }}
    }}<!--
-->{{#if: {{{ID|{{{id|{{{reference|{{{ref|}}}}}}}}}}}}
        ||{{Formatting error|<u>reference</u> or <u>ID</u> parameter required.<br>|nocategory={{{nocategory|}}}}}
    }}
    <table style="line-height:1em; width:100%; font-size:11px;">
        <tr>
            {{#if: {{{image|}}}
                |<td rowspan=2 style="padding-right:5px; width:28px;">[[File:{{{image|}}}|28px]]</td>
            |}}
            <th style="text-align:left; white-space:nowrap;">{{{name|}}}<!--
            -->{{#if: {{{unverified|}}}
                    ||<span title="Verified Twitter account" style="color:#1DA1F2; padding-left:5px;">✓</span>
                }}
            </th>     
            <td style="text-align:right; color:#5B6671;">via [[Twitter]]</td>
        </tr>
        <tr>
            <td style="color:#5B6671; white-space:nowrap;">@{{{username|}}}</td>
        </tr>
    </table>
    {{#if: {{{replyto|}}}|
        <p style="color:#5B6671; font-size:11px;">
            Replying to @{{{replyto|}}}
        </p>
    |}}
    {{#if: {{{lang|}}}
        |<p style='font-size:11.25px; font-style: italic;' lang="{{{lang|}}}">
            {{{text|}}}
        </p>
        |<p style='font-size:11.75px;'>
            {{{text|}}}
        </p>
    }}
    {{#if: {{{translation|}}}|
        <hr style="height:0; border:0; border-top:1px solid #e1e8ed; margin: 10px 0 10px 0;">
        <p style="font-size:11.75px;" lang="en">
            {{{translation|}}}
        </p>
    |}}
    <p style="color:#5B6671; font-size:11px;">
        {{{date|}}}<!--
    -->{{{reference|{{{ref
            |{{#tag:ref|{{cite tweet|user= {{{username}}} |number= {{{ID|{{{id|}}}}}} |date= {{{date}}} |title= {{{text}}} }} }}
        }}}}}}<!--
    --><span style="float:right;">{{v|t|e|template=Tweet}}</span>
    </p>
</blockquote></includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>