Pathofexile 维基
Advertisement
[view] [edit] [history] [purge] Documentation icon Template documentation

Description

Creates a <div> containing a line of lext with formatting. Intended for use in Template:Hover.

Parameters

All of the parameters are optional. If the template gets no parameters, it will create an empty <div>. Invalid parameters are ignored. Text will appear in the order listed here. A single space is added between parameters when there is more than one parameter is given. If for some reason you need more than one space, you need to use the &nbsp; special character, since whitespace is stripped from the beginning and end of parameters.

The valid values are:

stat

Grey text.

value

White text. Used for unmodified stats.

mod

Blue text with white-space: nowrap. Used for modifiers, and modified item stats.

helpgem

Green. Used for descriptions of skills.

help

Grey, italic text. Used mainly for descriptions of how to socket a gem in an item.

flavour

Orange, italic text. Used for flavour text on unique items and quest items.

stat2, value2, mod2, stat3, value3, mod3

Same as stat, value, and mod, except appearing at the end of the line. Useful for flask stats and elemental damage.


Usage

{{HoverLine|stat=Critical Strike Chance:|value=6%}}
Critical Strike Chance: 6%


{{HoverLine|stat=Critical Strike Chance:|mod=6.6%}}
Critical Strike Chance: 6.6%


{{HoverLine|stat=Quality:|mod=+13%}}
Quality: +13%


{{HoverLine
|stat=Recovers
|mod=1346
|stat2=Life over
|mod2=13.4
|stat3=Seconds}}
Recovers 1346 Life over 13.4 Seconds


{{HoverLine
|stat=Consumes
|value=10
|stat2=of
|value2=32
|stat3=Charges on use.}}
Consumes 10 of 32 Charges on use.


{{HoverLine|help=This is a Support Gem. It does not grant a bonus to your character, but to skills in sockets connected to it. Place into an item socket connected to a socket containing the Active Skill Gem you wish to augment. Right click to remove from a socket.}}
This is a Support Gem. It does not grant a bonus to your character, but to skills in sockets connected to it. Place into an item socket connected to a socket containing the Active Skill Gem you wish to augment. Right click to remove from a socket.


{{HoverLine|helpgem=Unleashes a burning ball of fire towards a target which explodes, damaging nearby foes.}}
Unleashes a burning ball of fire towards a target which explodes, damaging nearby foes.


{{HoverLine|mod=Adds 1-12 Lightning Damage}}
Adds 1-12 Lightning Damage


{{HoverLine|flavour=Its corrugated surface brings a strange tingle to the fingertips. This is no mere decoration.}}
Its corrugated surface brings a strange tingle to the fingertips. This is no mere decoration.


{{HoverLine
|stat=stat
|value=value
|mod=mod
|helpgem=helpgem
|help=help
|flavour=flavour
|stat2=stat2
|value2=value2
|mod2=mod2
|stat3=stat3
|value3=value3
|mod3=mod3
}}
stat value mod helpgem help flavour stat2 value2 mod2 stat3 value3 mod3


All parameters for copy paste

{{HoverLine
|stat=
|value=
|mod=
|helpgem=
|help=
|flavour=
|stat2=
|value2=
|mod2=
|stat3=
|value3=
|mod3=
}}
The above documentation is transcluded from Template:HoverLine/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.
Advertisement