Zum Inhalt springen

Vorlage:Tweet: Unterschied zwischen den Versionen

use Template:Quote Box styling per talk
(add date checking)
(use Template:Quote Box styling per talk)
Zeile 1: Zeile 1:
<includeonly><blockquote style="background-color:white; padding:10px; border: 1px solid #e1e8ed; border-radius:3px;
<includeonly><blockquote style="background-color:#F9F9F9; padding:10px; border: 1px solid #aaa;
     {{#if: {{{block|}}}
     {{#if: {{{block|}}}
         |display:block; margin:12.25px 40px; max-width: {{{width|650px}}};
         |display:block; margin:12.25px 40px; max-width: {{{width|650px}}};
Zeile 13: Zeile 13:
  -->{{#ifeq: {{extract|{{{date|}}}|show=format}} | dmy
  -->{{#ifeq: {{extract|{{{date|}}}|show=format}} | dmy
         ||{{#ifeq: {{extract|{{{date|}}}|show=format}} | mdy
         ||{{#ifeq: {{extract|{{{date|}}}|show=format}} | mdy
             ||{{Formatting error|<u>Date</u> parameter [[MOS:DATE|improperly formatted]] or missing information.<br>|nocategory={{{nocategory|}}}}}
             ||{{Formatting error|<u>date</u> parameter [[MOS:DATE|improperly formatted]] or missing information.<br>|nocategory={{{nocategory|}}}}}
           }}
           }}
     }}<!--
     }}<!--
Zeile 29: Zeile 29:
                 }}
                 }}
             </th>       
             </th>       
             <td style="text-align:right; color:#697882;">via [[Twitter]]</td>
             <td style="text-align:right; color:#5B6671;">via [[Twitter]]</td>
         </tr>
         </tr>
         <tr>
         <tr>
             <td style="color:#697882; white-space:nowrap;">@{{{username|}}}</td>
             <td style="color:#5B6671; 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:#5B6671; font-size:11px;">
             Replying to @{{{replyto|}}}
             Replying to @{{{replyto|}}}
         </p>
         </p>
Zeile 55: Zeile 54:
         </p>
         </p>
     |}}
     |}}
     <p style="color:rgb(105, 120, 130); font-size:11px;">
     <p style="color:#5B6671; font-size:11px;">
         {{{date|}}}<!--
         {{{date|}}}<!--
     -->{{{reference|{{{ref
     -->{{{reference|{{{ref
             |{{#tag:ref|{{cite tweet|user= {{{username}}} |number= {{{ID|{{{id|}}}}}} |date= {{{date}}} |title= {{{text}}} }} }}
             |{{#tag:ref|{{cite tweet|user= {{{username}}} |number= {{{ID|{{{id|}}}}}} |date= {{{date}}} |title= {{{text}}} }} }}
         }}}}}}
         }}}}}}<!--
    --><span style="float:right;">{{v|t|e|template=Tweet}}</span>
     </p>
     </p>
</blockquote></includeonly><noinclude>
</blockquote></includeonly><noinclude>
{{Documentation}}
{{documentation}}
</noinclude>
</noinclude>