Difference between revisions of "Template:Fanart"

From questden
m (I hope you like changes)
m (Ok, this might have got something workable. Soften off the bounds a little.)
Line 4: Line 4:
 
'''Work in progress.'''
 
'''Work in progress.'''
  
</noinclude><includeonly><table style="display: inline-table; border: 1px solid grey; text-align: center; max-width: 256px;"><!--  
+
</noinclude><includeonly><table style="display: inline-table; background-color: #ddd; text-align: center; max-width: 254px;"><!--  
  
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.
+
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. 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:56, 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.