Vorlage:Tweet/sandbox: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
(nocategory)
(Syncing sandbox code with main template (sync-template-sandbox.js))
Zeile 1: Zeile 1:
<includeonly>
<includeonly><blockquote style="background-color:white; padding:10px; border: 1px solid #e1e8ed; border-radius:3px;
<blockquote style="{{#if: {{{block|}}}|display:block; margin:12.25px 40px;|{{#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}}}}; background-color:white; border: 1px solid #e1e8ed; border-radius:3px; max-width:{{#if: {{{block|}}}|{{{width|650px}}}|{{{width|280px}}}}}; padding:10px;">
    {{#if: {{{block|}}}
    {{#if: {{{name|}}}||{{Formatting error|Missing name parameter.<br>|nocategory={{{nocategory|}}}}}}}{{#if: {{{username|}}}||{{Formatting error|Missing username parameter.<br>|nocategory={{{nocategory|}}}}}}}{{#if: {{{date|}}}||{{Formatting error|Missing date parameter.<br>|nocategory={{{nocategory|}}}}}}}{{#if: {{{text|}}}||{{Formatting error|Missing text parameter.<br>|nocategory={{{nocategory|}}}}}}}
        |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;">
     <table style="line-height:1em; width:100%; font-size:11px;">
         <tr>
         <tr>
             {{#if: {{{image|}}}|
             {{#if: {{{image|}}}
            <td rowspan=2 style="padding-right:5px; width:28px;">[[File:{{{image|}}}|28px]]</td>
                |<td rowspan=2 style="padding-right:5px; width:28px;">[[File:{{{image|}}}|28px]]</td>
             |}}
             |}}
             <th style="text-align:left;">{{{name|}}}{{#if: {{{unverified|}}}||<span title="Verified Twitter account" style="color:#1DA1F2; padding-left:5px;">✓</span>}}</th>
             <th style="text-align:left; white-space:nowrap;">{{{name|}}}<!--
             <td rowspan=2 style="text-align:right">{{v|t|e|template=Tweet}}</td>
            -->{{#if: {{{unverified|}}}
                    ||<span title="Verified Twitter account" style="color:#1DA1F2; padding-left:5px;">✓</span>
                }}
            </th>    
             <td style="text-align:right; color:#697882;">via [[Twitter]]</td>
         </tr>
         </tr>
         <tr>
         <tr>
             <td style="color:#697882;">@{{{username|}}}</td>
             <td style="color:#697882; white-space:nowrap;">@{{{username|}}}</td>
            <td style="text-align:right;">{{v|t|e|template=Tweet}}</td>
         </tr>
         </tr>
     </table>
     </table>
     {{#if: {{{replyto|}}}|
     {{#if: {{{replyto|}}}|
    <p style="color:#697882; font-size:11px;">
        <p style="color:#697882; font-size:11px;">
        Replying to @{{{replyto|}}}
            Replying to @{{{replyto|}}}
     </p>|}}
        </p>
     <p style="font-size:11.75px;">
    |}}
        {{{text|}}}
     {{#if: {{{lang|}}}
    </p>
        |<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:rgb(105, 120, 130); font-size:11px;">
     <p style="color:rgb(105, 120, 130); font-size:11px;">
         {{{date|}}} via [[Twitter]]{{{reference|{{#tag:ref|{{cite tweet|user= {{{username}}} |number= {{{id}}} |date= {{{date}}} |title= {{{text}}} }}}}}}}
         {{{date|}}}<!--
    -->{{{reference|{{{ref
            |{{#tag:ref|{{cite tweet|user= {{{username}}} |number= {{{ID|{{{id|}}}}}} |date= {{{date}}} |title= {{{text}}} }} }}
        }}}}}}
     </p>
     </p>
</blockquote></includeonly><noinclude>
</blockquote></includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Version vom 13. März 2018, 00:39 Uhr

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