Template:Flash: Difference between revisions
From questden
Jump to navigationJump to search
(Annother edge case template. Let's see if I nested the ifs right.) |
No edit summary |
||
Line 13: | Line 13: | ||
</noinclude><includeonly><table style="display: inline-table; background-color: #eee; color: black; text-align: center; max-width: 254px; margin-top: 2px; margin-bottom: 2px;"><!-- | </noinclude><includeonly><table style="display: inline-table; background-color: #eee; color: black; text-align: center; max-width: 254px; margin-top: 2px; margin-bottom: 2px;"><!-- | ||
--><tr><td style="padding: 2px;" colspan="2"><span class="plainlinks">{{#if:{{{image|}}}|[[file:{{{image}}}|200px|link=http://tgchan.org/kusaba/image-for/{{{board|questdis}}}/{{{1}}}]]|{{#if:{{{imageext|}}}|[http://tgchan.org/kusaba/image-for/{{{board|questdis}}}/{{{1}}} http://tgchan.org/kusaba/thumb-for/{{{imageextboard| | --><tr><td style="padding: 2px;" colspan="2"><span class="plainlinks">{{#if:{{{image|}}}|[[file:{{{image}}}|200px|link=http://tgchan.org/kusaba/image-for/{{{board|questdis}}}/{{{1}}}]]|{{#if:{{{imageext|}}}|[http://tgchan.org/kusaba/image-for/{{{board|questdis}}}/{{{1}}} http://tgchan.org/kusaba/thumb-for/{{{imageextboard|questdis}}}/{{{imageext}}}.png]|[[file:flash.png|link=http://tgchan.org/kusaba/image-for/{{{board|questdis}}}/{{{1}}}]]}}}}</span></td></tr><!-- | ||
--><tr><td>{{{caption|}}}{{#if:{{{by|}}}|{{#if:{{{caption|}}}|<br />|}}''By [[{{{by|}}}]]''|}}</td><td style="width: 20px">[[File:LinkToBoard.gif|link=http://tgchan.org/kusaba/thread-for/{{{board|questdis}}}/{{{1}}}]]</td></tr><!-- | --><tr><td>{{{caption|}}}{{#if:{{{by|}}}|{{#if:{{{caption|}}}|<br />|}}''By [[{{{by|}}}]]''|}}</td><td style="width: 20px">[[File:LinkToBoard.gif|link=http://tgchan.org/kusaba/thread-for/{{{board|questdis}}}/{{{1}}}]]</td></tr><!-- | ||
--></table></includeonly><noinclude>[[Category:Templates]]</noinclude> | --></table></includeonly><noinclude>[[Category:Templates]]</noinclude> |
Latest revision as of 20:14, 1 March 2015
Links to a flash file uploaded to the board when given a post ID number. Basically the fanart template for flash.
A post ID number is required.
- by
- The artist or creator responsible
- caption
- Caption to appear below the image.
- board
- Source of the flash file. The default is questdis.
- imageext
- Allows you to assign a thumbnail image from the imageboard. If this field is left blank, the thumbnail will default to .
- imageextboard
- Allows you to specify the board of the thumbnail image. The default is questdis.
- image
- Allows you to assign an thumbnail from an image uploaded to the wiki instead of the imageboard.