Template:Tooltip ability poe2/doc

Displays a tooltip used to show information about an ability in. Pass the content to display, and the name of the ability (page) and a tooltip will be created containing the name, icon, source cost, keywords, counters, upgrades_from, description and effects.

Uses the template sub-page Template:Tooltip ability poe2/format to actually format and display the tooltip (using Template:Tooltip poe2). This was done because a different template is the easiest (and only?) way to manipulate the output of cargo as parameterised values, it cannot be done inline. This template only handles the cargo query itself.

Example
Results in:

Parameters

 * (required)
 * The text or content to be displayed normally. When hovered over, the tooltip is shown. This is passed through the query to the format template, and then to the first parameter of Template:Tooltip poe2.


 * (required)
 * The page name of the ability to query. The field results of the query are passed as named parameters to the format


 * show_effects
 * By default effects are not shown. If required, you can pass  to add these fields to the query and show the effects in the resulting tooltip.