User:Samlovesmath/Template:Infobox hero/doc: Difference between revisions

Samlovesmath (talk | contribs)
initialization
 
Samlovesmath (talk | contribs)
m fixed default errors
Line 96: Line 96:
"hero_yamato"
"hero_yamato"
],
],
"autovalue": "hero_default",
"required": true,
"required": true
"default": "hero_genericperson"
},
},
"card": {
"card": {
Line 103: Line 103:
"example": "Abrams card.png",
"example": "Abrams card.png",
"type": "string",
"type": "string",
"autovalue": "Abrams card.png",
"aliases": [
"aliases": [
"portrait"
"portrait"
]
],
"default": "Abrams card.png"
},
},
"weapon_name": {
"weapon_name": {
Line 188: Line 188:
"no_summary": {
"no_summary": {
"description": "Deprecated version of \"show_hero_tags\".",
"description": "Deprecated version of \"show_hero_tags\".",
"autovalue": "false",
"deprecated": "Use \"show_hero_tags\" instead.",
"deprecated": "Use \"show_hero_tags\" instead.",
"type": "boolean"
"type": "boolean",
"default": "false"
},
},
"show_hero_tags": {
"show_hero_tags": {
"description": "Shows (true) or hides (false) the three-word hero tags shown in the roster screen. (ex. \"Tank, Brawler, Bull-Headed\" for Abrams)",
"description": "Shows (true) or hides (false) the three-word hero tags shown in the roster screen. (ex. \"Tank, Brawler, Bull-Headed\" for Abrams)",
"type": "boolean",
"type": "boolean",
"autovalue": "true"
"default": "true"
},
},
"show_logo": {
"show_logo": {
Line 203: Line 203:
"description": "Shows (true) or hides (false) the name logo displayed above the hero's portrait, if any. Hiding the logo replaces it with a normal text version.",
"description": "Shows (true) or hides (false) the name logo displayed above the hero's portrait, if any. Hiding the logo replaces it with a normal text version.",
"type": "boolean",
"type": "boolean",
"autovalue": "true"
"default": "true"
},
},
"show_icon": {
"show_icon": {
"description": "Shows (true) or hides (false) the icon used by the hero in the in-game map.",
"description": "Shows (true) or hides (false) the icon used by the hero in the in-game map.",
"type": "boolean",
"type": "boolean",
"autovalue": "true"
"default": "true"
},
},
"no_spirit_resist": {
"no_spirit_resist": {
"type": "boolean",
"type": "boolean",
"autovalue": "false",
"deprecated": "Now handled automatically by the module.",
"deprecated": "Now handled automatically by the module.",
"description": "Deprecated toggle to hide spirit resist. Is now handled automatically by the module."
"description": "Deprecated toggle to hide spirit resist. Is now handled automatically by the module.",
"default": "false"
},
},
"no_falloff": {
"no_falloff": {
"description": "If set to true, disables the \"Falloff Range\" statistic. (Celeste)",
"description": "If set to true, disables the \"Falloff Range\" statistic. (Celeste)",
"type": "boolean",
"type": "boolean",
"autovalue": "false"
"default": "false"
},
},
"no_ammo": {
"no_ammo": {
"description": "If set to true, disables the \"Ammo\" and \"Reload time\" statistics. (Silver)",
"description": "If set to true, disables the \"Ammo\" and \"Reload time\" statistics. (Silver)",
"type": "boolean",
"type": "boolean",
"autovalue": "false"
"default": "false"
},
},
"no_name": {
"no_name": {
Line 230: Line 230:
"deprecated": "Use \"show_logo\" instead.",
"deprecated": "Use \"show_logo\" instead.",
"type": "boolean",
"type": "boolean",
"autovalue": "false"
"default": "false"
},
},
"no_icon": {
"no_icon": {
"description": "Deprecated version of \"show_icon\".",
"description": "Deprecated version of \"show_icon\".",
"autovalue": "false",
"deprecated": "Use \"show_icon\" instead.",
"deprecated": "Use \"show_icon\" instead.",
"type": "boolean"
"type": "boolean",
"default": "false"
},
},
"bullets_per_burst": {
"bullets_per_burst": {
Line 248: Line 248:
"description": "Deprecated toggle to hide bullet resist. Is now handled automatically by the module.",
"description": "Deprecated toggle to hide bullet resist. Is now handled automatically by the module.",
"type": "boolean",
"type": "boolean",
"autovalue": "false",
"deprecated": true,
"deprecated": true
"default": "false"
}
}
},
},