Revision as of 01:02, 3 August 2016 | | Revision as of 23:44, 10 August 2016 Replaced content with "{{#vardefine:code|{{WoWs_Data|Mahan}}}} {{WoWs Equipment|{{#var:code}}}}" |
Line 1: | | Line 1: |
| {{#vardefine:code|{{WoWs_Data|Mahan}}}} | | | {{#vardefine:code|{{WoWs_Data|Mahan}}}} |
? | {{#vardefine:ship_name|{{#shipstr:{{#shipchars:{{#var:code}}|mark}}}}}} | | |
? | {{#vardefine:nation|{{#shipattr:nation}}}} | | |
? | {{#vardefine:s_class|{{#shipattr:class}}}} | | |
? | {{#vardefine:level|{{#shipattr:level}}}} | | |
? | {{#vardefine:ancestors|{{#shipattr:ancestors}}}} | | |
? | {{#vardefine:children|{{#shipattr:children}}}} | | |
? | {{#vardefine:prem|{{#if:{{#shipattr:notInShop}}|2|{{#if:{{#shipattr:gold}}|1|{{#ifeq:{{#var:code}}|PJSC014_Kitakami_1945|2|0}}}}}}}} | | |
? | {{#vardefine:special|{{#ifeq:{{#explode:{{#shipattr:tags}}|;|1}}|special|1}}}} | | |
? | __NOTOC____NOTITLE____NOEDITSECTION__{{WoWs_SC|stock}}{{WoWs_SC|top}} | | |
? | <div class="b-description gw-frame-1"> | | |
? | <div class="b-description-img b-description-img__indent b-description-img__single"> | | |
? | <div class="b-description-img_flag b-description-img_flag__{{#var:nation}}"></div> | | |
? | <div class="l-description-img_class"> | | |
? | <span class="b-description-img_type b-description-img_type__{{lc:{{#var:s_class}}}}{{#if:{{#var:prem}}>0|-premium}}"></span> | | |
? | <span class="b-description-img_class">{{Level|{{#var:level}}}}</span> | | |
? | </div> | | |
? | <div class="b-description-img_vehicle">[[File:Ship_{{#var:code}}.png|160px|link=|left]]</div> | | |
? | <div class="l-description-img_price"><span class="b-description-img_price{{#ifexpr:{{#var:prem}}>0|<nowiki> </nowiki>b-description-img_price__gold}}">{{#ifexpr:{{#var:prem}}=2|<span title="{{{Promo}}}">promo</span>|{{formatnum:{{#shipattr:price}}}}}}</span></div> | | |
? | {{#if: {{{rotator|}}} | <a href="#" class="b-description-img_360"></a> }}</div> | | |
? | [[Ship:{{#var:ship_name}}|{{#var:ship_name}}]] — {{ucfirst:{{WoWs_Nation|{{#var:nation}}|mp}}}} {{#ifexpr:{{#var:prem}}=2|promo }}{{#ifexpr:{{#var:prem}}>0|premium }}tier {{Level|{{#var:level}}}} {{WoWs_Class|{{#var:s_class}}|ss}}. {{#if:{{{Anno|}}}|{{{Anno}}}|{{#shipstr:{{#shipattr:description}}}}}} {{#ifexpr: {{#var:prem}}=2|{{{Promo|}}} }}</div> | | |
? | | | |
? | <div class="b-wiki-panel"><h2>Modules</h2> | | |
? | {{WoWs_SM|{{#var:code}}}}</div> | | |
? | <h2>Compatible Equipment</h2> | | |
| {{WoWs Equipment|{{#var:code}}}} | | | {{WoWs Equipment|{{#var:code}}}} |
? | {{#if:{{{Performance|}}}{{{Pros|}}}{{{Cons|}}}{{{Research|}}}|<h2>Player Opinion</h2> | | |
? | {{#if:{{{Performance|}}}|<h3>Performance</h3><div class="performance">{{{Performance|}}}</div>}} | | |
? | {{#if:{{{Pros|}}}|<br/>{{#vardefine:adv|{{{Pros|}}}}}<div class="advantages"><h3>Pros:</h3><ul class="b-standart-list b-standart-list__advantage">{{#vardefine:adv_i|1}}{{#while:|{{#if:{{#explode:{{#var:adv}}|*|{{#var:adv_i}}}}|true}}|<li>{{lcfirst:{{#explode:{{#var:adv}}|*|{{#var:adv_i}}}}}}{{#vardefine:adv_i|{{#expr:{{#var:adv_i}}+1}}}}{{#if:{{#explode:{{#var:adv}}|*|{{#var:adv_i}}}}|<nowiki>;</nowiki>|.}}</li>}}</ul></div>}} | | |
? | {{#if:{{{Cons|}}}|<br/>{{#vardefine:dadv|{{{Cons|}}}}}<div class="disadvantages"><h3>Cons:</h3><ul class="b-standart-list b-standart-list__limitations">{{#vardefine:dadv_i|1}}{{#while:|{{#if:{{#explode:{{#var:dadv}}|*|{{#var:dadv_i}}}}|true}}|<li>{{lcfirst:{{#explode:{{#var:dadv}}|*|{{#var:dadv_i}}}}}}{{#vardefine:dadv_i|{{#expr:{{#var:dadv_i}}+1}}}}{{#if:{{#explode:{{#var:dadv}}|*|{{#var:dadv_i}}}}|<nowiki>;</nowiki>|.}}</li>}}</ul></div>}} | | |
? | {{#if:{{{Research|}}}|<br/><h3>Research</h3><div class="research">{{{Research|}}}</div>}}}} | | |
? | {{#if:{{{Gallery|}}}|<h2>Gallery</h2>{{{Gallery|}}}}} | | |
? | {{#if:{{{History|}}}|<div class="b-popup"><div class="b-popup_head js-tech-nav_head"><div><h2>Historical Info</h2></div><span class="b-tech-nav_arrow"></span></div><div class="b-popup_content" style="display: none;"><div>{{{History|}}}</div></div></div>}} | | |
? | {{#if:{{{HistoricalGallery|}}}|<div class="b-popup"><div class="b-popup_head js-tech-nav_head"><div><h2>Historical Gallery</h2></div><span class="b-tech-nav_arrow"></span></div><div class="b-popup_content" style="display: none;"><div>{{{HistoricalGallery|}}}</div></div></div>}}<!-- | | |
? | == Optimal configuration == | | |
? | {{{Выбор оптимальной конфигурации|}}} | | |
? | == History of changes == | | |
? | {{{История изменений|}}} | | |
? | === Video === | | |
? | {{{Video|}}} | | |
? | -->{{#if:{{{Ref|}}}|<h2>References</h2>{{{Ref|}}}}}<!-- | | |
? | Подвал --><div class="b-tech-nav"><div class="b-tech-nav_item"><div class="b-tech-nav_head js-tech-nav_head"><span class="b-tech-nav_icon b-tech-nav_icon__{{lc:{{#var:nation}}}}"></span><span>Ships {{WoWs_Nation|{{#var:nation}}}}</span><span class="b-tech-nav_arrow"></span></div><div class="b-tech-nav_content"> | | |
? | {| class="t-tech t-tech-ok" | | |
? | {{#vardefine:list|{{WoWs_Class||list}}}}{{#vardefine:i|0}}{{#while:|{{#if:{{#explode:{{#var:list}}|;|{{#var:i}}}}|true}} | | |
? | |{{#vardefine:cur_class|{{#explode:{{#var:list}}|;|{{#var:i}}}}}}{{#ifexpr:{{#var:i}}>0| | | |
? | {{!}}-}} | | |
? | {{!}}{{WoWs_Class|{{#var:cur_class}}|bm}} | | |
? | {{!}}{{WoWs_ShipsList|{{#var:nation}}|{{#var:cur_class}}}}{{#vardefine:i|{{#expr:{{#var:i}}+1}}}}}} | | |
? | |}</div></div></div><div class="b-tech-nav"><div class="b-tech-nav_item"><div class="b-tech-nav_head js-tech-nav_head"><span class="b-tech-nav_icon b-tech-nav_icon__{{lc:{{#var:s_class}}}}"></span><span>{{WoWs_Class|{{#var:s_class}}|bm}}</span><span class="b-tech-nav_arrow"></span></div><div class="b-tech-nav_content"> | | |
? | {| class="t-tech t-tech-ok" | | |
? | {{#vardefine:list|{{WoWs_Nation||list}}}}{{#vardefine:i|0}}{{#while:|{{#if:{{#explode:{{#var:list}}|;|{{#var:i}}}}|true}}|{{#vardefine:cur_nation|{{#explode:{{#var:list}}|;|{{#var:i}}}}}}{{#ifexpr:{{#var:i}}>0| | | |
? | {{!}}-}} | | |
? | {{!}}{{WoWs_Nation|{{#var:cur_nation}}|bi}} | | |
? | {{!}}{{WoWs_ShipsList|{{#var:cur_nation}}|{{#var:s_class}}}}{{#vardefine:i|{{#expr:{{#var:i}}+1}}}}}} | | |
? | |}</div></div></div> | | |