Difference between revisions of "Template:Enemy infobox"

From OMORI Wiki
Jump to navigation Jump to search
m
m
 
Line 64: Line 64:
"name": {
"name": {
"type": "string",
"type": "string",
"description": "The name of the enemy; else, the page name will be used"
"description": "The name of the enemy; else, the page name will be used",
"label": "Name"
},
},
"image": {
"image": {
"description": "The image to use as the thumbnail",
"description": "The image to use as the thumbnail",
"example": "Forest Bunny (neutral).gif",
"example": "Forest Bunny (neutral).gif",
"type": "string"
"type": "string",
"label": "Thumbnail",
"suggested": true
},
},
"size": {
"size": {
"description": "The size of the thumbnail image",
"description": "The size of the thumbnail image",
"example": "150px"
"example": "150px",
"label": "Thumbnail Size",
"type": "string",
"suggested": true
},
},
"heart": {
"heart": {
Line 79: Line 85:
"suggested": true,
"suggested": true,
"description": "The enemy's health",
"description": "The enemy's health",
"example": "85"
"example": "85",
"label": "Heart"
},
},
"juice": {},
"juice": {
"attack": {},
"type": "number",
"defense": {},
"description": "The enemy's juice",
"speed": {},
"example": "42",
"luck": {},
"suggested": true,
"hit": {},
"label": "Juice"
"drops": {}
},
"attack": {
"type": "number",
"label": "Attack",
"description": "The enemy's attack",
"example": "10",
"suggested": true
},
"defense": {
"type": "number",
"label": "Defense",
"description": "The enemy's defense",
"example": "2",
"suggested": true
},
"speed": {
"type": "number",
"label": "Speed",
"description": "The enemy's speed",
"example": "10",
"suggested": true
},
"luck": {
"type": "number",
"label": "Luck",
"description": "The enemy's luck",
"example": "10",
"suggested": true
},
"hit": {
"type": "number",
"label": "Hit",
"description": "The enemy's hit"
},
"drops": {
"description": "What the enemy can drop upon defeat",
"example": "Candy",
"type": "string",
"label": "Drops",
"suggested": true
}
},
},
"description": "An overview of an enemy.",
"description": "An overview of an enemy.",

Latest revision as of 19:19, 10 March 2023

Enemy infobox
[[File:{{{image}}}|{{{size}}}]]
HP.png heart {{{heart}}}
MP.png juice {{{juice}}}
attack {{{attack}}}
defense {{{defense}}}
speed {{{speed}}}
luck {{{luck}}}
hit {{{hit}}}
drops {{{drops}}}

An overview of an enemy.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

The name of the enemy; else, the page name will be used

Stringoptional
Thumbnailimage

The image to use as the thumbnail

Example
Forest Bunny (neutral).gif
Stringsuggested
Thumbnail Sizesize

The size of the thumbnail image

Example
150px
Stringsuggested
Heartheart

The enemy's health

Example
85
Numbersuggested
Juicejuice

The enemy's juice

Example
42
Numbersuggested
Attackattack

The enemy's attack

Example
10
Numbersuggested
Defensedefense

The enemy's defense

Example
2
Numbersuggested
Speedspeed

The enemy's speed

Example
10
Numbersuggested
Luckluck

The enemy's luck

Example
10
Numbersuggested
Hithit

The enemy's hit

Numberoptional
Dropsdrops

What the enemy can drop upon defeat

Example
Candy
Stringsuggested