Difference between revisions of "Template:Enemy infobox"

From OMORI Wiki
Jump to navigation Jump to search
m
m
 
(3 intermediate revisions by the same user not shown)
Line 62: Line 62:
{
{
"params": {
"params": {
"name": {},
"name": {
"image": {},
"type": "string",
"size": {},
"description": "The name of the enemy; else, the page name will be used",
"heart": {},
"label": "Name"
"juice": {},
},
"attack": {},
"image": {
"defense": {},
"description": "The image to use as the thumbnail",
"speed": {},
"example": "Forest Bunny (neutral).gif",
"luck": {},
"type": "string",
"hit": {},
"label": "Thumbnail",
"drops": {}
"suggested": true
},
"size": {
"description": "The size of the thumbnail image",
"example": "150px",
"label": "Thumbnail Size",
"type": "string",
"suggested": true
},
"heart": {
"type": "number",
"suggested": true,
"description": "The enemy's health",
"example": "85",
"label": "Heart"
},
"juice": {
"type": "number",
"description": "The enemy's juice",
"example": "42",
"suggested": true,
"label": "Juice"
},
"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.",
"format": "block"
"format": "block"
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Latest revision as of 20: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