• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1: −
<includeonly>{{EquipmentInfoKai|{{{1|{{PAGENAME}}}}}}}
+
<includeonly>{{#vardefine:info|{{#invoke:EquipmentPage|info|pagename={{PAGENAME}}}}}}
 +
{{#vardefine:wikipedia|{{#invoke:EquipmentPage|wikipedia|pagename={{PAGENAME}}}}}}
 +
{{#vardefine:buildable|{{#invoke:EquipmentPage|buildable|pagename={{PAGENAME}}}}}}
 +
{{#vardefine:improvable|{{#invoke:EquipmentPage|improvable|pagename={{PAGENAME}}}}}}
 +
{{EquipmentInfoKai|{{{1|{{PAGENAME}}}}}}}
 
{{EquipmentCategoriesKai|{{{1|{{PAGENAME}}}}}}}
 
{{EquipmentCategoriesKai|{{{1|{{PAGENAME}}}}}}}
 
<h2>Introduction</h2>
 
<h2>Introduction</h2>
<p>{{#if:{{{ja|}}}|{{{ja}}}|?}}</p>
+
<p>{{#if:{{#var:info}}|{{#var:info}}|{{#if:{{{ja|}}}|{{{ja}}}|?}}}}</p>
 
<p>''{{#if:{{{en|}}}|{{{en}}}|?}}''</p>
 
<p>''{{#if:{{{en|}}}|{{{en}}}|?}}''</p>
 
<h2>Notes</h2>
 
<h2>Notes</h2>
'''{{#if:{{#invoke:EquipmentPage|buildable|pagename={{PAGENAME}}}}|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}}
Line 19: Line 23:     
==Parameters==
 
==Parameters==
{{todo|show=true|Get '''buildable''' and '''improvement''' from Lua instead (also '''ja''' and '''wikipedia'''?).}}
+
*'''[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>?</code>.
 
*'''ja''': Japanese description of the equipment, defaults to <code>?</code>.
 
*'''en''': English description of the equipment, defaults to <code>?</code>.
 
*'''en''': English description of the equipment, defaults to <code>?</code>.
cssedit, gkautomate
6,928

edits

Navigation menu