Vorlage:Tweet/sandbox: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
(fix block formatting)
K (65 Versionen von wpen:Template:Tweet/sandbox importiert)
 
(27 dazwischenliegende Versionen von 5 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<includeonly>
{{#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|}}}|<div>|}}
{{Quote box|align={{#if: {{{left|}}}|left|{{#if: {{{block|}}}|left|right}}}}|width={{#if: {{{block|}}}|{{{width|500px}}}|{{{width|220px}}}}}|quote={{#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 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|}}}
        </div>
    |}}
    {{#if: {{{lang|{{{language|}}}}}}
        |<div style='color: #1c2022; text-align: left'>
{{lang-{{{lang|{{{language|}}}}}}|{{{text|}}}}}
        </div>
        |<div style='color: #1c2022; text-align: left'>
{{{text|}}}
        </div>
    }}
    {{#if: {{{translation|}}}|
        <hr style="height: 0; border: 0; border-top: 1px solid #aaa; margin: 10px 0 10px 0;">
        <div>
{{{translation|}}}
        </div>
    |}}
    <div style="color: #4C545C;">
{{{date|}}}<!--
    -->{{{reference|{{{ref
            |{{#tag:ref|{{cite tweet|user= {{{username}}} |author= {{{name|}}} |number= {{{ID|{{{id|}}}}}} |date= {{{date}}} |title= {{#invoke:String|replace|{{{text}}}|%s+| |plain=false}} }} }}
        }}}}}}
    </div>
}}
{{#if: {{{block|}}}|</div>|}}
</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)