Modul:Weapon info/doc

Z Minecraft Wiki
Přejít na: navigace, hledání
This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more information

infoTable displays a table of weapon attack speeds, damage values, and DPS. Setting parameter tools to a semicolon-separated list of tools will display only those tools, and showname can be used to force display of the tool name column even when only one tool is being displayed.

infoTableHeader displays just the header (as an unclosed wikitext table). Parameter showname, if set, causes the tool name column to be included.

infoTableRow generates a single row of the info table (not including the |-!). Parameter tool specified the tool to display, and showname causes the tool name column to be emitted. For old snapshot pages, speed and damage can be used to override the built-in speed and damage values for the tool (set to a number or a comma-separated list of five numbers).

damageReductionTable generates the table of damage reduction versus time caused by attack cooldown. Setting parameter enchantment will generate the table for enchantment damage reduction, otherwise physical damage reduction will be generated. Setting parameter tools to a semicolon-separated list of tools will display only those tools, and maxTicks will override the automatic determination of the number of time columns necessary.