Template:Damage/doc: Difference between revisions

no edit summary
No edit summary
Line 5: Line 5:


== Parameters ==
== Parameters ==
{{InfoBanner|text=For damage and hit count values, prefix the parameter with "pvp_".|imagesize=30}}
{{InfoBanner|text=For damage and hit count values, prefix the parameter with "pvp_".<br/>You can also generate [[Ara]]'s cancel skills by prefixing them with "cancel_" (for PvP, its prefix comes first).|imagesize=30}}
*'''dmg''' - specifies damage values
*'''dmg''' - specifies damage values
*'''awk_dmg''' - in [[Awakening Mode]]
*'''awk_dmg''' - in [[Awakening Mode]]
Line 398: Line 398:
"description": "Combining removes the actual single passive from being generated in the table, but you can just this behavior with this argument. Takes a comma-separated list of passive indexes that you want displayed on their own.",
"description": "Combining removes the actual single passive from being generated in the table, but you can just this behavior with this argument. Takes a comma-separated list of passive indexes that you want displayed on their own.",
"example": "2,3",
"example": "2,3",
"type": "string"
},
"passive_define1": {
"label": "Custom Passive 1",
"description": "Able to define a custom passive in the following format: [comma-separated values, name]. The name will be made into a link, and the display text can be changed using alias[number], just like for normal passives.",
"example": "1.4, 1.2, Blood Hit",
"type": "string"
},
"passive_define2": {
"label": "Custom Passive 2",
"type": "string"
},
"passive_define3": {
"label": "Custom Passive 3",
"type": "string"
"type": "string"
}
}
Line 458: Line 472:
"display_separated",
"display_separated",
"bug",
"bug",
"dump_table_data"
"dump_table_data",
"passive_define1",
"passive_define2",
"passive_define3"
],
],
"format": "block"
"format": "block"
}
}
</templatedata>
</templatedata>