Template:Entity/doc

From RLCraft Wiki
Jump to navigation Jump to search

Description

To use this template, add the {{Entity}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses Fandom's infobox syntax.

Categories

When an article uses this template it will automatically get assigned the category Entities. It will also get Hostile, Neutral and/or Passive mobs assigned if any are included in the behavior field, which supports multiple.

Syntax

{{Entity
 | title         = 
 | image         = [e.g. "Example.jpg"]
 | imagecaption  = 
 | mod           = 
 | health        = 
 | armor         = 
 | behavior      = 
 | attack        = 
 | drops         = 
 | spawning      = 
 | experience    = 
 | sounds        = 
 | nameid        = 
}}
Parameter Function Default/Example value
title Optional value to use a different title instead of the page name {{BASEPAGENAME}}
image Image of the entity (should be approx. 300x300px) {{BASEPAGENAME}}.png
imagecaption Caption of the image if needed None
mod The mod from which the entity comes. Should be linked None
health The amount of health the entity has. 2 Health is 1 heart. None
armor The amount of armor the entity has. 2 Armor is 1 armor icon. None
behavior How the entity behaves (passive, neutral, hostile) None
attack The damage this entity does when attacking None
drops The drops the entity has. See Drops
spawning The spawning conditions the entity has. See Spawning
experience How much experience this entity drops when destroyed None
sounds Sounds the entity can make. None
nameid The entity's named identifier. None

Sample output


{{Entity
 | title         = Trumpet skeleton
 | image         = Trumpet Skeleton.png
 | imagecaption  = A trumpet skeleton
 | mod           = [[Trumpet Skeleton]]
 | health        = 20
 | armor         = 
 | behavior      = Hostile
 | attack        = 2-3
 | drops         = 0-2 [https://minecraft.gamepedia.com/Bone bones], 0-1 [[Trumpet]]
 | spawning      = 
 | experience    = 5
 | sounds        = '''Doot''' [[File:Skullsound2.ogg]]
 | nameid        = trumpetskeleton:trumpet_skeleton
}}