- 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"
Jump to navigation
Jump to search
| 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:{{# | + | '''{{#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== | ||
| − | + | *'''[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>. | ||
Revision as of 15:22, 27 October 2017
Layout template for equipment pages.
Parameters
- [1]: equipment name,
PAGENAMEis used by default. - ja: Japanese description of the equipment, defaults to
?. - en: English description of the equipment, defaults to
?. - buildable: set to
trueif equipment is buildable. - improvement: set to
trueif 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 =
}}
...