Change to X |
Require update. |
||
| Line 1: | Line 1: | ||
<includeonly>{{ | <templatestyles src="Template:Quote box/styles.css" /><includeonly><div role=complementary class=quotebox style="{{#if: {{{style|}}}|{{{style}}};}} {{#if: {{{block|}}}|margin:1rem 40px;overflow:auto|}};float:{{#if: {{{left|}}}|left;margin:.5em 1.4em .8em 0|{{#if: {{{block|}}}|none|right;margin:.5em 0 .8em 1.4em}}}};clear:{{#if: {{{left|}}}|left|{{#if: {{{block|}}}|none|right}}}};width:{{#if: {{{block|}}}|{{{width|500px}}}|{{{width|220px}}}}}">{{#if: {{{name|}}}||{{Formatting error|Missing <code>name</code> parameter.<br />|nocategory={{{nocategory|}}}}}}}<!-- | ||
-->{{#if: {{{username|}}}||{{Formatting error|Missing < | -->{{#if: {{{username|}}}||{{Formatting error|Missing <code>username</code> parameter.<br />|nocategory={{{nocategory|}}}}}}}<!-- | ||
-->{{#if: {{{date|{{#if:{{{id|}}}|{{TwitterSnowflake|{{{id}}}}}}}}}}||{{Formatting error|Invalid < | -->{{#if: {{{date|{{#if:{{{id|}}}|{{TwitterSnowflake|{{{id}}}}}}}}}}||{{Formatting error|Invalid <code>date</code> parameter.<br />|nocategory={{{nocategory|}}}}}}}<!-- | ||
-->{{#if: {{{text|}}}||{{Formatting error|Missing < | -->{{#if: {{{text|}}}||{{Formatting error|Missing <code>text</code> parameter.<br />|nocategory={{{nocategory|}}}}}}}<!-- | ||
-->{{#ifeq: {{extract|{{{date|{{#if:{{{id|}}}|{{TwitterSnowflake|{{{id}}}}}}}}}}|show=format}} | dmy | -->{{#ifeq: {{extract|{{{date|{{#if:{{{id|}}}|{{TwitterSnowflake|{{{id}}}}}}}}}}|show=format}} | dmy | ||
||{{#ifeq: {{extract|{{{date|{{#if:{{{id|}}}|{{TwitterSnowflake|{{{id}}}}}}}}}}|show=format}} | mdy | ||{{#ifeq: {{extract|{{{date|{{#if:{{{id|}}}|{{TwitterSnowflake|{{{id}}}}}}}}}}|show=format}} | mdy | ||
||{{Formatting error|< | ||{{Formatting error|<code>date</code> parameter should be [[MOS:DATE|reformatted]] to look like:<br />''1 Jan 1970'' or ''Jan 1, 1970''<br />or removed.<br />|nocategory={{{nocategory|}}}}} | ||
}} | }} | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{ID|{{{id|{{{reference|{{{ref|}}}}}}}}}}}} | -->{{#if: {{{ID|{{{id|{{{reference|{{{ref|}}}}}}}}}}}} | ||
||{{Formatting error|< | ||{{Formatting error|<code>reference</code> or <code>ID</code> parameter required.<br />|nocategory={{{nocategory|}}}}} | ||
}} | }} | ||
<table role="presentation" style="line-height: | <table role="presentation" style="line-height: normal; width: 100%; background: transparent; color: inherit; display: table; margin: 0;"> | ||
<tr> | <tr> | ||
{{#if: {{{image|}}} | {{#if: {{{image|}}} | ||
|<td | |<td style="padding-right: 5px; width: 28px;"> | ||
<div style="height: 28px; width: 28px; padding: 0; border-radius: 50%; overflow: hidden;"> | <div style="height: 28px; width: 28px; padding: 0; border-radius: 50%; overflow: hidden;"> | ||
[[File:{{{image|}}}| | [[File:{{{image|}}}|center|28px|Avatar of {{{name|}}}]] | ||
</div> | </div> | ||
</td> | </td> | ||
|}} | |}} | ||
< | <td style="text-align: left; white-space: nowrap;">'''{{{name|}}}''' <div style="white-space: nowrap;">{{screen reader-only|(}}@{{{username|}}}{{screen reader-only|)}}</div>{{screen reader-only| tweeted:}}</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
{{#if: {{{replyto|}}}| | {{#if: {{{replyto|}}}| | ||
<div style=" | <div style="font-size: 95%;"> | ||
Replying to @{{{replyto|}}} | Replying to @{{{replyto|}}} | ||
</div> | </div> | ||
|}} | |}} | ||
{{#if: {{{lang|{{{language|}}}}}} | {{#if: {{{lang|{{{language|}}}}}}|<div style=margin-top:0.5em></div>{{ISO 639 name|{{{lang|{{{language|}}}}}}|link=yes}}: <blockquote style=display:inline;font-style:italic lang={{{lang|{{{language|}}}}}}><div style=display:inline>{{{text|}}}{{{embed|}}}</div></blockquote>|<blockquote style="text-align: left"><div style="margin:0.5em 0;padding:0">{{{text|}}}{{{embed|}}}</div></blockquote>}} | ||
{{lang-{{{lang|{{{language|}}}}}} | |||
{{{text|}}} | |||
{{#if: {{{translation|}}}| | {{#if: {{{translation|}}}| | ||
<hr style="height: 0; border: 0; border-top: 1px solid # | <div style=margin-top:0.5em></div><hr style="height: 0; border: 0; border-top: 1px solid var(--border-color-base, #a2a9b1); margin: 10px 0 10px 0;">{{screen reader-only|Translation:}} | ||
< | <blockquote><p style="margin:0.5em 0;padding:0"> | ||
{{{translation|}}} | {{{translation|}}} | ||
</ | </p></blockquote> | ||
|}} | |}} | ||
< | <p style=margin:0;padding:0><!-- | ||
{{{date|{{#if:{{{id|}}}|{{TwitterSnowflake|{{{id}}}}}}}}}}<!-- | -->{{{date|{{#if:{{{id|}}}|{{TwitterSnowflake|{{{id}}}}}}}}}}<!-- | ||
-->{{{reference|{{{ref | -->{{{reference|{{{ref | ||
|{{#tag:ref|{{cite tweet|user= {{{username}}} |author= {{{name|}}} |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|}}} }} }} | |{{#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|}}} }} | name={{{ref-name|Tweet{{{username}}}}}} }} | ||
}}}}}} | }}}}}}<!-- | ||
--></p> | |||
</div></includeonly><noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||