Difference between revisions of "Template:ReplayBox"

From Worms Knowledge Base

Jump to: navigation, search
m
(deprecate a kind of download link & avoid cluttering in printable version)
Line 7: Line 7:
  
 
* line two, width, and fontsize are optional parameters
 
* line two, width, and fontsize are optional parameters
 +
 +
<!--
 +
The following download link is deprecated:
 +
 +
"http://worms2d.info/download/file.wagame"
 +
 +
Please use "http://worms2d.info/Media:file.wagame" instead.
 +
-->
  
 
</noinclude>{| class="infobox" style="{{#if:{{{width|}}}|width: {{{width}}};}}{{#if:{{{fontsize|}}}|font-size: {{{fontsize}}};}}"
 
</noinclude>{| class="infobox" style="{{#if:{{{width|}}}|width: {{{width}}};}}{{#if:{{{fontsize|}}}|font-size: {{{fontsize}}};}}"
Line 13: Line 21:
 
| style="line-height: 1.5em;" | '''W:A replay''': {{{2}}}{{#if:{{{3|}}}|<br/>{{{3}}}}}
 
| style="line-height: 1.5em;" | '''W:A replay''': {{{2}}}{{#if:{{{3|}}}|<br/>{{{3}}}}}
 
|-
 
|-
| style="text-align: center" | <span class="plainlinks">[[Media:{{{1}}}|watch]]&nbsp;· [{{SERVER}}/download/{{{1}}} download]&nbsp;· [{{SERVER}}{{localurl:Image:{{{1}}}}} info]</span>
+
| style="text-align: center" | '''[[Media:{{{1}}}|Download]]'''&nbsp;· [[Image:{{{1}}}|Info]]
 
|}
 
|}

Revision as of 13:57, 6 January 2010

This will put a box about a replay floating on the right.

Usage:

{{ReplayBox|file.wagame|line one|line two|width=|fontsize=}}
  • line two, width, and fontsize are optional parameters


Click to watch (W:A + Beta Update required) W:A replay: {{{2}}}
[[Media:{{{1}}}|Download]] · [[Image:{{{1}}}|Info]]
Personal tools