Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Tweet: Difference between revisions

Template page
m width test 2
make sources optional for older/deleted tweets
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table>
<includeonly><table>
<table style="max-width: 100%; min-width: auto; width: 100%; border-radius:.5em; box-shadow: 0.1em 0.1em 0.5em rgba(0,0,0,0.2); background:#000000; margins:.8em; padding:6px; border:1px solid #2f3336; border-spacing: 0px; font-size: 15px;">
<table class="infobox" style="float:{{{float}}}; max-width: {{#if:{{{width|}}}|{{{width}}}|100%}}; min-width: auto; width: auto; border-radius:.5em; background:#000000; margin: 15px; padding-left: 6px; padding-right: 6px; border:1px solid #2f3336; border-spacing: 6px; font-size: 12px;">
<tr>
<tr>
<td><span class="plainlinks"><span style="color:#e7e9ea">'''{{{username}}}'''</span></span><br><span style="color:#71767b">@{{{@}}}</span></td>
<td style="width: 40px">[[{{#if:{{{pfp|}}}|{{{pfp}}}|File:Embedprofile.png}}|40px]]</td>
<td><span class="plainlinks"><span style="color:#e7e9ea">'''{{{username}}}'''</span></span><br><span style="color:#71767b">[https://twitter.com/{{{@}}} @{{{@}}}]</span></td>
</tr>
</tr>
<tr>  
<tr>  
<td><span class="plainlinks"><span style="color:#e7e9ea">{{{body}}}</span></span></td>
<td colspan="2"><span class="plainlinks"><span style="color:#e7e9ea">{{{body}}}</span></span></td>
</tr>
</tr>
<tr>  
<tr>  
<td><span class="plainlinks"><span style="color:#71767b">{{{time}}} · {{{date}}}</span></span>
<td colspan="2"><span class="plainlinks"><span style="color:#71767b">{{#if:{{{wiki_img|}}}|[|}}{{#if: {{{source|}}}|[}}{{{source|}}}{{#if:{{{wiki_img|}}}|{{!}}|}} {{#if: {{{source|}}}|SOURCE]}}{{#if:{{{wiki_img|}}}|]|}} {{#if:{{{source|}}}|·}} {{{time}}} {{#if:{{{date}}}|·}} {{{date}}}</span></span>
</tr>
</tr>
</table><noinclude>
</table></includeonly><noinclude>
 
{{documentation}}
 
 
----


 
[[Category:Template]]
{{documentation}}
[[Category:Block template]]
<noinclude/>
<noinclude/>

Latest revision as of 18:23, 11 April 2025