Vorlage:Tweet/sandbox: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
Keine Bearbeitungszusammenfassung
K (65 Versionen von wpen:Template:Tweet/sandbox importiert)
 
(47 dazwischenliegende Versionen von 7 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|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|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 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; margin-top: -0.5em; 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:#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:90%;">
            Replying to @{{{replyto|}}}
        </p>
    |}}
    {{#if: {{{lang|{{{language|}}}}}}
        |<p style='font-size:90%;'>
            {{lang-{{{lang|{{{language|}}}}}}|{{{text|}}}}}
        </p>
        |<p style='font-size:90%;'>
            {{{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:#5B6671; 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>

Aktuelle Version vom 8. Februar 2023, 18:23 Uhr

[1]

Template-info.png Dokumentation für die Vorlage {{Tweet/sandbox}}[Ansicht] [Bearbeiten] [Versionsgeschichte] [Aktualisieren]
Für die Vorlage {{Tweet/sandbox}} gibt es noch keine Dokumentation. Du kannst sie aber anlegen.
Hinweise
  1. @{{{username}}}. "{{{text}}}" (Tweet) – via Twitter. Missing or empty |number= (help)