Difference between revisions of "Template:Test"

From Worms Knowledge Base

Jump to: navigation, search
m
m
Line 1: Line 1:
 
<noinclude>Use this for testing template code before creating new templates</noinclude>
 
<noinclude>Use this for testing template code before creating new templates</noinclude>
 
{| class="infobox" style="width: {{{width}}}; font-size: {{{fontsize}}};"
 
{| class="infobox" style="width: {{{width}}}; font-size: {{{fontsize}}};"
| rowspan="{{#if:{{{3|}}}|3|2}}" | [[Image:Download.png|{{#if:{{{3|}}}|56px|35px}}|Click the links on the right to watch or download.]] || '''W:A replay''': {{{2}}}
+
| rowspan="{{#if:{{{3|}}} or {{{line2|}}}|3|2}}" | [[Image:Download.png|{{#if:{{{3|}}} or {{{line2|}}}|56px|35px}}|Click the links on the right to watch or download.]] || '''W:A replay''': {{{2}}}{{{line1}}}
{{#if:{{{3|}}}|
+
{{#if:{{{3|}}} or {{{line2|}}}|
 
{{!}}-
 
{{!}}-
{{!}}{{{3}}}}}
+
{{!}}{{{3}}}{{{line2}}}}}
 
|-
 
|-
| style="text-align: center" | <span class="plainlinks">[[Media:{{{1}}}|watch]] · [{{SERVER}}/download/{{{1}}} download] · [{{SERVER}}{{localurl:Image:{{{1}}}}} info]</span>
+
| style="text-align: center" | <span class="plainlinks">[[Media:{{#if:{{{file|}}}|{{{file}}}|{{{1}}}}}|watch]] · [{{SERVER}}/download/{{#if:{{{file|}}}|{{{file}}}|{{{1}}}}} download] · [{{SERVER}}{{localurl:Image:{{#if:{{{file|}}}|{{{file}}}|{{{1}}}}}}} info]</span>
 
|}
 
|}

Revision as of 14:23, 28 June 2008

Use this for testing template code before creating new templates

Click the links on the right to watch or download. W:A replay: {{{2}}}{{{line1}}}
{{{3}}}{{{line2}}}
[[Media:{{{1}}}|watch]] · download · info
Personal tools