Difference between revisions of "Template:ReplayBox2"

From Worms Knowledge Base

Jump to: navigation, search
m (minor code fix)
m (the icon now links to the replay file)
Line 5: Line 5:
 
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{screenshot}}}|{{{screensize|180px}}}|{{{caption|{{{2}}}}}}]]{{#if:{{{caption|}}}|<br/>{{{caption}}}}}}}
 
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{screenshot}}}|{{{screensize|180px}}}|{{{caption|{{{2}}}}}}]]{{#if:{{{caption|}}}|<br/>{{{caption}}}}}}}
 
|-
 
|-
! colspan="2" style="font-size: 125%; text-align: center;" | <span>http://worms2d.info/images/9/9e/WA-download-24.png</span>&nbsp; W:A replay
+
! colspan="2" style="font-size: 125%; text-align: center;" | <span class="plainlinks">[{{fullurl:Media:{{{1}}}}} http://worms2d.info/images/9/9e/WA-download-24.png]</span>&nbsp; W:A replay
 
|-
 
|-
 
| colspan="2" | {{{2}}}{{#if:{{{3|}}}|<br/>{{{3}}}}}
 
| colspan="2" | {{{2}}}{{#if:{{{3|}}}|<br/>{{{3}}}}}

Revision as of 13:03, 6 January 2010

{{{caption}}}
{{{caption}}}
WA-download-24.png  W:A replay
{{{2}}}
Length: {{{length}}}
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)
}}

Only the first two parameters are required; the others are optional.

Personal tools