Template:Tip data/Critical strike

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
Critical strike
Critical strike refers to an effect that deals increased damage under specific circumstances, denoted as   critical strike damage. The most common form of critical strike occurs on basic attacks, which triggers based on  critical strike chance.

By default, a critical strike deals 175% of the normal damage. Critical damage modifiers such as An icon for the item Infinity Edge Infinity Edge can increase this percentage.

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

Parameters

Parameter Value Description
1 Critical strike Necessary: Used for identification.
disp_name Display Name
Only necessary if the value differs from Critical strike.
link Link
Only necessary if it should link to a different page.
description Critical strike refers to an effect that deals increased damage under specific circumstances, denoted as   critical strike damage. The most common form of critical strike occurs on basic attacks, which triggers based on  critical strike chance. Description
description2 By default, a critical strike deals 175% of the normal damage. Critical damage modifiers such as An icon for the item Infinity Edge Infinity Edge can increase this percentage. Description2
type Buzzword Type of keyword. Valid values: Ability attributes, Buzzword, Champion attribute, Crowd control, Games, Maps and modes. Most will be "Buzzwords".
image
Critical strike icon.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