KanColle вики
Advertisement

Catbomb

Документация
(для шаблона, который находится выше, иногда он невидим)
Посетите Шаблон:EquipmentCardKai/doc, чтобы править этот текст. (Как это работает?)

This template uses equipment data modules to display the card image for the requested equipment.

Example[]

{{EquipmentCardKai|Prototype 51cm Twin Gun Mount}}

becomes

Файл:Prototype 51cm Twin Gun Mount 128 Card.png

Parameters[]

The following are the parameters that can be passed.

{1}[]

The name of the equipment.

link[]

String. If set, the image becomes a link to the parameter's value. Set to nil to have images to link to themselves (like plain wikitext images). Set to false to force images to be unlinked. Defaults to a link to the equipment.

caption[]

String. If set, hovering over the image will show the parameter's value as a tooltip. Will default to the link like normal wikitext image behaviour.

size[]

String. If set, the card is resized to the specified size. The format of the string is the same as for normal wikitext images.

mode[]

String. Changes the mode of the template. The default mode returns a fully formatted image.

Set to source to return the image's filename. All image formatting parameters are ignored in this mode. This mode is intended for use in conjunction with the gallery tag called via the #tag parser function.
Advertisement