Vorlage:Tweet/sandbox: Unterschied zwischen den Versionen

K
65 Versionen von wpen:Template:Tweet/sandbox importiert
Keine Bearbeitungszusammenfassung
K (65 Versionen von wpen:Template:Tweet/sandbox importiert)
 
(44 dazwischenliegende Versionen von 6 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<includeonly><blockquote class="{{#if:{{{left|}}}|floatleft|floatright}}" style="background-color:#F9F9F9; padding:10px;border-radius:4px; border: 1px solid #dbdbdb;font-size: .9375rem;font-family:'Helvetica',Arial,sans-serif;line-height:1.3333;
{{#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|550px}}};
        |{{#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|220px}}};
    }}">
    {{#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 should be [[MOS:DATE|reformatted]] to look like:<br>''1 Jan 1970'' or ''Jan 1, 1970''.<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:90%;">
        <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;font-size: .0.822rem;">@{{{username|}}}</td>
        </tr>
    </table>
    {{#if: {{{replyto|}}}|
        <p style="color:#4C545C; font-size:80%;font-family:Arial,sans-serif;">
            Replying to @{{{replyto|}}}
        </p>
    |}}
    {{#if: {{{lang|{{{language|}}}}}}
        |<p style='font-size:90%;color:#1c2022'>
            {{lang-{{{lang|{{{language|}}}}}}|{{{text|}}}}}
        </p>
        |<p style='font-size:90%;color:#1c2022'>
            {{{text|}}}
        </p>
    }}
    {{#if: {{{translation|}}}|
        <hr style="height:0; border:0; border-top:1px solid #aaa; margin: 10px 0 10px 0;">
        <p style="font-size:90%;" lang="en">
            {{{translation|}}}
        </p>
    |}}
    <p style="color:#4C545C; font-size:90%;">
        {{{date|}}}<!--
    -->{{{reference|{{{ref
            |{{#tag:ref|{{cite tweet|user= {{{username}}} |author= {{{name|}}} |number= {{{ID|{{{id|}}}}}} |date= {{{date}}} |title= {{{text}}} }} }}
        }}}}}}
    </p>
</blockquote></includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>