Template:Infobox unit/doc: Difference between revisionsGive feedback
add usage, fix templatedata, reorder |
changed max_health type to be a string. in practice, pages like Walker already use non-numeric strings |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 9: | Line 9: | ||
|max_health = 5500 | |max_health = 5500 | ||
|health_regen = 0 | |health_regen = 0 | ||
|damage_resist = 75 → -50 | |||
|bullet_resist = 0 | |bullet_resist = 0 | ||
|spirit_resist = 0 | |spirit_resist = 0 | ||
| Line 28: | Line 29: | ||
|max_health = 5500 | |max_health = 5500 | ||
|health_regen = 0 | |health_regen = 0 | ||
|damage_resist = 75 → -50 | |||
|bullet_resist = 0 | |bullet_resist = 0 | ||
|spirit_resist = 0 | |spirit_resist = 0 | ||
| Line 78: | Line 80: | ||
|soul_orbs=1 | |soul_orbs=1 | ||
}} | }} | ||
{{Clear}} | |||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 89: | Line 92: | ||
"description": "Unit Health", | "description": "Unit Health", | ||
"example": "5500", | "example": "5500", | ||
"type": " | "type": "string" | ||
}, | }, | ||
"health_regen": { | "health_regen": { | ||
"description": "Unit Health Regen (if applicable)", | "description": "Unit Health Regen (if applicable)", | ||
"type": "number" | "type": "number" | ||
}, | |||
"damage_resist": { | |||
"description": "Unit Damage Resistance %", | |||
"type": "string" | |||
}, | }, | ||
"bullet_resist": { | "bullet_resist": { | ||
| Line 143: | Line 150: | ||
"description": "Number of Soul Orbs spawned by the unit on death", | "description": "Number of Soul Orbs spawned by the unit on death", | ||
"type": "number" | "type": "number" | ||
}, | |||
"voice_actor": { | |||
"description": "voice actor" | |||
}, | |||
"quotes": { | |||
"description": "link to quotes page" | |||
}, | |||
"information": { | |||
"suggestedvalues": [ | |||
"true" | |||
], | |||
"description": "Information box" | |||
}, | }, | ||
"font-size": {}, | "font-size": {}, | ||
"can_move": {} | "can_move": { | ||
"description": "adds movement boxes" | |||
} | |||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
| Line 152: | Line 173: | ||
"max_health", | "max_health", | ||
"health_regen", | "health_regen", | ||
"damage_resist", | |||
"bullet_resist", | "bullet_resist", | ||
"spirit_resist", | "spirit_resist", | ||
| Line 163: | Line 185: | ||
"soul_orbs", | "soul_orbs", | ||
"font-size", | "font-size", | ||
"can_move" | "can_move", | ||
"voice_actor", | |||
"quotes", | |||
"information" | |||
], | ], | ||
"format": "block", | "format": "block", | ||