Difference between revisions of "Template:ReplayBox"

From Worms Knowledge Base

Jump to: navigation, search
m (testing)
m (fix for rowspan)
Line 7: Line 7:
  
 
</noinclude>{| class="infobox" style="width: {{{width}}}; font-size: {{{fontsize}}};"
 
</noinclude>{| class="infobox" style="width: {{{width}}}; font-size: {{{fontsize}}};"
| rowspan="2" | [[Image:Download.png|{{#if:{{{line2|}}}|56px|35px}}|Click the links on the right to watch or download.]] || '''W:A replay''': {{{line1}}}
+
| 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|}}}|
 
{{#if:{{{line2|}}}|
 
{{!}}-
 
{{!}}-

Revision as of 17:55, 19 June 2008

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

Usage:

{{ReplayBox|file=|line1=|line2=''optional''|width=|fontsize=}}
Click the links on the right to watch or download. W:A replay: {{{line1}}}
[[Media:{{{file}}}|watch]] · download · info
Personal tools