Template:Traits/doc: Difference between revisions

no edit summary
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
},
},
"4": {
"mp1": {
"aliases": [
"label": "Trait 1 MP Effect",
"effects1"
"description": "Specify in % (without the sign)",
],
"type": "number"
"label": "Trait 1 Skill Text",
},
"description": "First trait's values included in the SkillText template.",
"mp2": {
"example": "80, 150",
"label": "Trait 2 MP Effect",
"type": "string",
"description": "Specify in % (without the sign)",
"default": "Trait's default values"
"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"
},
},
"5": {
"header2_trait1": {
"aliases": [
"label": "Trait 1 Header 2",
"effects2"
"description": "Custom detail header. (While undocumented, you can generate more than 2 headers)",
],
"type": "string"
"label": "Trait 2 Skill Text",
"description": "Second trait's values included in the SkillText template.",
"example": "130",
"type": "string",
"default": "Trait's default values"
},
},
"6": {
"header1_trait2": {
"aliases": [
"label": "Trait 2 Header 1",
"desc1"
"description": "Custom detail header. (While undocumented, you can generate more than 2 headers)",
],
"label": "Trait 1 Details",
"description": "First trait's additional attribute information, such as Cooldown or MP Usage when the trait is selected. Split headers fields between values with a semicolon, and fields with a comma. Header fields can be skipped & auto-filled for certain traits: Light, Critical, Heavy, Haste, Regenerating (1) & (2), Reversed, Ruthless, Powerful and Killing Blow (1). If header fields skipped, mathematic formulas will be calculated immediately, and proper suffixes (MP and Seconds) will be added. If multiplication sign not detected, the template will try to calculate the effect based on what it has.",
"example": "MP Usage, Duration; 200 MP; 25 Seconds",
"type": "string"
"type": "string"
},
},
"7": {
"header2_trait2": {
"aliases": [
"label": "Trait 2 Header 2",
"desc2"
"description": "Custom detail header. (While undocumented, you can generate more than 2 headers)",
],
"label": "Trait 2 Details",
"description": "Second trait's additional attribute information, such as Cooldown or MP Usage when the trait is selected. Split headers fields between values with a semicolon, and fields with a comma. Header fields can be skipped & auto-filled for certain traits: Light, Critical, Heavy, Haste, Regenerating (1) & (2), Reversed, Ruthless, Powerful and Killing Blow (1). If header fields skipped, mathematic formulas will be calculated immediately, and proper suffixes (MP and Seconds) will be added. If multiplication sign not detected, the template will try to calculate the effect based on what it has.",
"example": "Duration, Attack Increase; 10 Seconds, 15%",
"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",
"4",
"mp",
"5",
"cd",
"6",
"duration",
"7"
"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": "{{_\n| _ = _\n}}"
"format": "block"
}
}
</templatedata>
</templatedata>