Difference between revisions of "Template:ReplayBox"

From Worms Knowledge Base

Jump to: navigation, search
m (oops)
(for MediaWiki 1.14+)
Line 18: Line 18:
 
</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}}};}}"
 
|-
 
|-
| rowspan="2" | <includeonly>{{navimg|size={{#if:{{{3|}}}|56px|35px}}|image=Download.png|link=Media:{{{1}}}|tooltip=Click to watch (W:A + Beta Update required)}}</includeonly><noinclude>[[Image:Download.png|35px|Click to watch (W:A + Beta Update required)]]</noinclude>
+
| 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="line-height: 1.5em;" | '''W:A replay''': {{{2}}}{{#if:{{{3|}}}|<br/>{{{3}}}}}
 
|-
 
|-
 
| style="text-align: center" | '''[[Media:{{{1}}}|Download]]'''&nbsp;· [[:Image:{{{1}}}|Info]]
 
| style="text-align: center" | '''[[Media:{{{1}}}|Download]]'''&nbsp;· [[:Image:{{{1}}}|Info]]
 
|}
 
|}

Revision as of 10:18, 19 September 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