Template:Fanart: Difference between revisions
From questden
Jump to navigationJump to search
(Fix URL generation and turn on plainlinks class to hide external link icon) |
(Restoring links to posts, also breaking up to be slightly easier to read.) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This inlines posts from fanart threads (''technically'', any thread, but that's not what it's for) with links to the post. It | 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.''' | '''Work in progress.''' | ||
</noinclude><includeonly><table style="float: left; border: 1px solid grey; text-align: center;"><!-- | |||
</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> | |||
Don't leave a trailing newline after this! Very whitespace-sensitive. --> | The upper tow/cell of the table is the image. | ||
--><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><!-- | |||
The second row contains a caption cell (may be empty) and the link to the post (currently using a truly repugnant hack). | |||
--><tr><td>{{{caption|}}}</td><td style="width: 20px">[[File:LinkToBoard.gif|link=http://tgchan.org/kusaba/thread-for/{{{board|questdis}}}/{{{post}}}]]</td></tr><!-- | |||
--></table></includeonly><!-- Don't leave a trailing newline after this! Very whitespace-sensitive. --> |
Revision as of 17:25, 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.