Difference between revisions of "Template:ReplayBox2"
From Worms Knowledge Base
Explorer09 (Talk | contribs) (now use internal link for the download link) |
Explorer09 (Talk | contribs) m (minor code fix) |
||
Line 1: | Line 1: | ||
− | <includeonly>{| class="infobox" style="width: {{{width|18em}}}; font-size: 90%;" | + | <includeonly><!--TEMPLATE CODE============= |
+ | |||
+ | -->{| class="infobox" style="width: {{{width|18em}}}; font-size: 90%;" | ||
{{#if:{{{screenshot|}}}|{{!}}- | {{#if:{{{screenshot|}}}|{{!}}- | ||
{{!}} 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;" | http://worms2d.info/images/9/9e/WA-download-24.png W:A replay | + | ! colspan="2" style="font-size: 125%; text-align: center;" | <span>http://worms2d.info/images/9/9e/WA-download-24.png</span> W:A replay |
|- | |- | ||
| colspan="2" | {{{2}}}{{#if:{{{3|}}}|<br/>{{{3}}}}} | | colspan="2" | {{{2}}}{{#if:{{{3|}}}|<br/>{{{3}}}}} | ||
Line 11: | Line 13: | ||
|- | |- | ||
| colspan="2" style="text-align: center;" | '''[[Media:{{{1}}}|Download]]''' · [[:Image:{{{1}}}|Info]] | | colspan="2" style="text-align: center;" | '''[[Media:{{{1}}}|Download]]''' · [[:Image:{{{1}}}|Info]] | ||
− | |}</includeonly><noinclude> | + | |}<!--========END OF TEMPLATE CODE======== |
− | {| class="infobox" style="width: 18em; font-size: 90%;" | + | |
+ | --></includeonly><noinclude><!-- | ||
+ | |||
+ | -->{| class="infobox" style="width: 18em; font-size: 90%;" | ||
|- | |- | ||
| colspan="2" style="text-align: center;" | [[Image:Insert-screenshot-here.png|180px|{{{caption}}}]]<br/>{{{caption}}} | | colspan="2" style="text-align: center;" | [[Image:Insert-screenshot-here.png|180px|{{{caption}}}]]<br/>{{{caption}}} | ||
Line 23: | Line 28: | ||
| style="width: 50%;" | ''{{{length}}}'' | | style="width: 50%;" | ''{{{length}}}'' | ||
|- | |- | ||
− | | colspan="2" style="text-align: center;" | <span | + | | colspan="2" style="text-align: center;" | <span style="color: #002bb8;">'''Download'''</span> · <span style="color: #002bb8;">Info</span> |
|} | |} | ||
Revision as of 09:04, 1 January 2010
{{{caption}}} | |
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.