Template:Tip data/Mana

From League of Legends Wiki, LoL Wiki
Jump to navigation Jump to search
Please optimise this information for being displayed as a pop-up tooltip.
League of Legends content
Mana

 Mana (also known as MP) is a stat that is the resource of many champions necessary to cast most of their abilities. Mana can be restored via mana regeneration and some abilities, items, runes, and buffs.

Mana is represented in-game by the blue bar within the HUD, indicating the champion's current mana and maximum mana. Current mana is reduced by expenditure through paying an ability's mana cost.

This template contains various independently retrievable data items about Mana in the form of parameter values of a variable template of choice, in a standardized fashion.

Parameters

Parameter Value Description
1 Mana Necessary: Used for identification.
disp_name Display Name
Only necessary if the value differs from Mana.
link Link
Only necessary if it should link to a different page.
description  Mana (also known as MP) is a stat that is the resource of many champions necessary to cast most of their abilities. Mana can be restored via mana regeneration and some abilities, items, runes, and buffs.

Mana is represented in-game by the blue bar within the HUD, indicating the champion's current mana and maximum mana. Current mana is reduced by expenditure through paying an ability's mana cost.
Description
description2 Description2
type Champion attributes Type of keyword. Valid values: Ability attributes, Buzzword, Champion attribute, Crowd control, Games, Maps and modes. Most will be "Buzzwords".
image
Mana resource.png
The keyword's icon.
image2 Can be used to store an image. Does not display.
image3 Can be used to store an image. Does not display.
footer Description that is placed at the bottom of all other things.
Crowd Control (CC)-specific parameters
interrupts "Interrupts" field (effects that the CC interrupts)
reduction "Reduction" field (effects that reduce the duration of the CC)
resist "Resist" field (effects that resist the application of the CC)
removal "Removal" field (effects that cleanse or otherwise remove the debuff)

All tip data templates use the same parameter.

Independent retrieval of a value

  • Transclude this data template, by typing its title between two sets of braces. (Note: this is the template's link, excluding the Template: part.)
  • Input "pst2", then the desired parameter's name. This returns the parameter's value.
{{Tip data/<keyword>|pst2|<name of parameter>}}
This process uses the parameter-selection template pst2.

Formatting the data

  • Various formatting templates can be created in order to present the data in an organized manner within articles, such as in sections, infoboxes, tables (etc.) and combinations of them.
  • Within the formatting template's page, insert the name of a parameter that is available in this data template between a pair of triple braces.
{{{parameter name}}}
  • This creates a "variable": the parameter's value will take this variable's place whenever the formatting template uses the data.
  • Any number of parameters found in this data template can be included in or excluded from the formatting template, as desired.
  • The formatting template may then be transcluded in an article through the data template.
{{Tip data/<keyword>|<title of formatting template>}}

See also


Until here the documentation is automatically generated by Template:Tip data.

References