Willkommen bei der Wargaming.net-Wiki!
Varianten

Vorlage:WoWs SC DS/draft

Wechseln zu: Navigation, Suche
{{#if:{{{3|}}}|<div class="gw-popup-card {{#if:{{{2|}}}||b-tech-nav_item__opened}}"><div class="b-performance_title gw-popup-card_head js-tech-nav_head"><div>{{{1}}}</div><span style="top: 5px" class="b-tech-nav_arrow"></span></div><div class="gw-popup-card_content" {{#if:{{{2|}}}|style="display: none;"}}><div><div class="b-performance_text"><table class="t-performance">{{#vardefine:i|3}}{{#while:|{{{{{#var:i}}|}}}|<tr><td><span class="t-performance_left" style="display:inline">{{{{{#var:i}}|}}}</span><span class="t-performance_right">{{#if:{{{{{#expr:{{#var:i}}+1}}|}}}|{{{{{#expr:{{#var:i}}+1}}|}}}|<span style="color:red;">N/A</span>}}{{#if:{{{{{#expr:{{#var:i}}+2}}|}}}| <span style="color:gray">{{{{{#expr:{{#var:i}}+2}}|}}}</span>}}</span></td></tr>{{#vardefine:i|{{#expr:{{#var:i}}+3}}}}}}</table></div></div></div></div>}}

Changelog

  • Rearrange data line so the content follow more logical semantics (parameter name -> parameter value -> parameter unit). Required so that the table can be displayed correctly if viewed from mobile devices.