Editing Template:Ability card v2/Card/docGive feedback
Jump to navigation
Jump to search
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
''This template is designed to be used via | ''This template is designed to be used via [[Template:Ability_card_v2]]. In cases where the ability data is not available, we can instead use this template to build the ability card more manually.'' | ||
This template allows building the ability card manually. Many arguments are templates, so refer to [[Template: | This template allows building the ability card manually. Many arguments are templates, so refer to [[Template:Ability_card_v2/Card/MainBox]], [[Template:Ability_card_v2/Card/AltBox]] and [[Template:Ability_card_v2/Card/UpgradeBox]] for their specific documentation. | ||
=== Examples === | === Examples === | ||
| Line 17: | Line 14: | ||
| charge_cooldown=99 | | charge_cooldown=99 | ||
| cooldown=99 | | cooldown=99 | ||
| duration=99 | |||
| info1_desc=This ability does something | | info1_desc=This ability does something | ||
| Line 152: | Line 150: | ||
{ | { | ||
"params": { | "params": { | ||
"name": { | |||
"description": "Name of the ability", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"icon": { | "icon": { | ||
"description": "Icon file name of the ability", | "description": "Icon file name of the ability", | ||
| Line 163: | Line 166: | ||
}, | }, | ||
"range_ss": { | "range_ss": { | ||
"description": "Range spirit scale multiplier", | |||
"type": "number" | "type": "number" | ||
}, | |||
"radius": { | "radius": { | ||
"description": "Radius of ability's effect", | "description": "Radius of ability's effect", | ||
| Line 171: | Line 174: | ||
}, | }, | ||
"radius_ss": { | "radius_ss": { | ||
"description": "Radius spirit scale multiplier", | |||
"type": "number" | "type": "number" | ||
}, | }, | ||
"duration": { | "duration": { | ||
"description": "Duration of ability's effect", | "description": "Duration of ability's effect", | ||
"type": "number" | |||
}, | }, | ||
"duration_ss": { | "duration_ss": { | ||
"description": "Duration spirit scale multiplier", | |||
"type": "number" | "type": "number" | ||
}, | |||
"num_of_charges": { | "num_of_charges": { | ||
"description": "Total number of charges", | "description": "Total number of charges", | ||
| Line 191: | Line 194: | ||
}, | }, | ||
"charge_cooldown_ss": { | "charge_cooldown_ss": { | ||
"description": "Charge cooldown spirit scale multiplier", | |||
"type": "number" | "type": "number" | ||
}, | |||
"cooldown": { | "cooldown": { | ||
"description": "Cooldown of ability", | |||
"type": "number" | "type": "number" | ||
}, | |||
"cooldown_ss": { | "cooldown_ss": { | ||
"description": "Cooldown spirit scale multiplier", | |||
"type": "number" | "type": "number" | ||
}, | |||
"info1_desc": { | "info1_desc": { | ||
"description": "Description for Infobox #1", | "description": "Description for Infobox #1", | ||
| Line 212: | Line 215: | ||
}, | }, | ||
"info1_mainbox2": { | "info1_mainbox2": { | ||
"description": "Mainbox #2 for Infobox #1", | |||
"example": "{{Ability card v2/Card/MainBox ...}}", | "example": "{{Ability card v2/Card/MainBox ...}}", | ||
"type": "wiki-template-name" | "type": "wiki-template-name" | ||
}, | |||
"info1_mainbox3": { | "info1_mainbox3": { | ||
"description": "Mainbox #3 for Infobox #1", | |||
"example": "{{Ability card v2/Card/MainBox ...}}", | "example": "{{Ability card v2/Card/MainBox ...}}", | ||
"type": "wiki-template-name" | "type": "wiki-template-name" | ||
}, | |||
"info1_altbox1": { | "info1_altbox1": { | ||
"description": "Altbox #1 for Infobox #1", | "description": "Altbox #1 for Infobox #1", | ||
| Line 227: | Line 230: | ||
}, | }, | ||
"info1_altbox2": { | "info1_altbox2": { | ||
"description": "Altbox #2 for Infobox #1", | |||
"example": "{{Ability card v2/Card/AltBox ...}}", | "example": "{{Ability card v2/Card/AltBox ...}}", | ||
"type": "wiki-template-name" | "type": "wiki-template-name" | ||
}, | |||
"info1_altbox3": { | "info1_altbox3": { | ||
"description": "Altbox #3 for Infobox #1", | |||
"example": "{{Ability card v2/Card/AltBox ...}}", | "example": "{{Ability card v2/Card/AltBox ...}}", | ||
"type": "wiki-template-name" | "type": "wiki-template-name" | ||
}, | |||
"info1_altbox4": { | "info1_altbox4": { | ||
"description": "Altbox #4 for Infobox #1", | |||
"example": "{{Ability card v2/Card/AltBox ...}}", | "example": "{{Ability card v2/Card/AltBox ...}}", | ||
"type": "wiki-template-name" | "type": "wiki-template-name" | ||
}, | |||
"info1_altbox5": { | "info1_altbox5": { | ||
"description": "Altbox #5 for Infobox #1", | |||
"example": "{{Ability card v2/Card/AltBox ...}}", | "example": "{{Ability card v2/Card/AltBox ...}}", | ||
"type": "wiki-template-name" | "type": "wiki-template-name" | ||
}, | |||
"info1_altbox6": { | "info1_altbox6": { | ||
"description": "Altbox #6 for Infobox #1", | |||
"example": "{{Ability card v2/Card/AltBox ...}}", | "example": "{{Ability card v2/Card/AltBox ...}}", | ||
"type": "wiki-template-name" | "type": "wiki-template-name" | ||
}, | |||
"info2_desc": { | |||
"description": "Description for Infobox #2", | "description": "Description for Infobox #2", | ||
"type": "string" | "type": "string" | ||
| Line 261: | Line 264: | ||
}, | }, | ||
"info2_mainbox2": { | "info2_mainbox2": { | ||
"description": "Mainbox #2 for Infobox #2", | |||
"example": "{{Ability card v2/Card/MainBox ...}}", | "example": "{{Ability card v2/Card/MainBox ...}}", | ||
"type": "wiki-template-name" | "type": "wiki-template-name" | ||
}, | |||
"info2_mainbox3": { | "info2_mainbox3": { | ||
"description": "Mainbox #3 for Infobox #2", | |||
"example": "{{Ability card v2/Card/MainBox ...}}", | "example": "{{Ability card v2/Card/MainBox ...}}", | ||
"type": "wiki-template-name" | "type": "wiki-template-name" | ||
}, | |||
"info2_altbox1": { | "info2_altbox1": { | ||
"description": "Altbox #1 for Infobox #2", | "description": "Altbox #1 for Infobox #2", | ||
| Line 276: | Line 279: | ||
}, | }, | ||
"info2_altbox2": { | "info2_altbox2": { | ||
"description": "Altbox #2 for Infobox #2", | |||
"example": "{{Ability card v2/Card/AltBox ...}}", | "example": "{{Ability card v2/Card/AltBox ...}}", | ||
"type": "wiki-template-name" | "type": "wiki-template-name" | ||
}, | |||
"info2_altbox3": { | "info2_altbox3": { | ||
"description": "Altbox #3 for Infobox #2", | |||
"example": "{{Ability card v2/Card/AltBox ...}}", | "example": "{{Ability card v2/Card/AltBox ...}}", | ||
"type": "wiki-template-name" | "type": "wiki-template-name" | ||
}, | |||
"info2_altbox4": { | "info2_altbox4": { | ||
"description": "Altbox #4 for Infobox #2", | |||
"example": "{{Ability card v2/Card/AltBox ...}}", | "example": "{{Ability card v2/Card/AltBox ...}}", | ||
"type": "wiki-template-name" | "type": "wiki-template-name" | ||
}, | |||
"info2_altbox5": { | "info2_altbox5": { | ||
"description": "Altbox #5 for Infobox #2", | |||
"example": "{{Ability card v2/Card/AltBox ...}}", | "example": "{{Ability card v2/Card/AltBox ...}}", | ||
"type": "wiki-template-name" | "type": "wiki-template-name" | ||
}, | |||
"info2_altbox6": { | "info2_altbox6": { | ||
"description": "Altbox #6 for Infobox #2", | |||
"example": "{{Ability card v2/Card/AltBox ...}}", | "example": "{{Ability card v2/Card/AltBox ...}}", | ||
"type": "wiki-template-name" | "type": "wiki-template-name" | ||
}, | |||
"upgrade1": { | "upgrade1": { | ||
"description": "Upgrade box #1", | "description": "Upgrade box #1", | ||
| Line 351: | Line 310: | ||
}, | }, | ||
"upgrade2": { | "upgrade2": { | ||
"description": "Upgrade box #2", | |||
"example": "{{Ability card v2/Card/UpgradeBox ...}}", | "example": "{{Ability card v2/Card/UpgradeBox ...}}", | ||
"type": "wiki-template-name", | "type": "wiki-template-name", | ||
"required": true | "required": true | ||
}, | |||
"upgrade3": { | "upgrade3": { | ||
"description": "Upgrade box #3", | |||
"example": "{{Ability card v2/Card/UpgradeBox ...}}", | "example": "{{Ability card v2/Card/UpgradeBox ...}}", | ||
"type": "wiki-template-name", | "type": "wiki-template-name", | ||
"required": true | "required": true | ||
}, | |||
"notes": { | "notes": { | ||
"description": "User-defined notes to display in the footer", | "description": "User-defined notes to display in the footer", | ||
"type": "string" | "type": "string" | ||
} | } | ||
} | } | ||
} | } | ||
</templatedata> | </templatedata> | ||