Template:Fanart: Difference between revisions
From questden
Jump to navigationJump to search
(Switching over to using shiny new redirects; currently lost any link to post) |
(Fix URL generation and turn on plainlinks class to hide external link icon) |
||
Line 5: | Line 5: | ||
<!-- 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. --> | ||
</noinclude><includeonly><table style="float: left; border: 1px solid grey; text-align: center;"><tr><td style="padding: 2px;">[http://tgchan.org/kusaba/image-for/{{{board|questdis}}}/{{{post}}} http://tgchan.org/thumb-for | </noinclude><includeonly><table style="float: left; border: 1px solid grey; text-align: center;"><tr><td style="padding: 2px;"><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>{{#if:{{{caption|}}}|<tr><td>{{{caption}}}</td></tr>|}}</table></includeonly><!-- | ||
Don't leave a trailing newline after this! Very whitespace-sensitive. --> | Don't leave a trailing newline after this! Very whitespace-sensitive. --> |
Revision as of 16:58, 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's currently all a bit manual, and it doesn't play nice with galleries because Mediawiki syntax doesn't allow for it.
Work in progress.