Difference between revisions of "Template:ReplayBox"
From Worms Knowledge Base
m |
m (testing) |
||
Line 4: | Line 4: | ||
Usage: | Usage: | ||
− | <nowiki>{{ReplayBox| | + | <nowiki>{{ReplayBox|file=|line1=|line2=''optional''|width=|fontsize=}}</nowiki> |
</noinclude>{| class="infobox" style="width: {{{width}}}; font-size: {{{fontsize}}};" | </noinclude>{| class="infobox" style="width: {{{width}}}; font-size: {{{fontsize}}};" | ||
− | | rowspan="2" | [[Image:Download.png|35px|Click the links on the right to watch or download.]] || '''W:A replay''': {{{ | + | | rowspan="2" | [[Image:Download.png|{{#if:{{{line2|}}}|56px|35px}}|Click the links on the right to watch or download.]] || '''W:A replay''': {{{line1}}} |
+ | {{#if:{{{line2|}}}| | ||
+ | {{!}}- | ||
+ | {{!}}{{{line2}}}}} | ||
|- | |- | ||
− | | style="text-align: center" | <span class="plainlinks">[[Media:{{{ | + | | style="text-align: center" | <span class="plainlinks">[[Media:{{{file}}}|watch]] · [{{SERVER}}/download/{{{1}}} download] · [{{SERVER}}{{localurl:Image:{{{file}}}}} info]</span> |
|} | |} |
Revision as of 17:46, 19 June 2008
This will put a box about a replay floating on the right.
Usage:
{{ReplayBox|file=|line1=|line2=''optional''|width=|fontsize=}}
W:A replay: {{{line1}}} | |
[[Media:{{{file}}}|watch]] · download · info |