Difference between revisions of "Template:ReplayBox2"
From Worms Knowledge Base
Explorer09 (Talk | contribs) m (code adjust (magic word)) |
Explorer09 (Talk | contribs) m (optimize for printing) |
||
Line 4: | Line 4: | ||
{{#if:{{{screenshot|}}}|<tr><td colspan="2" style="text-align: center;">[[Image:{{{screenshot}}}|{{{screensize|180px}}}|{{{caption|{{{2}}}}}}]]{{#if:{{{caption|}}}|<br/>{{{caption}}}}}</td></tr>}}<!-- | {{#if:{{{screenshot|}}}|<tr><td colspan="2" style="text-align: center;">[[Image:{{{screenshot}}}|{{{screensize|180px}}}|{{{caption|{{{2}}}}}}]]{{#if:{{{caption|}}}|<br/>{{{caption}}}}}</td></tr>}}<!-- | ||
− | --><tr><th colspan="2" style="font-size: 125%; text-align: center;"><span class="plainlinks">[{{filepath:{{{1}}}}} http://worms2d.info/images/9/9e/WA-download-24.png]</span> W:A replay</th></tr><!-- | + | --><tr><th colspan="2" style="font-size: 125%; text-align: center;"><span class="plainlinks" style="font-size: 70%;">[{{filepath:{{{1}}}}} http://worms2d.info/images/9/9e/WA-download-24.png]</span> W:A replay</th></tr><!-- |
--><tr><td colspan="2">{{{2}}} {{{3|}}}</td></tr><!-- | --><tr><td colspan="2">{{{2}}} {{{3|}}}</td></tr><!-- | ||
Line 16: | Line 16: | ||
<td style="width: 50%;">{{{version}}}</td></tr>}}<!-- | <td style="width: 50%;">{{{version}}}</td></tr>}}<!-- | ||
− | --><tr> | + | --><tr class="noprint"> |
<td colspan="2" style="text-align: center;">'''[[Media:{{{1}}}|Download]]''' · [[:Image:{{{1}}}|Info]] | <td colspan="2" style="text-align: center;">'''[[Media:{{{1}}}|Download]]''' · [[:Image:{{{1}}}|Info]] | ||
</td></tr></table><!--========END OF TEMPLATE CODE======== | </td></tr></table><!--========END OF TEMPLATE CODE======== |
Revision as of 12:45, 12 January 2010
{{{caption}}} | |
W:A replay | |
---|---|
{{{2}}} | |
Length: | {{{length}}} |
WA version: | {{{version}}} |
Download · Info |
This will put a box about a replay floating on the right.
Usage
{{ ReplayBox2
| replayfile.wagame | description text
| width = width of this replaybox (default: 18em)
| screenshot = screenshot_file.png
| screensize = size of the screenshot (default: 180px width)
| caption = caption text of the screenshot
| length = length of the replay file (e.g. 00:02:30 or 2 min 30 sec)
| version = W:A version where the replay was recorded
}}
Only the first two parameters are required; the others are optional.