Template:Traits/doc: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 38: Line 38:
"label": "MP Usage",
"label": "MP Usage",
"type": "number",
"type": "number",
            "description": "The template returns an error if you specify the multiplier argument (such as mp1) while this field is empty.",
"suggested": true
"suggested": true
},
},
Line 43: Line 44:
"label": "Cooldown",
"label": "Cooldown",
"type": "number",
"type": "number",
            "description": "The template returns an error if you specify the multiplier argument (such as cd1) while this field is empty.",
"suggested": true
"suggested": true
},
        "mp_pvp": {
"label": "MP Usage (PvP)",
"type": "number"
},
"cd_pvp": {
"label": "Cooldown (PvP)",
"type": "number"
},
        "mp_enhanced": {
"label": "MP Usage (Final Enhanced)",
"type": "number"
},
"cd_enhanced": {
"label": "Cooldown (Final Enhanced)",
"type": "number"
},
},
"mp1": {
"mp1": {
"label": "Trait 1 MP Effect",
"label": "Trait 1 MP Effect",
"description": "Specify in % (without the sign)",
"description": "Specify in % (without the sign). If certain MP traits are active (such as Reversed) and this is not specified for the exact index, the template returns an error. Specific traits derive the default values and thus do not require this argument provided (Critical = 120, Light = 80).",
"type": "number"
"type": "number"
},
},
"mp2": {
"mp2": {
"label": "Trait 2 MP Effect",
"label": "Trait 2 MP Effect",
"description": "Specify in % (without the sign)",
"description": "Specify in % (without the sign). If certain MP traits are active (such as Reversed) and this is not specified for the exact index, the template returns an error. Specific traits derive the default values and thus do not require this argument provided (Critical = 120, Light = 80).",
"type": "number"
"type": "number"
},
},
"cd1": {
"cd1": {
"label": "Trait 1 Cooldown Effect",
"label": "Trait 1 Cooldown Effect",
"description": "Specify in % (without the sign)",
"description": "Specify in % (without the sign). If certain Cooldown traits are active (such as Reversed) and this is not specified for the exact index, the template returns an error. Specific traits derive the default values and thus do not require this argument provided (Heavy = 120, Haste = 80, Ruthless = 200, Powerful = 120).",
"type": "number"
"type": "number"
},
},
"cd2": {
"cd2": {
"label": "Trait 2 Cooldown Effect",
"label": "Trait 2 Cooldown Effect",
"description": "Specify in % (without the sign)",
"description": "Specify in % (without the sign). If certain Cooldown traits are active (such as Reversed) and this is not specified for the exact index, the template returns an error. Specific traits derive the default values and thus do not require this argument provided (Heavy = 120, Haste = 80, Ruthless = 200, Powerful = 120).",
"type": "number"
"type": "number"
},
},
"duration": {
"duration": {
"label": "Duration",
"label": "Duration",
            "description": "The template returns an error if you specify the multiplier argument (such as duration1) while this field is empty.",
"type": "number"
},
        "duration_pvp": {
"label": "Duration (PvP)",
"type": "number"
},
        "duration_enhanced": {
"label": "Duration (Final Enhanced)",
"type": "number"
"type": "number"
},
},
Line 105: Line 132:
"detail2_trait2": {
"detail2_trait2": {
"label": "Trait 2 Detail 2",
"label": "Trait 2 Detail 2",
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)",
"type": "string"
},
        "detail1_trait1_pvp": {
"label": "Trait 1 Detail 1 (PvP)",
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)",
"type": "string"
},
"detail2_trait1_pvp": {
"label": "Trait 1 Detail 2 (PvP)",
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)",
"type": "string"
},
"detail1_trait2_pvp": {
"label": "Trait 2 Detail 1 (PvP)",
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)",
"type": "string"
},
"detail2_trait2_pvp": {
"label": "Trait 2 Detail 2 (PvP)",
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)",
"type": "string"
},
        "detail1_trait1_enhanced": {
"label": "Trait 1 Detail 1 (Final Enhanced)",
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)",
"type": "string"
},
"detail2_trait1_enhanced": {
"label": "Trait 1 Detail 2 (Final Enhanced)",
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)",
"type": "string"
},
"detail1_trait2_enhanced": {
"label": "Trait 2 Detail 1 (Final Enhanced)",
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)",
"type": "string"
},
"detail2_trait2_enhanced": {
"label": "Trait 2 Detail 2 (Final Enhanced)",
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)",
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)",
"type": "string"
"type": "string"
Line 130: Line 197:
"duration1": {
"duration1": {
"label": "Trait 1 Duration Effect",
"label": "Trait 1 Duration Effect",
"description": "Specify in % (without the sign)",
"description": "Specify in % (without the sign). If Killing Blow (1) is active and this is not specified for the exact index, the template returns an error.",
"type": "number"
"type": "number"
},
},
"duration2": {
"duration2": {
"label": "Trait 2 Duration Effect",
"label": "Trait 2 Duration Effect",
"description": "Specify in % (without the sign)",
"description": "Specify in % (without the sign). If Killing Blow (1) is active and this is not specified for the exact index, the template returns an error.",
"type": "number"
"type": "number"
}
}
},
},
"description": "A template used to generate a tabular information section about a skill's traits.",
"description": "A template used to generate a tabular information section about a skill's traits.",
"paramOrder": [
"1",
"2",
"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": "block"
"format": "block"
}
}
</templatedata>
</templatedata>