Difference between revisions of "Template:WoWs SM MS"
Revision as of 12:42, 23 May 2016 | Revision as of 20:06, 8 September 2016 | |||
One intermediate revision by the same user not shown | ||||
Line 1: | Line 1: | |||
? | <includeonly>{{#if:{{{2|}}}| | + | <includeonly>{{#if:{{{2|}}}|<div class="b-modules_item b-horizontal-pane js-horizontal-pane"><table class="{{#ifeq:{{{1|list}}}|list|t-modules sortable|t-modules}}"><tr> | |
? | <th style="min-width: | + | <th style="min-width:120px;">[[File:Module_wows_{{{2|}}}.png|class=b-modules_img b-modules_img__wows|{{#shipstr:IDS_{{{2|}}}}}|link=Ship:{{#shipstr:IDS_{{{2|}}}}}]]</th> | |
{{#ifeq:{{{1|list}}}|list|<th style="min-width:100px;">Ship</th><th style="min-width:20px;">Config</th>}} | {{#ifeq:{{{1|list}}}|list|<th style="min-width:100px;">Ship</th><th style="min-width:20px;">Config</th>}} | |||
{{#vardefine:i_m|3}}{{#while:|{{{{{#var:i_m}}|}}}| | {{#vardefine:i_m|3}}{{#while:|{{{{{#var:i_m}}|}}}| | |||
Line 7: | Line 7: | |||
<th class="unsortable" style="width:100%;"></th> | <th class="unsortable" style="width:100%;"></th> | |||
<th style="min-width:50px;"><span title="Research price" class="commentDrop" style="border-bottom:1px dotted">Research price</span><br /><span class="measure">(exp)</span></th> | <th style="min-width:50px;"><span title="Research price" class="commentDrop" style="border-bottom:1px dotted">Research price</span><br /><span class="measure">(exp)</span></th> | |||
? | <th style="min-width: | + | <th style="min-width:60px;"><span title="Purchase price" class="commentDrop" style="border-bottom:1px dotted">Purchase price</span><br /><span class="measure">({{Credits}})</span></th></tr> | |
{{#vardefine:list_as|{{#ifeq:{{{1|list}}}|list|{{#shiplist:ships|{{#var:m_f}}}}|{{{1|}}}}}}}{{#vardefine:as_i|0}}{{#while:|{{#if:{{#explode:{{#var:list_as}}|;|{{#var:as_i}}}}|true}}|{{#vardefine:cship|{{#explode:{{#var:list_as}}|;|{{#var:as_i}}}}}} | {{#vardefine:list_as|{{#ifeq:{{{1|list}}}|list|{{#shiplist:ships|{{#var:m_f}}}}|{{{1|}}}}}}}{{#vardefine:as_i|0}}{{#while:|{{#if:{{#explode:{{#var:list_as}}|;|{{#var:as_i}}}}|true}}|{{#vardefine:cship|{{#explode:{{#var:list_as}}|;|{{#var:as_i}}}}}} | |||
{{#vardefine:list_m|{{#shipchars:{{#var:cship}}|{{WoWs_Module|{{{2|}}}}}}}}}{{#vardefine:l_i|0}}{{#while:|{{#if:{{#explode:{{#var:list_m}}|;|{{#var:l_i}}}}|true}}| | {{#vardefine:list_m|{{#shipchars:{{#var:cship}}|{{WoWs_Module|{{{2|}}}}}}}}}{{#vardefine:l_i|0}}{{#while:|{{#if:{{#explode:{{#var:list_m}}|;|{{#var:l_i}}}}|true}}| |
Revision as of 20:06, 8 September 2016
Category: