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 fix {{{width}}} parameter too oops
make sources optional for older/deleted tweets
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><table>
<includeonly><table>
<table class="infobox" style="float:{{{float}}}; max-width: {{#if:{{{width|}}}|{{{width}}}|100%}}; min-width: auto; width: auto; border-radius:.5em; box-shadow: 0.1em 0.1em 0.5em rgba(0,0,0,0.2); background:#000000; margins:.8em;; padding-left: 6px; padding-right: 6px; border:1px solid #2f3336; border-spacing: 6px; font-size: 12px;">
<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 style="width: 40px">[[{{#if:{{{pfp|}}}|{{{pfp}}}|File:Embedprofile.png}}|40px]]</td>
<td style="width: 40px">[[{{#if:{{{pfp|}}}|{{{pfp}}}|File:Embedprofile.png}}|40px]]</td>
Line 9: Line 9:
</tr>
</tr>
<tr>  
<tr>  
<td colspan="2"><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></includeonly><noinclude>{{documentation}}
</table></includeonly><noinclude>
{{documentation}}
 
[[Category:Template]]
[[Category:Block template]]
<noinclude/>
<noinclude/>

Latest revision as of 18:23, 11 April 2025