Difference between revisions of "Template:Fanart"

From questden
(Testing something. Unfortunately templates don't preview well.)
 
m (Attempting to fancify.)
Line 1: Line 1:
 +
<noinclude>
 +
This inlines posts from fanart threads (''technically'', any thread, but that's not what it's for) with links to the post. It's currently all a bit manual, and it doesn't play nice with galleries because Mediawiki syntax doesn't allow for it.
 +
 
<!-- The file extension varies by source, so we need the full filename, not just its number. -->
 
<!-- The file extension varies by source, so we need the full filename, not just its number. -->
<includeonly>[http://tgchan.org/kusaba/{{{board|questdis}}}/res/{{{thread}}}.html#{{{post}}} http://tgchan.org/kusaba/{{{board|questdis}}}/thumb/{{{file}}}]</includeonly>
+
</noinclude><includeonly><table style="display: inline; border: 1px solid grey; padding: 2px;"><tr><td>[http://tgchan.org/kusaba/{{{board|questdis}}}/res/{{{thread}}}.html#{{{post}}} http://tgchan.org/kusaba/{{{board|questdis}}}/thumb/{{{file}}}]</td></tr>{{#if:{{{caption|}}}|<tr><td>{{{caption}}}</tr></td>|}}</table></includeonly><!--
 +
Don't leave a trailing newline after this! Very whitespace-sensitive. -->

Revision as of 22:42, 11 February 2011

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