Bienvenue sur le Wiki de Wargaming.net !
Variantes

Modèle:WoWs SM MS : Différence entre versions

Aller à : navigation, rechercher
Version du 26 février 2021 à 22:54Version actuelle en date du 26 février 2021 à 22:54
Révocation des modifications de Synop_s:eu (discussion) vers la dernière version de Webley_Mark:eu
 
Ligne 1 :Ligne 1 :
?<includeonly>{{#vardefine:str_module|{{#switch:{{{2}}}|artillery=Main Battery Guns|flightcontrol=Flight Control|hull=Hull|suo=Fire Control System|fighter=Attack Aircraft|torpedobomber=Torpedo Bombers|divebomber=Bombers|torpedoes=Torpedoes|engine=Engine|#default=NA}} }}{{#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>+<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:120px;">[[File:Module_wows_{{{2|}}}.png|class=b-modules_img b-modules_img__wows|{{#var:str_module}}|link=Modules_(WoWs)]]</th>+<th style="min-width:120px;">[[File:Module_wows_{{{2|}}}.png|class=b-modules_img b-modules_img__wows|{{#shipstr:IDS_{{{2|}}}}}|link=]]</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}}|}}}|
Ligne 6 :Ligne 6 :
 {{#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="Prix de recherche" class="commentDrop" style="border-bottom:1px dotted">Prix de recherche</span><br /><span class="measure">(exp)</span></th>+<th style="min-width:50px;"><span title="Prix de recherche" class="commentDrop" style="border-bottom:1px dotted">Research price</span><br /><span class="measure">(exp)</span></th>
?<th style="min-width:60px;"><span title="Prix d'achat" class="commentDrop" style="border-bottom:1px dotted">Prix d'achat</span><br /><span class="measure">({{Credits}})</span></th></tr>+<th style="min-width:60px;"><span title="Prix d'achat" 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}}|
Ligne 13 :Ligne 13 :
 <td>{{formatnum:{{#shipchars:{{{2|}}}:{{#var:cship}}:{{#var:m}}|{{{{{#var:i_m}}|}}}}}}}</td>{{#vardefine:i_m|{{#expr:{{#var:i_m}}+5}}}}}} <td>{{formatnum:{{#shipchars:{{{2|}}}:{{#var:cship}}:{{#var:m}}|{{{{{#var:i_m}}|}}}}}}}</td>{{#vardefine:i_m|{{#expr:{{#var:i_m}}+5}}}}}}
 <td></td><td>{{formatnum:{{#shipchars:{{#var:cship}}|modulesTree:{{{2|}}}:{{#var:m}}:cost}}}}</td><td>{{formatnum:{{#shipchars:{{{2|}}}:{{#var:cship}}:{{#var:m}}|price}}}}</td> <td></td><td>{{formatnum:{{#shipchars:{{#var:cship}}|modulesTree:{{{2|}}}:{{#var:m}}:cost}}}}</td><td>{{formatnum:{{#shipchars:{{{2|}}}:{{#var:cship}}:{{#var:m}}|price}}}}</td>
?{{#vardefine:l_i|{{#expr:{{#var:l_i}}+1}}}}</tr>}}{{#vardefine:as_i|{{#expr:{{#var:as_i}}+1}}}}}}</table></div>}}</includeonly><noinclude>{{Doc}}[[Category:WoWs templates]]</noinclude>+{{#vardefine:l_i|{{#expr:{{#var:l_i}}+1}}}}</tr>}}{{#vardefine:as_i|{{#expr:{{#var:as_i}}+1}}}}}}</table></div>}}</includeonly><noinclude>{{Doc}}[[Category:WoWs templates]]<noinclude>

Version actuelle en date du 26 février 2021 à 22:54

Catégorie :