Template:Tip data/Block

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
Block
Blocking an instance of damage will reduce its value to 0, but does not prevent effects that trigger from damage. Blind and dodge take precedence over block.

Effects that block damage will only block instances that are blockable. Note that these are specified in the ability details on the Wiki.

Basic attacks and abilities that apply on-hit effects are always blocked, unless otherwise stated.

This effect is exclusive to An icon representing Shen Shen's An icon for Shen's ability Spirit's Refuge Spirit's Refuge and is similar though mechanically different to Dodge.

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

Parameters

Parameter Value Description
1 Block Necessary: Used for identification.
disp_name Display Name
Only necessary if the value differs from Block.
link Attack_effects#Parrying Link
Only necessary if it should link to a different page.
description Blocking an instance of damage will reduce its value to 0, but does not prevent effects that trigger from damage. Blind and dodge take precedence over block. Description
description2 Effects that block damage will only block instances that are blockable. Note that these are specified in the ability details on the Wiki.



Basic attacks and abilities that apply on-hit effects are always blocked, unless otherwise stated.

Description2
type Parry effects Type of keyword. Valid values: Ability attributes, Buzzword, Champion attribute, Crowd control, Games, Maps and modes. Most will be "Buzzwords".
image
Spirit's Refuge.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 This effect is exclusive to An icon representing Shen Shen's An icon for Shen's ability Spirit's Refuge Spirit's Refuge and is similar though mechanically different to Dodge. 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