Template:Item Tooltip: Difference between revisions

From HorizonXI Wiki
m (made image size uniform)
m (Reverted edits by Spiffly (talk) to last revision by Aramachus)
Tag: Rollback
 
(One intermediate revision by the same user not shown)

Latest revision as of 22:01, 18 September 2024

Usage

Put the name of the item in the tooltip and the template will try to get the image from the Template:Item Image on the respective page.

  • Uses the Template:Tooltip which by default comes with an underline to indicate the tooltip functionality. Using the optional parameter {{{underline}}} you can change the underline (see Template:Tooltip) but also disable it by entering an invalid underline style, e.g. "none".

Returns uniform size of 366px like Template:Item Image (but does not use Template:Item Image because the ifexist check could be costly on pages with many calls).

{{Item Tooltip|Fencing Degen}}

Fencing Degen

{{Item Tooltip|Fencing Degen|underline=none}}

Fencing Degen

{{Item Tooltip|Beast Helm}}

Beast Helm