Difference between revisions of "Template:ReplayBox"

From Worms Knowledge Base

Jump to: navigation, search
m
m (Reverted edits by Clogg (talk) to last revision by Explorer09)
 
(11 intermediate revisions by 4 users not shown)
Line 4: Line 4:
 
Usage:
 
Usage:
  
  <nowiki>{{ReplayBox|file=|line1=|line2=(optional)|width=|fontsize=}}</nowiki>
+
  <nowiki>{{ReplayBox|file.wagame|line one|line two|width=|fontsize=}}</nowiki>
  
</noinclude>{| class="infobox" style="width: {{{width}}}; font-size: {{{fontsize}}};"
+
* line two, width, and fontsize are optional parameters
| rowspan="{{#if:{{{line2|}}}|3|2}}" | [[Image:Download.png|{{#if:{{{line2|}}}|56px|35px}}|Click the links on the right to watch or download.]] || '''W:A replay''': {{{line1}}}
+
 
{{#if:{{{line2|}}}|
+
<!--
{{!}}-
+
The following download link is deprecated:
{{!}}{{{line2}}}}}
+
 
 +
"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}}};}}"
 +
|-
 +
| rowspan="2" | [[File:Download.png|{{#if:{{{3|}}}|56px|35px}}|link={{#if:{{{1|}}}|Media:{{{1}}}|:File:Download.png}}|Click to watch (W:A + Beta Update required)]]
 +
| style="line-height: 1.5em;" | '''W:A replay''': {{{2}}}{{#if:{{{3|}}}|<br/>{{{3}}}}}
 
|-
 
|-
| style="text-align: center" | <span class="plainlinks">[[Media:{{{file}}}|watch]] · [{{SERVER}}/download/{{{1}}} download] · [{{SERVER}}{{localurl:Image:{{{file}}}}} info]</span>
+
| style="text-align: center" | '''[[Media:{{{1}}}|Download]]'''&nbsp;· [[:Image:{{{1}}}|Info]]
 
|}
 
|}

Latest revision as of 11:51, 17 November 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