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

Difference between revisions of "Template:Equipment"

From Kancolle Wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
<p>''{{#if:{{{en|}}}|{{{en}}}|?}}''</p>
 
<p>''{{#if:{{{en|}}}|{{{en}}}|?}}''</p>
 
<h2>Notes</h2>
 
<h2>Notes</h2>
'''{{#if:{{{buildable|}}}|Buildable|Unbuildable}}'''
+
'''{{#if:{{#invoke:EquipmentPage|buildable|pagename={{PAGENAME}}}}|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}}

Revision as of 15:09, 27 October 2017

Layout template for equipment pages.

Parameters

Template:Todo

  • 1: equipment name, PAGENAME is used by default.
  • ja: Japanese description of the equipment, defaults to ?.
  • en: English description of the equipment, defaults to ?.
  • buildable: set to true if equipment is buildable.
  • improvement: set to true if equipment is improvable.
  • notes: text in notes section.
  • trivia : text in trivia section (optional).
  • see also: text in see also section (optional).

Usage

Full page:

{{EquipmentPage
|ja = 
|en = 
|buildable = 
|improvement = 
|notes = 
|trivia = 
|see also = 
}}

Or only for the header (from infobox to category tree):

{{EquipmentPage
|ja = 
|en = 
|buildable = 
}}
...