Template:Infobox item/doc: Difference between revisions

No edit summary
m added ability 1 stat 7 and 8 because Unstable Concoction needs more stats
Line 128: Line 128:
<templatedata>
<templatedata>
{
{
"description": "Infobox for heroes.",
"description": " ",
"params": {
"params": {
"souls": {
"souls": {
Line 140: Line 140:
"type": "string"
"type": "string"
},
},
        "item_name_loc": {
"item_name_loc": {
"description": "Localized item name",
"description": "Localized item name",
"type": "string"
"type": "string"
},
},
        "street_brawl": {
"street_brawl": {
"type": "boolean",
"type": "boolean",
"default": "false",
"default": "false",
Line 156: Line 156:
"type": "boolean",
"type": "boolean",
"default": "false",
"default": "false",
            "suggested": true,
"suggested": true,
"suggestedvalues": [
"suggestedvalues": [
"true",
"true",
Line 166: Line 166:
"type": "boolean",
"type": "boolean",
"default": "false",
"default": "false",
            "suggested": true,
"suggested": true,
"suggestedvalues": [
"suggestedvalues": [
"true",
"true",
Line 182: Line 182:
"description": "If the item is a component of X."
"description": "If the item is a component of X."
},
},
        "has_iscomponentof2": {
"has_iscomponentof2": {
"type": "boolean",
"type": "boolean",
"default": "false",
"default": "false",
Line 191: Line 191:
"description": "If the item is a component of 2 items."
"description": "If the item is a component of 2 items."
},
},
        "has_iscomponentof3": {
"has_iscomponentof3": {
"type": "boolean",
"type": "boolean",
"default": "false",
"default": "false",
Line 220: Line 220:
"description": "Name of the component item it builds from."
"description": "Name of the component item it builds from."
},
},
        "has_components2": {
"has_components2": {
"type": "boolean",
"type": "boolean",
"default": "false",
"default": "false",
Line 238: Line 238:
"description": "Name of the item it builds to."
"description": "Name of the item it builds to."
},
},
        "iscomponentof2_name": {
"iscomponentof2_name": {
"type": "string",
"type": "string",
"description": "Name of the 2nd item it builds to."
"description": "Name of the 2nd item it builds to."
},
},
        "iscomponentof3_name": {
"iscomponentof3_name": {
"type": "string",
"type": "string",
"description": "Name of the 3rd item it builds to."
"description": "Name of the 3rd item it builds to."
Line 248: Line 248:
"item_description": {
"item_description": {
"type": "string",
"type": "string",
            "suggested": true,
"suggested": true,
"description": "Item description."
"description": "Item description."
},
},
Line 263: Line 263:
"type": "number"
"type": "number"
},
},
        "passive1_chargeup": {
"passive1_chargeup": {
"type": "number",
"type": "number",
            "description": "If the passive has a charge-up stat."
"description": "If the passive has a charge-up stat."
},
},
"active1_stat1": {
"active1_stat1": {
Line 407: Line 407:
},
},
"active2_stat5": {
"active2_stat5": {
"type": "string"
},
"active1_stat7": {
"type": "string"
},
"active1_stat8": {
"type": "string"
"type": "string"
}
}
Line 412: Line 418:
"paramOrder": [
"paramOrder": [
"item_name",
"item_name",
        "item_name_loc",
"item_name_loc",
"item_icon",
"item_icon",
        "street_brawl",
"street_brawl",
"item_type",
"item_type",
"item_tier",
"item_tier",
Line 422: Line 428:
"has_active1",
"has_active1",
"has_components",
"has_components",
        "has_components2",
"has_components2",
"has_iscomponentof",
"has_iscomponentof",
        "has_iscomponentof2",
"has_iscomponentof2",
        "has_iscomponentof3",
"has_iscomponentof3",
"component1_name",
"component1_name",
        "component2_name",
"component2_name",
"item_description",
"item_description",
"item_stat1",
"item_stat1",
Line 437: Line 443:
"item_stat7",
"item_stat7",
"passive1_cooldown",
"passive1_cooldown",
        "passive1_chargeup",
"passive1_chargeup",
"passive1_description",
"passive1_description",
"passive1_stat1",
"passive1_stat1",
Line 460: Line 466:
"active1_stat5",
"active1_stat5",
"active1_stat6",
"active1_stat6",
"active1_stat7",
"active1_stat8",
"active2_description",
"active2_description",
"active2_stat1",
"active2_stat1",
Line 467: Line 475:
"active2_stat5",
"active2_stat5",
"iscomponentof1_name",
"iscomponentof1_name",
        "iscomponentof2_name",
"iscomponentof2_name",
        "iscomponentof3_name",
"iscomponentof3_name",
"sound1",
"sound1",
"sound2",
"sound2",
Line 474: Line 482:
"no_category"
"no_category"
],
],
"description": " ",
"format": "block"
"format": "block"
}
}
</templatedata><includeonly>[[Category:Infobox templates]]</includeonly>
</templatedata><includeonly>[[Category:Infobox templates]]</includeonly>
<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>