FANDOM


Notice
This is a Lua based template, there is an upper bound on the number of times Lua templates can be used on a page without breaking it (since the change in Wikia Lua engine in July 2016, the previous engine had a greater limit and only caused Lua script errors at worst).

Links with equipment card tooltips.

Parameters

[1], [2], ...

Equipment to show in tooltips. If -, inserts <br /> in tooltip.

text

Link text, default to [1].

link

Link target, default to [1].

image

Set to show equipment card image (using [1]) instead of text link, e.g., image=true to show a 50px equipment card image or image=60px for a 60px image (other parameters are still applicable).

icon

Set to show equipment icon before text or image link.

size

Size of equipment card images in tooltip, defaults to full size.

Examples

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

Prototype 51cm Twin Gun MountPrototype 51cm Twin Gun Mount 128 Card

{{EquipmentLink|Type 4 Passive Sonar|link=Sonar}}

Type 4 Passive SonarType 4 Passive Sonar 149 Card

{{EquipmentLink|Prototype 51cm Twin Gun Mount|text=P51cm}}

P51cmPrototype 51cm Twin Gun Mount 128 Card

{{EquipmentLink|Prototype 51cm Twin Gun Mount|image=true}}

Prototype 51cm Twin Gun Mount 128 CardPrototype 51cm Twin Gun Mount 128 Card

{{EquipmentLink|Prototype 51cm Twin Gun Mount|image=60px}}

Prototype 51cm Twin Gun Mount 128 CardPrototype 51cm Twin Gun Mount 128 Card

{{EquipmentLink|Prototype 51cm Twin Gun Mount|icon=x}}

RedGunHeavyPrototype 51cm Twin Gun MountPrototype 51cm Twin Gun Mount 128 Card

{{EquipmentLink|Prototype 51cm Twin Gun Mount|image=50px|icon=x}}

RedGunHeavyPrototype 51cm Twin Gun Mount 128 CardPrototype 51cm Twin Gun Mount 128 Card

{{EquipmentLink|Prototype 51cm Twin Gun Mount|text=true|image=50px}}

Prototype 51cm Twin Gun Mount 128 CardPrototype 51cm Twin Gun MountPrototype 51cm Twin Gun Mount 128 Card

{{EquipmentLink|Prototype 51cm Twin Gun Mount|text=P51|image=50px|icon=x}}

RedGunHeavyPrototype 51cm Twin Gun Mount 128 CardP51Prototype 51cm Twin Gun Mount 128 Card

{{EquipmentLink|Type 4 Passive Sonar|link=Sonar|text=T4|icon=true}}

SonarT4Type 4 Passive Sonar 149 Card

{{EquipmentLink|text=Sonars|link=sonar|icon=x|Type 93 Passive Sonar|Type 3 Active Sonar|Type 0 Passive Sonar|Type 4 Passive Sonar}}

SonarSonarsType 93 Passive Sonar 046 CardType 3 Active Sonar 047 CardType 0 Passive Sonar 132 CardType 4 Passive Sonar 149 Card

{{EquipmentLink
|text=Sonars
|link=sonar
|icon=x
|size=100px
|Type 93 Passive Sonar
|Type 3 Active Sonar
|-
|Type 0 Passive Sonar
|Type 4 Passive Sonar
}}

SonarSonarsType 93 Passive Sonar 046 CardType 3 Active Sonar 047 Card
Type 0 Passive Sonar 132 CardType 4 Passive Sonar 149 Card

Tests

{{EquipmentLink|?}}

?Catbomb

{{EquipmentLink}}

????

{{EquipmentLink|icon=x}}

File:?? Icon.png????

Community content is available under CC-BY-SA unless otherwise noted.