• 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 10: Line 10:  
{{#if:{{#var:improvable}}|<h2>Improvement</h2>
 
{{#if:{{#var:improvable}}|<h2>Improvement</h2>
 
{{ImprovementTableKai|{{{1|{{PAGENAME}}}}}|categories=true}}}}
 
{{ImprovementTableKai|{{{1|{{PAGENAME}}}}}|categories=true}}}}
{{#if:{{{trivia|}}}|<h2>Trivia</h2>
+
{{#if:{{{trivia|}}}|<h2>Trivia</h2>{{#if:{{{collapsed|}}}|<div class="mw-collapsible mw-collapsed">}}
{{{trivia}}}}}
+
{{{trivia}}}{{#if:{{{collapsed|}}}|</div>}}}}
 
{{#if:{{{see also|}}}|<h2>See also</h2>
 
{{#if:{{{see also|}}}|<h2>See also</h2>
 
{{#if:{{#var:wikipedia}}|*[[wikipedia:{{#var:wikipedia}}|{{#var:wikipedia}} (Wikipedia)]]
 
{{#if:{{#var:wikipedia}}|*[[wikipedia:{{#var:wikipedia}}|{{#var:wikipedia}} (Wikipedia)]]
Line 17: Line 17:  
{{Equipmentlist}}}}}}</includeonly><noinclude>
 
{{Equipmentlist}}}}}}</includeonly><noinclude>
 
Layout template for [[:Category:Player equipment|equipment pages]].
 
Layout template for [[:Category:Player equipment|equipment pages]].
 +
 +
The general layout that can be generated is:
 +
*Infobox
 +
*Automatic categories
 +
*Introduction section: Japanese and English descriptions
 +
*Notes section: Buildable/Unbuildable note, category trees, notes text, section clear
 +
*Improvement section if equipment is improvable
 +
*Trivia section
 +
*See also section: Wikipedia and other links
 +
*Navbox.
    
==Parameters==
 
==Parameters==
Line 23: Line 33:  
*'''en''': English description of the equipment, defaults to <code>?</code>.
 
*'''en''': English description of the equipment, defaults to <code>?</code>.
 
*'''notes''': text in notes section.
 
*'''notes''': text in notes section.
*'''trivia ''': text in trivia section (optional).
+
*'''trivia ''': text in optional trivia section.
*'''see also''': text in see also section (optional).
+
**'''collapsed''': set to have collapsed trivia section (e.g., for long write-ups).
*'''header''': set to ignore and not generate anything after category tree (notes text and clear, improvement, trivia, see also sections, etc.).
+
*'''see also''': text in optional see also section.
 +
*'''header''': set to ignore and not generate anything after category tree (notes text and clear, improvement, trivia, see also sections, navbox).
 +
 
 
===Lua parameters===
 
===Lua parameters===
 
The following equipment data module fields are used:
 
The following equipment data module fields are used:
*<code>_info</code> for '''ja'''.
+
*<code>_info</code> for '''ja'''
*<code>_wikipedia</code>.
+
*<code>_wikipedia</code> for Wikipedia link
*<code>_buildable</code>.
+
*<code>_buildable</code> for Buildable/Unbuildable note
*<code>_improvements</code>.
+
*<code>_improvements</code> for optional improvement section.
    
==Usage==
 
==Usage==
cssedit, gkautomate
7,064

edits

Navigation menu