Difference between revisions of "User:NeatNit/Template/comic"
(make 2x images smaller (300px hardcoded for testing)) |
(test examples; don't look for the underline because wiki syntax allows spaces too) |
||
Line 98: | Line 98: | ||
Not going to replace the image, so let's draw that if it exists | Not going to replace the image, so let's draw that if it exists | ||
− | -->|{{#if:{{{image|}}}|[[File:{{{image|}}}|{{{imagesize|{{#ifeq: | + | -->|{{#if:{{{image|}}}|[[File:{{{image|}}}|{{{imagesize|{{#ifeq:2x|{{#sub:{{{image}}}|-6|2}}|300px}}}}}|{{{titletext|}}}]]}}}}<!-- |
{{{imagesize}}} will allow the comic to be shrinked if it's especially large | {{{imagesize}}} will allow the comic to be shrinked if it's especially large | ||
Line 127: | Line 127: | ||
-->}}}}}}|}}<!-- | -->}}}}}}|}}<!-- | ||
--></includeonly> | --></includeonly> | ||
+ | <noinclude>{{comic | ||
+ | | number = 2167 | ||
+ | | date = June 24, 2019 | ||
+ | | title = Motivated Reasoning Olympics | ||
+ | | image = motivated_reasoning_olympics.png | ||
+ | | titletext = [later] I can't believe how bad corruption has become, especially given that our league split off from the statewide one a month ago SPECIFICALLY to protest this kind of flagrantly biased judging. | ||
+ | }} | ||
+ | |||
+ | {{comic | ||
+ | | number = 2167 | ||
+ | | date = June 24, 2019 | ||
+ | | title = Motivated Reasoning Olympics | ||
+ | | image = motivated_reasoning_olympics_2x.png | ||
+ | | titletext = [later] I can't believe how bad corruption has become, especially given that our league split off from the statewide one a month ago SPECIFICALLY to protest this kind of flagrantly biased judging. | ||
+ | }} | ||
+ | </noinclude> |