Template:Fanart: Difference between revisions

From questden
Jump to navigationJump to search
(Setting fixed width to see if it improves handling of tall images and long captions)
m (Changing to a flexible range to accomidate non-OP sizes (i.e. most common).)
Line 4: Line 4:
'''Work in progress.'''
'''Work in progress.'''


</noinclude><includeonly><table style="float: left; border: 1px solid grey; text-align: center; width: 256px;"><!--  
</noinclude><includeonly><table style="float: left; border: 1px solid grey; text-align: center; min-width: 206px; max-width 256px;"><!--  


The upper row of the table is the image. The maximum thumbnail size will be 250px, so + 2x2px padding + 2x1px border for table.
The upper row of the table is the image. The maximum thumbnail size will be 200px or 250px depending if it's the OP, plus 2x2px padding + 2x1px border for table. Hence the min/max values.


--><tr><td style="padding: 2px;" colspan="2"><span class="plainlinks">[http://tgchan.org/kusaba/image-for/{{{board|questdis}}}/{{{post}}} http://tgchan.org/kusaba/thumb-for/{{{board|questdis}}}/{{{post}}}.png]</span></td></tr><!--
--><tr><td style="padding: 2px;" colspan="2"><span class="plainlinks">[http://tgchan.org/kusaba/image-for/{{{board|questdis}}}/{{{post}}} http://tgchan.org/kusaba/thumb-for/{{{board|questdis}}}/{{{post}}}.png]</span></td></tr><!--

Revision as of 17:39, 6 September 2011

This inlines posts from fanart threads (technically, any thread, but that's not what it's for) with links to the post. It doesn't play nice with galleries because Mediawiki syntax doesn't allow for it.

Work in progress.