Difference between revisions of "Template:Fanart"

From questden
m (Syntax fix. Did I mention that I wished you could preview templates in use?)
m (Experimenting with display: inline again.)
Line 4: Line 4:
 
'''Work in progress.'''
 
'''Work in progress.'''
  
</noinclude><includeonly><table style="float: left; border: 1px solid grey; text-align: center; min-width: 206px; max-width: 256px;"><!--  
+
</noinclude><includeonly><table style="display: inline; border: 1px solid grey; text-align: center; max-width: 256px;"><!--  
  
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.
+
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 max value.
  
 
--><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 18:52, 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.