Difference between revisions of "Template:ReplayBox2"

From Worms Knowledge Base

Jump to: navigation, search
m (description)
(edit description (the spaces and line breaks in the ends of unnamed parameters are preserved))
Line 43: Line 43:
 
===Usage===
 
===Usage===
 
<nowiki>{{</nowiki> ReplayBox2 <br/>
 
<nowiki>{{</nowiki> ReplayBox2 <br/>
| '''replayfile.wagame''' | '''description text'''<br/>
+
|'''replayfile.wagame'''<ref name="spacing">Don't add spaces or line breaks in both ends of these unnamed parameters since they're transcluded too.</ref>|'''description text'''<ref name="spacing"/>|<br/>
| width = ''width of this replaybox (default: 18em)''<br/>
+
&nbsp;width = ''width of this replaybox (default: 18em)''<br/>
 
| screenshot = ''screenshot_file.png''<br/>
 
| screenshot = ''screenshot_file.png''<br/>
 
| screensize = ''size of the screenshot (default: 180px width)''<br/>
 
| screensize = ''size of the screenshot (default: 180px width)''<br/>
Line 53: Line 53:
  
 
Only the first two parameters are required; the others are optional.
 
Only the first two parameters are required; the others are optional.
 +
<references/>
 
</noinclude>
 
</noinclude>

Revision as of 15:24, 19 January 2010

{{{caption}}}
{{{caption}}}
WA-download-24.png  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[1]|description text[1]|
 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.

  1. 1.0 1.1 Don't add spaces or line breaks in both ends of these unnamed parameters since they're transcluded too.
Personal tools