Template:Tip data/Lor plunder: Difference between revisions

From League of Legends Wiki, LoL Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 4: Line 4:
|link = Keywords (Legends of Runeterra)#Plunder
|link = Keywords (Legends of Runeterra)#Plunder
|image = LoR Tutorial Plunder icon.png
|image = LoR Tutorial Plunder icon.png
|description = '''Plunder''' effects on a {{tipLoR|unit}} happen {{tipLoR|Trigger|when}} it is {{tipLoR|Play|played}}, if the enemy {{tipLoR|Nexus}} has been damaged this round.
|description = {{tipLoR|Unit}}: '''Plunder''' effects happen {{tipLoR|Trigger|when}} the card is {{tipLoR|Play|played}}, if the enemy {{tipLoR|Nexus}} has been damaged this round.
|description2 = '''Plunder''' effects on a {{tipLoR|spell}} happen when it {{tipLoR|imbue|casts}}, if the enemy {{tipLoR|Nexus}} has been damaged this round.
|description2 = {{tipLoR|Spell}}: '''Plunder''' effects happen when the spell {{tipLoR|imbue|casts}}, if the enemy {{tipLoR|Nexus}} has been damaged this round.
}}
}}

Revision as of 17:02, 18 May 2020

Please optimise this information for being displayed as a pop-up tooltip.
Legends of Runeterra content
Plunder
Unit: Plunder effects happen when the card is played, if the enemy Nexus has been damaged this round.

Spell: Plunder effects happen when the spell casts, if the enemy Nexus has been damaged this round.

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

Parameters

Parameter Value Description
1 Lor plunder Necessary: Used for identification.
disp_name Plunder Display Name
Only necessary if the value differs from Lor plunder.
link Keywords (Legends of Runeterra)#Plunder Link
Only necessary if it should link to a different page.
description Unit: Plunder effects happen when the card is played, if the enemy Nexus has been damaged this round. Description
description2 Spell: Plunder effects happen when the spell casts, if the enemy Nexus has been damaged this round. Description2
type Buzzword Type of keyword. Valid values: Ability attributes, Buzzword, Champion attribute, Crowd control, Games, Maps and modes. Most will be "Buzzwords".
image
LoR Tutorial Plunder 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