| Line 1: |
Line 1: |
| − | <includeonly>{{#vardefine:info|{{#invoke:EquipmentPage|info|pagename={{{1|{{PAGENAME}}}}}}}}}{{#vardefine:wikipedia|{{#invoke:EquipmentPage|wikipedia|pagename={{{1|{{PAGENAME}}}}}}}}}{{#vardefine:buildable|{{#invoke:EquipmentPage|buildable|pagename={{{1|{{PAGENAME}}}}}}}}}{{#vardefine:improvable|{{#invoke:EquipmentPage|improvable|pagename={{{1|{{PAGENAME}}}}}}}}}{{EquipmentInfoKai|{{{1|{{PAGENAME}}}}}}}{{EquipmentCategoriesKai|{{{1|{{PAGENAME}}}}}}} | + | <includeonly>{{#vardefine:info|{{#invoke:EquipmentPage|info|pagename={{{1|{{PAGENAME}}}}}}}}}{{#vardefine:info_en|{{#invoke:EquipmentPage|info_en|pagename={{{1|{{PAGENAME}}}}}}}}}{{#vardefine:wikipedia|{{#invoke:EquipmentPage|wikipedia|pagename={{{1|{{PAGENAME}}}}}}}}}{{#vardefine:buildable|{{#invoke:EquipmentPage|buildable|pagename={{{1|{{PAGENAME}}}}}}}}}{{#vardefine:improvable|{{#invoke:EquipmentPage|improvable|pagename={{{1|{{PAGENAME}}}}}}}}}{{EquipmentInfoKai|{{{1|{{PAGENAME}}}}}}}{{EquipmentCategoriesKai|{{{1|{{PAGENAME}}}}}}} |
| | <h2>Introduction</h2> | | <h2>Introduction</h2> |
| | <p lang="ja">{{#if:{{#var:info}}|{{#var:info}}|{{#if:{{{ja|}}}|{{{ja}}}|?}}}}</p> | | <p lang="ja">{{#if:{{#var:info}}|{{#var:info}}|{{#if:{{{ja|}}}|{{{ja}}}|?}}}}</p> |
| − | <p>''{{#if:{{{en|}}}|{{{en}}}|?}}''</p> | + | <p>''{{#if:{{#var:info_en}}|{{#var:info_en}}|{{#if:{{{en|}}}|{{{en}}}|?}}}}''</p>{{#if:{{{header|}}}|| |
| | <h2>Notes</h2> | | <h2>Notes</h2> |
| | '''{{#if:{{#var:buildable}}|Buildable|Unbuildable}}''' | | '''{{#if:{{#var:buildable}}|Buildable|Unbuildable}}''' |
| | {{#categorytree:Ships with {{{1|{{PAGENAME}}}}} as stock equipment|mode=pages|depth=0}} | | {{#categorytree:Ships with {{{1|{{PAGENAME}}}}} as stock equipment|mode=pages|depth=0}} |
| | {{#categorytree:Equipment that consume {{{1|{{PAGENAME}}}}} during improvement|mode=pages|depth=0}} | | {{#categorytree:Equipment that consume {{{1|{{PAGENAME}}}}} during improvement|mode=pages|depth=0}} |
| − | {{#if:{{{header|}}}||{{{notes|}}}{{clear}}
| + | {{{notes|}}}{{clear}} |
| | {{#if:{{#var:improvable}}|<h2>Improvement</h2> | | {{#if:{{#var:improvable}}|<h2>Improvement</h2> |
| | {{ImprovementTableKai|{{{1|{{PAGENAME}}}}}|categories=true}}}} | | {{ImprovementTableKai|{{{1|{{PAGENAME}}}}}|categories=true}}}} |
| Line 37: |
Line 37: |
| | *'''[1]''': equipment name, <code>PAGENAME</code> is used by default. | | *'''[1]''': equipment name, <code>PAGENAME</code> is used by default. |
| | *'''ja''': Japanese description of the equipment, defaults to <code>_info</code> (<code>api_info</code>) from equipment data module or to <code>?</code> when there is no <code>_info</code>. | | *'''ja''': Japanese description of the equipment, defaults to <code>_info</code> (<code>api_info</code>) from equipment data module or to <code>?</code> when there is no <code>_info</code>. |
| − | *'''en''': English description of the equipment, defaults to <code>?</code>. | + | *'''en''': English description of the equipment, defaults to <code>?</code> from equipment data module or to <code>?</code> when there is no <code>_info</code>.. |
| | *'''notes''': text in notes section. | | *'''notes''': text in notes section. |
| | *'''trivia ''': text in optional trivia section. | | *'''trivia ''': text in optional trivia section. |