Difference between revisions of "Template:Fanaudio"

From questden
(Annother new template, let's see if this works.)
 
 
Line 8: Line 8:
  
 
</noinclude><includeonly><table style="display: inline-table; background-color: #eee; color: black; text-align: center; max-width: 254px; margin-top: 2px; margin-bottom: 2px;"><!--
 
</noinclude><includeonly><table style="display: inline-table; background-color: #eee; color: black; text-align: center; max-width: 254px; margin-top: 2px; margin-bottom: 2px;"><!--
--><tr><td rowspan="3">[[Image:Audio scaled.gif|link=http://tgchan.org/kusaba/image-for/{{{board|questdis}}}/{{{1}}}]]</td><td style="padding: 2px;" colspan="2">{{#if:{{{title|}}}|'''[http://tgchan.org/kusaba/image-for/{{{board|questdis}}}/{{{1}}} {{{title}}}]'''|&nbsp;}}</td></tr><!--
+
--><tr><td tyle="padding: 2px;" rowspan="3">[[Image:Audio scaled.gif|link=http://tgchan.org/kusaba/image-for/{{{board|questdis}}}/{{{1}}}]]</td><td style="padding: 2px;" colspan="2">{{#if:{{{title|}}}|'''<span class="plainlinks">[http://tgchan.org/kusaba/image-for/{{{board|questdis}}}/{{{1}}} {{{title}}}]</span>'''|&nbsp;}}</td></tr><!--
 
--><tr><td>{{#if:{{{by|}}}|''By&nbsp;[[{{{by|}}}]]''|}}</td><td style="width: 20px">[[File:LinkToBoard.gif|link=http://tgchan.org/kusaba/thread-for/{{{board|questdis}}}/{{{1}}}]]</td></tr></table></includeonly><noinclude>[[Category:Templates]]</noinclude>
 
--><tr><td>{{#if:{{{by|}}}|''By&nbsp;[[{{{by|}}}]]''|}}</td><td style="width: 20px">[[File:LinkToBoard.gif|link=http://tgchan.org/kusaba/thread-for/{{{board|questdis}}}/{{{1}}}]]</td></tr></table></includeonly><noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 00:47, 1 March 2015

Works like the fanart template, except for audio.

A post ID number is required. All other parameters are optional.

title
The name or title of the track.
by
Name of the artist
board
Source board of the audio file. Set to questdis by default.