模板:WoWs SM MS:修訂版本之間的差異
2018年3月18日 (日) 16:01的修訂版本 | 2018年3月18日 (日) 16:09的修訂版本 | |||
第 3 行: | 第 3 行: | |||
{{#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}}|}}}| | |||
? | <th style="min-width:{{{{{#expr:{{#var:i_m}}+3}}|}}}px; max-width:{{#expr:{{{{{#expr:{{#var:i_m}}+3}}|}}}*3}}px;">{{#if:{{{{{#expr:{{#var:i_m}}+1}}|}}}|<span title="{{{{{#expr:{{#var:i_m}}+1}}|}}}" class="commentDrop" style="border-bottom:1px dotted">{{WoWs_str|{{uc:{{{{{#var:i_m}}|}}}}}}}</span>|{{WoWs_str|{{uc:{{{{{#var:i_m}}|}}}}}}}}}{{#if:{{{{{#expr:{{#var:i_m}}+2}}|}}}|<br /><span class="measure">({{{{{#expr:{{#var:i_m}}+2}}|}}})</span>}}</th> | + | <th style="min-width:{{{{{#expr:{{#var:i_m}}+3}}|}}}px; max-width:{{#expr:{{{{{#expr:{{#var:i_m}}+3}}|}}}*3}}px;">{{#if:{{{{{#expr:{{#var:i_m}}+1}}|}}}|<span title="{{{{{#expr:{{#var:i_m}}+1}}|}}}" class="commentDrop" style="border-bottom:1px dotted">{{WoWs_str|IDS_SHIP_PARAM_{{uc:{{{{{#var:i_m}}|}}}}}}}</span>|{{WoWs_str|IDS_SHIP_PARAM_{{uc:{{{{{#var:i_m}}|}}}}}}}}}{{#if:{{{{{#expr:{{#var:i_m}}+2}}|}}}|<br /><span class="measure">({{{{{#expr:{{#var:i_m}}+2}}|}}})</span>}}</th> | |
{{#vardefine:i_m|{{#expr:{{#var:i_m}}+5}}}}}} | {{#vardefine:i_m|{{#expr:{{#var:i_m}}+5}}}}}} | |||
<th class="unsortable" style="width:100%;"></th> | <th class="unsortable" style="width:100%;"></th> | |||
? | <th style="min-width:50px;"><span title=" | + | <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:60px;"><span title=" | + | <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}}| |
2018年3月18日 (日) 16:09的修訂版本
分類: