Zum Inhalt springen

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|}}}|
         <p style="color: #4C545C; font-size: 85%;">
         <div style="color: #4C545C; font-size: 85%;">
             Replying to @{{{replyto|}}}
             Replying to @{{{replyto|}}}
         </p>
         </div>
     |}}
     |}}
     {{#if: {{{lang|{{{language|}}}}}}
     {{#if: {{{lang|{{{language|}}}}}}
         |<p style='font-size: 90%; color: #1c2022; text-align: left'>
         |<div style='font-size: 90%; color: #1c2022; text-align: left'>
             {{lang-{{{lang|{{{language|}}}}}}|{{{text|}}}}}
             {{lang-{{{lang|{{{language|}}}}}}|{{{text|}}}}}
         </p>
         </div>
         |<p style='font-size: 90%; color: #1c2022; text-align: left'>
         |<div style='font-size: 90%; color: #1c2022; text-align: left'>
             {{{text|}}}
             {{{text|}}}
         </p>
         </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;">
         <p style="font-size: 90%;">
         <div style="font-size: 90%;">
             {{{translation|}}}
             {{{translation|}}}
         </p>
         </div>
     |}}
     |}}
     <p style="color: #4C545C; font-size: 90%;">
     <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}}} }} }}
         }}}}}}
         }}}}}}
     </p>
     </div>
</blockquote></includeonly><noinclude>
</blockquote></includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>
Anonymer Benutzer