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: | <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> | ||{{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:# | <td style="text-align:right; color:#5B6671;">via [[Twitter]]</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style="color:# | <td style="color:#5B6671; white-space:nowrap;">@{{{username|}}}</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
{{#if: {{{replyto|}}}| | {{#if: {{{replyto|}}}| | ||
<p style="color:# | <p style="color:#5B6671; font-size:11px;"> | ||
Replying to @{{{replyto|}}} | Replying to @{{{replyto|}}} | ||
</p> | </p> | ||
| Zeile 55: | Zeile 54: | ||
</p> | </p> | ||
|}} | |}} | ||
<p style="color: | <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}} | ||
</noinclude> | </noinclude> | ||