• 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
m
m
Line 1: Line 1:
<includeonly>
+
<includeonly>{{EquipmentInfoKai|{{{1|{{PAGENAME}}}}}}}
{{EquipmentInfoKai|{{{1|{{PAGENAME}}}}}}}
 
 
{{EquipmentCategoriesKai|{{{1|{{PAGENAME}}}}}}}
 
{{EquipmentCategoriesKai|{{{1|{{PAGENAME}}}}}}}
 
<h2>Introduction</h2>
 
<h2>Introduction</h2>
<p>{{{ja|?}}}</p>
+
<p>{{#if:{{{ja|}}}|{{{ja}}}|?}}</p>
<p>''{{{en|?}}}''</p>
+
<p>''{{#if:{{{en|}}}|{{{en}}}|?}}''</p>
 
<h2>Notes</h2>
 
<h2>Notes</h2>
 
'''{{#if:{{{buildable|}}}|Buildable|Unbuildable}}'''
 
'''{{#if:{{{buildable|}}}|Buildable|Unbuildable}}'''
Line 13: Line 12:
 
{{#if:{{{improvement|}}}|<h2>Improvement</h2>{{ImprovementTableKai|{{{1|{{PAGENAME}}}}}|categories=true}}}}
 
{{#if:{{{improvement|}}}|<h2>Improvement</h2>{{ImprovementTableKai|{{{1|{{PAGENAME}}}}}|categories=true}}}}
 
{{#if:{{{trivia|}}}|<h2>Trivia</h2>{{{trivia}}}}}
 
{{#if:{{{trivia|}}}|<h2>Trivia</h2>{{{trivia}}}}}
{{#if:{{{see also|}}}|<h2>See also</h2>{{{see also}}}{{Equipmentlist}}}}
+
{{#if:{{{see also|}}}|<h2>See also</h2>{{{see also}}}{{Equipmentlist}}}}</includeonly><noinclude>
</includeonly>
 
<noinclude>
 
 
Layout template for [[:Category:Player equipment|equipment pages]].
 
Layout template for [[:Category:Player equipment|equipment pages]].
  

Revision as of 14:13, 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 = 
}}
...