Template:post-pic

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
m (link to nophoto template in help text)
(add support for alternate nophoto filename)
Line 3: Line 3:
   -->|Nophoto.PNG<!--
   -->|Nophoto.PNG<!--
   -->|nophoto.png<!--
   -->|nophoto.png<!--
-
   -->|nophoto={{nophoto|200px}}<!-- /* use nophoto template in any of these cases */
+
   -->|nophoto={{nophoto|200px|filename={{{nophoto|}}}|caption=Please upload missing Tweet image.}}<!-- /* use nophoto template in any of these cases */
   -->|#default={{#if:{{{isvideo|}}}<!--
   -->|#default={{#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><!--

Revision as of 14:18, 14 January 2024

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