Difference between revisions of "Template:ReplayBox"
From Worms Knowledge Base
Explorer09 (Talk | contribs) (avoid incorrect CSS when "width" or "fontsize" parameter is not used) |
Explorer09 (Talk | contribs) m |
||
Line 9: | Line 9: | ||
</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="{{#if:{{{3|}}}|3|2}}" | {{navimg|size={{#if:{{{3|}}}|56px|35px}}|image=Download.png|link=Media:{{{1}}}|tooltip=Click to watch (W:A + Beta Update required)}} || '''W:A replay''': {{{2}}} | + | |- |
+ | | rowspan="{{#if:{{{3|}}}|3|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> || '''W:A replay''': {{{2}}} | ||
{{#if:{{{3|}}}| | {{#if:{{{3|}}}| | ||
{{!}}- | {{!}}- |
Revision as of 15:44, 17 July 2009
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
W:A replay: {{{2}}} | |
[[Media:{{{1}}}|watch]] · download · info |