Difference between revisions of "User:Run!/sandbox"

From Worms Knowledge Base

Jump to: navigation, search
(testing a new template)
m (tweaks)
Line 2: Line 2:
 
{{#if:{{{title|}}}|<tr><th style="font-size: 150%" colspan="2">Game setup - {{{title}}}</th></tr>|<tr><th style="font-size: 150%" colspan="2">Game setup</th></tr>}}
 
{{#if:{{{title|}}}|<tr><th style="font-size: 150%" colspan="2">Game setup - {{{title}}}</th></tr>|<tr><th style="font-size: 150%" colspan="2">Game setup</th></tr>}}
 
{{#if:{{{file|}}}|<tr><th bgcolor="#dddddd">Scheme file</th><td>'''[[Media:{{{file|{{{1}}}}}}|Download]]''' • [[:Image:{{{file|{{{1}}}}}}|View scheme settings]]</td></tr>}}
 
{{#if:{{{file|}}}|<tr><th bgcolor="#dddddd">Scheme file</th><td>'''[[Media:{{{file|{{{1}}}}}}|Download]]''' • [[:Image:{{{file|{{{1}}}}}}|View scheme settings]]</td></tr>}}
{{#if:{{{hostingbuddy|}}}|<tr><th bgcolor="#dddddd">HostingBuddy</th><td>{{#ifeq:{{{hostingbuddy|yes}}}|[http://proxy.worms2d.info/data/schemes/schemes.xml Supported]|Not supported}}</td></tr>}}
+
{{#if:{{{hb|}}}|<tr><th bgcolor="#dddddd">HostingBuddy</th><td>{{#ifeq:{{{hb}}}|yes|[http://proxy.worms2d.info/data/schemes/schemes.xml Supported]|Not supported}}</td></tr>}}
{{#if:{{{map|}}}|<tr><th bgcolor="#dddddd">Map</th>{{#if:{{{mappic|}}}|<div style="text-align: center;">[[Image:{{{mappic}}}]]}}{{#if:{{{mappic-v|}}}|<div style="float: left;">[[Image:{{{mappic-v}}}]]</div>}}<th>{{{map}}}{{#if:{{{wmdbcat|}}}|<br>[http://www.wmdb.org/maps/{{{wmdbcat}}} Examples at the WMDB]}}{{#if:{{{wmdbsearch|}}}|<br>[?map&#91;title&#93;={{{wmdbsearch}}} Examples at the WMDB]}}</th></tr>}}
+
{{#if:{{{map|}}}|<tr><th bgcolor="#dddddd">Map</th><td>{{#if:{{{mappic|}}}|<div style="text-align: center;">[[Image:{{{mappic}}}]]</div>}}{{#if:{{{mappic-v|}}}|<div style="float: left;">[[Image:{{{mappic-v}}}]]</div>}}<br>{{{map}}}{{#if:{{{wmdbcat|}}}|<br>[http://www.wmdb.org/maps/{{{wmdbcat}}} Examples at the WMDB]}}{{#if:{{{wmdbsearch|}}}|<br>[https://www.wmdb.org/maps/?map&#91;title&#93;={{{wmdbsearch}}} Examples at the WMDB]}}</td></tr>}}
{{#if:{{{worms|}}}|<tr><th bgcolor="#dddddd">Worms</th><th>{{{worms}}}</th></tr>}}
+
{{#if:{{{worms|}}}|<tr><th bgcolor="#dddddd">Worms</th><td>{{{worms}}}</td></tr>}}
 
</table>
 
</table>

Revision as of 12:01, 20 August 2020



Game setup
Personal tools