Template:Traits/doc: Difference between revisions
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
"suggested": true | "suggested": true, | ||
"aliases": [ | |||
"char" | |||
] | |||
}, | }, | ||
"2": { | "2": { | ||
Line 16: | Line 19: | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
"suggested": true | "suggested": true, | ||
"aliases": [ | |||
"skill" | |||
] | |||
}, | }, | ||
"3": { | "3": { | ||
Line 24: | Line 30: | ||
"type": "string", | "type": "string", | ||
"default": "-, -", | "default": "-, -", | ||
"suggested": true, | |||
"aliases": [ | |||
"traits" | |||
] | |||
}, | |||
"mp": { | |||
"label": "MP Usage", | |||
"type": "number", | |||
"suggested": true | |||
}, | |||
"cd": { | |||
"label": "Cooldown", | |||
"type": "number", | |||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "mp1": { | ||
" | "label": "Trait 1 MP Effect", | ||
"description": "Specify in % (without the sign)", | |||
"type": "number" | |||
"label": "Trait 1 | }, | ||
"description": " | "mp2": { | ||
" | "label": "Trait 2 MP Effect", | ||
"type": " | "description": "Specify in % (without the sign)", | ||
" | "type": "number" | ||
}, | |||
"cd1": { | |||
"label": "Trait 1 Cooldown Effect", | |||
"description": "Specify in % (without the sign)", | |||
"type": "number" | |||
}, | |||
"cd2": { | |||
"label": "Trait 2 Cooldown Effect", | |||
"description": "Specify in % (without the sign)", | |||
"type": "number" | |||
}, | |||
"duration": { | |||
"label": "Duration", | |||
"type": "number" | |||
}, | |||
"desc1_trait1": { | |||
"label": "Trait 1 SkillText 1", | |||
"description": "Pass an argument to a trait's SkillText.", | |||
"type": "number" | |||
}, | |||
"desc1_trait2": { | |||
"label": "Trait 2 SkillText 1", | |||
"description": "Pass an argument to a trait's SkillText.", | |||
"type": "number" | |||
}, | |||
"desc2_trait1": { | |||
"label": "Trait 1 SkillText 2", | |||
"description": "Pass an argument to a trait's SkillText.", | |||
"type": "number" | |||
}, | |||
"desc2_trait2": { | |||
"label": "Trait 2 SkillText 2", | |||
"description": "Pass an argument to a trait's SkillText." | |||
}, | |||
"detail1_trait1": { | |||
"label": "Trait 1 Detail 1", | |||
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)", | |||
"type": "string" | |||
}, | |||
"detail2_trait1": { | |||
"label": "Trait 1 Detail 2", | |||
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)", | |||
"type": "string" | |||
}, | |||
"detail1_trait2": { | |||
"label": "Trait 2 Detail 1", | |||
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)", | |||
"type": "string" | |||
}, | |||
"detail2_trait2": { | |||
"label": "Trait 2 Detail 2", | |||
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)", | |||
"type": "string" | |||
}, | |||
"header1_trait1": { | |||
"label": "Trait 1 Header 1", | |||
"description": "Custom detail header. (While undocumented, you can generate more than 2 headers)", | |||
"type": "string" | |||
}, | }, | ||
" | "header2_trait1": { | ||
"label": "Trait 1 Header 2", | |||
"description": "Custom detail header. (While undocumented, you can generate more than 2 headers)", | |||
"type": "string" | |||
"label": "Trait 2 | |||
"description": " | |||
"type": "string | |||
}, | }, | ||
" | "header1_trait2": { | ||
"label": "Trait 2 Header 1", | |||
"description": "Custom detail header. (While undocumented, you can generate more than 2 headers)", | |||
"label": "Trait 1 | |||
"description": " | |||
"type": "string" | "type": "string" | ||
}, | }, | ||
" | "header2_trait2": { | ||
"label": "Trait 2 Header 2", | |||
"description": "Custom detail header. (While undocumented, you can generate more than 2 headers)", | |||
"label": "Trait 2 | |||
"description": " | |||
"type": "string" | "type": "string" | ||
}, | |||
"duration1": { | |||
"label": "Trait 1 Duration Effect", | |||
"description": "Specify in % (without the sign)", | |||
"type": "number" | |||
}, | |||
"duration2": { | |||
"label": "Trait 2 Duration Effect", | |||
"description": "Specify in % (without the sign)", | |||
"type": "number" | |||
} | } | ||
}, | }, | ||
Line 70: | Line 144: | ||
"2", | "2", | ||
"3", | "3", | ||
" | "mp", | ||
" | "cd", | ||
" | "duration", | ||
" | "mp1", | ||
"mp2", | |||
"cd1", | |||
"cd2", | |||
"duration1", | |||
"duration2", | |||
"desc1_trait1", | |||
"desc2_trait1", | |||
"desc1_trait2", | |||
"desc2_trait2", | |||
"detail1_trait1", | |||
"detail2_trait1", | |||
"detail1_trait2", | |||
"detail2_trait2", | |||
"header1_trait1", | |||
"header2_trait1", | |||
"header1_trait2", | |||
"header2_trait2" | |||
], | ], | ||
"format": " | "format": "block" | ||
} | } | ||
</templatedata> | </templatedata> |
Revision as of 20:07, 28 August 2022
A template used to generate a tabular information section about a skill's traits.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Character Name | 1 char | Used to apply a color to table headers.
| String | required |
Skill Name | 2 skill | no description
| String | required |
Traits | 3 traits | Both trait names separated with a comma. White-space is stripped.
| String | suggested |
MP Usage | mp | no description | Number | suggested |
Cooldown | cd | no description | Number | suggested |
Duration | duration | no description | Number | optional |
Trait 1 MP Effect | mp1 | Specify in % (without the sign) | Number | optional |
Trait 2 MP Effect | mp2 | Specify in % (without the sign) | Number | optional |
Trait 1 Cooldown Effect | cd1 | Specify in % (without the sign) | Number | optional |
Trait 2 Cooldown Effect | cd2 | Specify in % (without the sign) | Number | optional |
Trait 1 Duration Effect | duration1 | Specify in % (without the sign) | Number | optional |
Trait 2 Duration Effect | duration2 | Specify in % (without the sign) | Number | optional |
Trait 1 SkillText 1 | desc1_trait1 | Pass an argument to a trait's SkillText. | Number | optional |
Trait 1 SkillText 2 | desc2_trait1 | Pass an argument to a trait's SkillText. | Number | optional |
Trait 2 SkillText 1 | desc1_trait2 | Pass an argument to a trait's SkillText. | Number | optional |
Trait 2 SkillText 2 | desc2_trait2 | Pass an argument to a trait's SkillText. | Unknown | optional |
Trait 1 Detail 1 | detail1_trait1 | Custom detail field. (While undocumented, you can generate more than 2 fields) | String | optional |
Trait 1 Detail 2 | detail2_trait1 | Custom detail field. (While undocumented, you can generate more than 2 fields) | String | optional |
Trait 2 Detail 1 | detail1_trait2 | Custom detail field. (While undocumented, you can generate more than 2 fields) | String | optional |
Trait 2 Detail 2 | detail2_trait2 | Custom detail field. (While undocumented, you can generate more than 2 fields) | String | optional |
Trait 1 Header 1 | header1_trait1 | Custom detail header. (While undocumented, you can generate more than 2 headers) | String | optional |
Trait 1 Header 2 | header2_trait1 | Custom detail header. (While undocumented, you can generate more than 2 headers) | String | optional |
Trait 2 Header 1 | header1_trait2 | Custom detail header. (While undocumented, you can generate more than 2 headers) | String | optional |
Trait 2 Header 2 | header2_trait2 | Custom detail header. (While undocumented, you can generate more than 2 headers) | String | optional |