- 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
m |
|||
| Line 1: | Line 1: | ||
| − | <includeonly>{{EquipmentInfoKai|{{PAGENAME}}}} | + | <includeonly> |
| − | {{EquipmentCategoriesKai|{{PAGENAME}}}} | + | {{EquipmentInfoKai|{{{1|{{PAGENAME}}}}}}} |
| + | {{EquipmentCategoriesKai|{{{1|{{PAGENAME}}}}}}} | ||
| + | <h2>Introduction</h2> | ||
| + | <p>{{{ja|?}}}</p> | ||
| + | <p>''{{{en|?}}}''</p> | ||
| + | <h2>Notes</h2> | ||
| + | '''{{#if:{{{buildable|}}}|Buildable|Unbuildable}}''' | ||
| + | {{#categorytree:Ships with {{{1|{{PAGENAME}}}}} as stock equipment|mode=pages|depth=0}} | ||
| + | {{#categorytree:Equipment that consume {{{1|{{PAGENAME}}}}} during improvement|mode=pages|depth=0}} | ||
| + | {{{notes|}}} | ||
| + | {{clear}} | ||
| + | {{#if:{{{improvement|}}}|<h2>Improvement</h2>{{ImprovementTableKai|{{{1|{{PAGENAME}}}}}|categories=true}}}} | ||
| + | {{#if:{{{trivia|}}}|<h2>Trivia</h2>{{{trivia}}}}} | ||
| + | {{#if:{{{see also|}}}|<h2>See also</h2>{{{see also}}}{{Equipmentlist}}}} | ||
| + | </includeonly> | ||
| + | <noinclude> | ||
| + | Layout template for [[:Category:Player equipment|equipment pages]]. | ||
| − | == | + | ==Parameters== |
| − | {{ | + | {{todo|show=true|Get '''buildable''' and '''improvement''' from Lua instead.}} |
| + | *'''1''': equipment name, <code>PAGENAME</code> is used by default. | ||
| + | *'''ja''': Japanese description of the equipment, defaults to <code>?</code>. | ||
| + | *'''en''': English description of the equipment, defaults to <code>?</code>. | ||
| + | *'''buildable''': set to <code>true</code> if equipment is buildable. | ||
| + | *'''improvement''': set to <code>true</code> 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: | |
| − | == | + | <pre> |
| − | + | {{EquipmentPageHeader | |
| − | + | |ja = | |
| − | + | |en = | |
| − | + | |buildable = | |
| − | + | |improvement = | |
| − | + | |notes = | |
| − | + | |trivia = | |
| − | + | |see also = | |
| − | + | }} | |
| − | + | </pre> | |
| − | + | Or only for the header (from infobox to category tree): | |
| − | |||
| − | |||
<pre> | <pre> | ||
{{EquipmentPageHeader | {{EquipmentPageHeader | ||
| − | + | |ja = | |
| − | |ja = | + | |en = |
| − | + | |buildable = | |
| − | |en = | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
}} | }} | ||
| + | ... | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
Revision as of 14:11, 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:
{{EquipmentPageHeader
|ja =
|en =
|buildable =
|improvement =
|notes =
|trivia =
|see also =
}}
Or only for the header (from infobox to category tree):
{{EquipmentPageHeader
|ja =
|en =
|buildable =
}}
...