Template:post-pic

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(change the way default parameters are handled)
(exclude line break from pic1/first item)
 
Line 2: Line 2:
   -->{{#if:{{{isvideo|}}}<!--
   -->{{#if:{{{isvideo|}}}<!--
     -->|<div style="background-color: black; padding:6px; display:inline-block;"><div style="display:block; margin-bottom:8px; border-bottom: 10px dotted white;"></div>[[File:{{{1|}}}{{!}}{{#if:{{{size|}}}|{{{size|}}}|188px}}{{!}}Video thumbnail for {{{date|Date}}}]]<div style="display:block; margin-top:6px; border-top: 10px dotted white;"></div></div><!--
     -->|<div style="background-color: black; padding:6px; display:inline-block;"><div style="display:block; margin-bottom:8px; border-bottom: 10px dotted white;"></div>[[File:{{{1|}}}{{!}}{{#if:{{{size|}}}|{{{size|}}}|188px}}{{!}}Video thumbnail for {{{date|Date}}}]]<div style="display:block; margin-top:6px; border-top: 10px dotted white;"></div></div><!--
-
     -->|<br />[[File:{{{1|}}}{{!}}{{#if:{{{size|}}}|{{{size|}}}|200px}}{{!}}{{post-getTypeName|{{{2|}}}}} image for {{{date|Date}}}]]<!--
+
     -->|{{#if:{{{isFirst|}}}||<br />}}[[File:{{{1|}}}{{!}}{{#if:{{{size|}}}|{{{size|}}}|200px}}{{!}}{{post-getTypeName|{{{2|}}}}} image for {{{date|Date}}}]]<!--
   -->}}<!--
   -->}}<!--
-->|}}<noinclude>
-->|}}<noinclude>

Current revision as of 08:41, 23 January 2021

See {{post}}
  • Helper function to display images
Personal tools