Template:Twitter Archive: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
m (Adkuate moved page Template:Twitter Archive 1 to Template:Twitter Archive without leaving a redirect)
mNo edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div id="twitterPost" style="margin: auto; background-color: var(--mdwiki-secondary-color); padding: 1rem; width: 500px; border: 2px solid var(--mdwiki-tertiary-color);">
<div class="twitterPost">
<div style="display: flex; align-items: center;">
<div class="tpHead">
<div style="display: flex; justify-content: center; align-items: center; width: 32px; height: 32px; padding-right: 0.5rem;">[[File:{{{pp|}}}|32x32px|frameless]]</div>
<div class="tpPp">{{{pp|}}}</div>
<div style="display: flex; flex-flow: column nowrap;">
<div class="tpUser">
<div>'''{{{author|}}}'''</div><div style="font-family: monospace;">@{{{tag|}}}</div>
<div>'''{{{author|}}}'''</div>
<div class="tpUserTag">@{{{tag|}}}</div>
</div>
</div>
</div>
</div>


{{{post|}}}{{#if:{{{picture 1|}}}|
{{{post|}}}{{#if:{{{picture 1|}}}|
<div style="display: flex; flex-flow: row wrap; width: 500px; height: 500px; padding-bottom: 1rem;">
<div class="tpPics">
<div style="box-sizing: border-box; display: flex; justify-content: center; align-items: center; width: {{#if:{{{picture 2|}}} {{{picture 3|}}} {{{picture 4|}}}|250|500}}px; height: {{#if:{{{picture 3|}}} {{{picture 4|}}}|250|500}}px; background-color: var(--mdwiki-tertiary-color); border: 1px solid var(--mdwiki-primary-color);">[[File:{{{picture 1}}}|{{{alt 1|}}}|250x250px|frameless]]</div>
<div class="tpPic" style="max-width: {{#if:{{{picture 2|}}} {{{picture 3|}}} {{{picture 4|}}}|250|500}}px; max-height: {{#if:{{{picture 3|}}} {{{picture 4|}}}|250|500}}px;">{{{picture 1}}}</div>
{{#if:{{{picture 2|}}}|
{{#if:{{{picture 2|}}}|
<div style="box-sizing: border-box; display: flex; justify-content: center; align-items: center; width: 250px; height: {{#if:{{{picture 3|}}} {{{picture 4|}}}|250|500}}px; background-color: var(--mdwiki-tertiary-color); border: 1px solid var(--mdwiki-primary-color);">[[File:{{{picture 2}}}|{{{alt 2|}}}|250x250px|frameless]]</div>
<div class="tpPic" style="max-width: 250px; max-height: {{#if:{{{picture 3|}}} {{{picture 4|}}}|250|500}}px;">{{{picture 2}}}</div>
|}}{{#if:{{{picture 3|}}}|
|}}{{#if:{{{picture 3|}}}|
<div style="box-sizing: border-box; display: flex; justify-content: center; align-items: center; width: {{#if:{{{picture 4|}}}|250|500}}px; height: 250px; background-color: var(--mdwiki-tertiary-color); border: 1px solid var(--mdwiki-primary-color);">[[File:{{{picture 3}}}|{{{alt 3|}}}|250x250px|frameless]]</div>
<div class="tpPic" style="max-width: {{#if:{{{picture 4|}}}|250|500}}px; max-height: 250px;">{{{picture 3}}}</div>
|}}{{#if:{{{picture 4|}}}|
|}}{{#if:{{{picture 4|}}}|
<div style="box-sizing: border-box; display: flex; justify-content: center; align-items: center; width: 250px; height: 250px; background-color: var(--mdwiki-tertiary-color); border: 1px solid var(--mdwiki-primary-color);">[[File:{{{picture 4}}}|{{{alt 4|}}}|250x250px|frameless]]</div>
<div class="tpPic" style="max-width: 250px; max-height: 250px;">{{{picture 4}}}</div>
|}}
|}}
</div>
</div>
|}}{{#if:{{{video|}}}|
<div class="tpPic" style="max-width: 500px; max-height: 500px;">{{{video}}}</div>
|}}
|}}


<div>{{{time|}}}&nbsp;·&nbsp;{{{date|}}}</div>
{{{time|}}}&nbsp;·&nbsp;{{{date|}}}
----
----
Original link: {{{url|}}}
Original link: {{{url|}}}
</div></includeonly><noinclude>[[Category:Archive Templates]]{{Doc}}
</div></includeonly><noinclude>[[Category:Archive Templates]]{{Doc}}</noinclude>
</noinclude>

Latest revision as of 18:03, 12 March 2025

Template-info.png Documentation
{{Twitter Archive
  | pp        = 
  | author    = 
  | tag       = 
  | time      = 
  | date      = 
  | post      = 
  | video     = 
  | picture 1 = 
  | picture 2 = 
  | picture 3 = 
  | picture 4 = 
  | url       = 
}}

Example