Vorlage:Tweet: Unterschied zwischen den Versionen
p -> div to support multiline; add role for accessibility
(→top: we don't rotate things on Wikipedia so there isn't a reason to hedge against this; was all this copy-pasted from Twitter's CSS or something???) |
(p -> div to support multiline; add role for accessibility) |
||
Zeile 19: | Zeile 19: | ||
||{{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 style="line-height: 1em; width: 100%; font-size: 90%;"> | <table role="presentation" style="line-height: 1em; width: 100%; font-size: 90%;"> | ||
<tr> | <tr> | ||
{{#if: {{{image|}}} | {{#if: {{{image|}}} | ||
Zeile 36: | Zeile 36: | ||
</table> | </table> | ||
{{#if: {{{replyto|}}}| | {{#if: {{{replyto|}}}| | ||
< | <div style="color: #4C545C; font-size: 85%;"> | ||
Replying to @{{{replyto|}}} | Replying to @{{{replyto|}}} | ||
</ | </div> | ||
|}} | |}} | ||
{{#if: {{{lang|{{{language|}}}}}} | {{#if: {{{lang|{{{language|}}}}}} | ||
|< | |<div style='font-size: 90%; color: #1c2022; text-align: left'> | ||
{{lang-{{{lang|{{{language|}}}}}}|{{{text|}}}}} | {{lang-{{{lang|{{{language|}}}}}}|{{{text|}}}}} | ||
</ | </div> | ||
|< | |<div style='font-size: 90%; color: #1c2022; text-align: left'> | ||
{{{text|}}} | {{{text|}}} | ||
</ | </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 style="font-size: 90%;"> | ||
{{{translation|}}} | {{{translation|}}} | ||
</ | </div> | ||
|}} | |}} | ||
< | <div style="color: #4C545C; font-size: 90%;"> | ||
{{{date|}}}<!-- | {{{date|}}}<!-- | ||
-->{{{reference|{{{ref | -->{{{reference|{{{ref | ||
|{{#tag:ref|{{cite tweet|user= {{{username}}} |author= {{{name|}}} |number= {{{ID|{{{id|}}}}}} |date= {{{date}}} |title= {{{text}}} }} }} | |{{#tag:ref|{{cite tweet|user= {{{username}}} |author= {{{name|}}} |number= {{{ID|{{{id|}}}}}} |date= {{{date}}} |title= {{{text}}} }} }} | ||
}}}}}} | }}}}}} | ||
</ | </div> | ||
</blockquote></includeonly><noinclude> | </blockquote></includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |