Vorlage:Tweet: Unterschied zwischen den Versionen
Boldly updating to use {{Quote box}} internally. I've checked the testcases and tested manually. If this breaks an article though, feel free to revert.
(Undid revision 984195793 by Anne drew Andrew and Drew (talk)) |
(Boldly updating to use {{Quote box}} internally. I've checked the testcases and tested manually. If this breaks an article though, feel free to revert.) |
||
Zeile 1: | Zeile 1: | ||
<includeonly> | <includeonly>{{Quote box|align={{#if: {{{left|}}}|left|{{#if: {{{block|}}}|none|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: {{{username|}}}||{{Formatting error|Missing <u>username</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!-- | ||
-->{{#if: {{{date|}}}||{{Formatting error|Missing <u>date</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!-- | -->{{#if: {{{date|}}}||{{Formatting error|Missing <u>date</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!-- | ||
Zeile 19: | Zeile 11: | ||
||{{Formatting error|<u>reference</u> or <u>ID</u> parameter required.<br>|nocategory={{{nocategory|}}}}} | ||{{Formatting error|<u>reference</u> or <u>ID</u> parameter required.<br>|nocategory={{{nocategory|}}}}} | ||
}} | }} | ||
<table role="presentation" style="line-height: 1em; width: 100 | <table role="presentation" style="line-height: 1em; width: 100%;"> | ||
<tr> | <tr> | ||
{{#if: {{{image|}}} | {{#if: {{{image|}}} | ||
Zeile 32: | Zeile 24: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style="color: #4C545C; white-space: nowrap | <td style="color: #4C545C; white-space: nowrap;">@{{{username|}}}</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
{{#if: {{{replyto|}}}| | {{#if: {{{replyto|}}}| | ||
<div style="color: #4C545C; font-size: | <div style="color: #4C545C; font-size: 95%;"> | ||
Replying to @{{{replyto|}}} | |||
</div> | </div> | ||
|}} | |}} | ||
{{#if: {{{lang|{{{language|}}}}}} | {{#if: {{{lang|{{{language|}}}}}} | ||
|<div style=' | |<div style='color: #1c2022; text-align: left'> | ||
{{lang-{{{lang|{{{language|}}}}}}|{{{text|}}}}} | |||
</div> | </div> | ||
|<div style=' | |<div style='color: #1c2022; text-align: left'> | ||
{{{text|}}} | |||
</div> | </div> | ||
}} | }} | ||
{{#if: {{{translation|}}}| | {{#if: {{{translation|}}}| | ||
<hr style="height: 0; border: 0; border-top: 1px solid #aaa; margin: 10px 0 10px 0;"> | <hr style="height: 0; border: 0; border-top: 1px solid #aaa; margin: 10px 0 10px 0;"> | ||
<div | <div> | ||
{{{translation|}}} | |||
</div> | </div> | ||
|}} | |}} | ||
<div style="color: #4C545C | <div style="color: #4C545C;"> | ||
{{{date|}}}<!-- | |||
-->{{{reference|{{{ref | -->{{{reference|{{{ref | ||
|{{#tag:ref|{{cite tweet|user= {{{username}}} |author= {{{name|}}} |number= {{{ID|{{{id|}}}}}} |date= {{{date}}} |title= {{#invoke:String|replace|{{{text}}}|%s+| |plain=false}} }} }} | |{{#tag:ref|{{cite tweet|user= {{{username}}} |author= {{{name|}}} |number= {{{ID|{{{id|}}}}}} |date= {{{date}}} |title= {{#invoke:String|replace|{{{text}}}|%s+| |plain=false}} }} }} | ||
}}}}}} | }}}}}} | ||
</div> | </div> | ||
}} | |||
</includeonly><noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |