User:Samlovesmath/Template:Infobox hero/doc: Difference between revisionsGive feedback
Samlovesmath (talk | contribs) initialization |
mNo edit summary |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{Samlovesmath/Infobox_hero | {{User:Samlovesmath/Template:Infobox_hero | ||
|key=hero_atlas | |key=hero_atlas | ||
|voice_actor=Samoa Joe | |voice_actor=Samoa Joe | ||
| Line 96: | Line 96: | ||
"hero_yamato" | "hero_yamato" | ||
], | ], | ||
" | "required": true, | ||
" | "default": "hero_genericperson" | ||
}, | }, | ||
"card": { | "card": { | ||
| Line 103: | Line 103: | ||
"example": "Abrams card.png", | "example": "Abrams card.png", | ||
"type": "string", | "type": "string", | ||
"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\".", | ||
"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", | ||
" | "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", | ||
" | "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", | ||
" | "default": "true" | ||
}, | }, | ||
"no_spirit_resist": { | "no_spirit_resist": { | ||
"type": "boolean", | "type": "boolean", | ||
"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", | ||
" | "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", | ||
" | "default": "false" | ||
}, | }, | ||
"no_name": { | "no_name": { | ||
| Line 230: | Line 230: | ||
"deprecated": "Use \"show_logo\" instead.", | "deprecated": "Use \"show_logo\" instead.", | ||
"type": "boolean", | "type": "boolean", | ||
" | "default": "false" | ||
}, | }, | ||
"no_icon": { | "no_icon": { | ||
"description": "Deprecated version of \"show_icon\".", | "description": "Deprecated version of \"show_icon\".", | ||
"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", | ||
" | "deprecated": true, | ||
" | "default": "false" | ||
}, | |||
"name_font_size": { | |||
"aliases": [ | |||
"font-size", | |||
"font_size" | |||
], | |||
"description": "Sets the size of the font for hero names that do not have a logo image.", | |||
"example": "25px" | |||
} | } | ||
}, | }, | ||
| Line 264: | Line 272: | ||
"no_falloff", | "no_falloff", | ||
"no_ammo", | "no_ammo", | ||
"name_font_size", | |||
"card", | "card", | ||
"icon", | "icon", | ||