Vorlage:Tweet: Unterschied zwischen den Versionen

add error catching
K (fonts)
(add error catching)
Zeile 1: Zeile 1:
<blockquote style="{{#if: {{{block|}}}|display:block; margin:12.25px 40px;|{{#if: {{{left|}}}|clear:left; float:left; margin:0.5em 1.4em 0.8em 0|clear:right; float:right; margin:0.5em 0 0.8em 1.4em}}}}; background-color:white; border: 1px solid #e1e8ed; border-radius:3px; max-width:{{#if: {{{block|}}}|{{{width|650px}}}|{{{width|280px}}}}}; padding:10px;">
<blockquote style="{{#if: {{{block|}}}|display:block; margin:12.25px 40px;|{{#if: {{{left|}}}|clear:left; float:left; margin:0.5em 1.4em 0.8em 0|clear:right; float:right; margin:0.5em 0 0.8em 1.4em}}}}; background-color:white; border: 1px solid #e1e8ed; border-radius:3px; max-width:{{#if: {{{block|}}}|{{{width|650px}}}|{{{width|280px}}}}}; padding:10px;">
    {{#if: {{{name|}}}||{{Formatting error|Missing name parameter.<br>}}}}{{#if: {{{username|}}}||{{Formatting error|Missing username parameter.<br>}}}}{{#if: {{{date|}}}||{{Formatting error|Missing date parameter.<br>}}}}{{#if: {{{text|}}}||{{Formatting error|Missing text parameter.<br>}}}}
     <table style="line-height:1em; width:100%; font-size:11px;">
     <table style="line-height:1em; width:100%; font-size:11px;">
         <tr>
         <tr>