Template:Npc infobox/es

From Terraria Wiki
Jump to: navigation, search
This page is part of the Spanish translation project.
Template-info.svg Documentation The documentation below is transcluded from Template:Npc infobox/es/doc. (edit | history)

Usage[edit source]

All variables except Type are optional.

  • The image parameter replaces the main image. A single bare filename must be entered, without any other code.
  • The imagealt parameter replicates the functionality of the image parameter in {{item infobox/es}}. It replaces the main image, but takes any code. Multiple images can be provided, and/or text and other formatting. Images specified using imagealt require the full [[File: ]] markup.
{{npc infobox
| boxwidth = custom width for the infobox; default = 23em
| width = same as boxwidth; partially deprecated
| id = id of the npc
| name = npc name; default = page name (English)
| namees = npc name (Spanish)
| version = platform-platform-platform; for exclusive npcs (e.g. version=console-mobile-3ds)
| variant = yes; only if it is an old-gen console/mobile/3ds exclusive variant (not needed if version is used)
| namesub = name sub-line; default = none
| image = imagename.png; default = pagename.png
| imagealt = [[File:imagename.png]]
| imageexpert = imagename.png, Expert Mode variant
| image2 = name_(old#).png, displays old sprite in use by other platforms. If the filename is "name_(old).png" or "name_(old).gif" this may be omitted.
You can use image2 = <blank> to disable image auto discover.
| imageversion2 = platform-platform-platform (list platforms using the sprite, e.g. console-mobile, all valid platforms is: desktop, console, old-gen, mobile, 3ds ), if image2 is specified and this is omitted, will use default old platforms(old-gen-mobile-3ds).
| image3 = name_(old#).png, displays old sprite in use by other platforms
| imageversion3 = platform-platform-platform (list platforms using the sprite, e.g. console-mobile)
| imageother = imagename2.png, displays at the bottom on the infobox
| imageothercaption = caption for imageother
| type = character type: Enemy for enemies, Town for friendly NPCs, Critter for friendly Critters; default is Enemy (English)
| typees = character type: Enemy for enemies, Town for friendly NPCs, Critter for friendly Critters; default is Enemigo (Spanish)
| type2, type3 = sub character type: Enemy for enemies, Town for friendly NPCs, Critter for friendly Critters; default is Enemy (English)
| type2es, type3es = sub character type: Enemy for enemies, Town for friendly NPCs, Critter for friendly Critters; default is Enemigo (Spanish)
| environment = biome where can they be found (English)
| environmentes = biome where can they be found (Spanish)
| environment2 = sub-biome (English)
| environment2es = sub-biome (Spanish)
| ai = which AI the character uses (English)
| aies = which AI the character uses (Spanish)
| damage = damage inflicted per hit from this character
| life = total max health
| defense = defense the character has
| knockback = knockback resistance
| power = for catchable characters, like critters, which can be used for things like bait (enter "15% bait", for example)
| buff = buff granted (English)
| buffes = buff granted (Spanish)
| bufflink = no; default is yes
| debuff = debuff inflicted (English)
| debuffes = debuff inflicted (Spanish)
| debufflink = no; default is yes
| debuffchance = chances of inflicting the debuff
| debufftip = debuff tooltip
| duration = length of time the debuff lasts
| debuff2 = second debuff inflicted (English)
| debuff2es = second debuff inflicted (Spanish)
| debufflink2 = no; default is yes
| debuffchance2 = chances of inflicting the second debuff
| debufftip2 = second debuff's tooltip
| duration2 = length of time the second debuff lasts
| immune1
= debuffs a character is immune to (English)
| immune10
| immune1es
= debuffs a character is immune to (Spanish)
| immune10es
| immuneall = yes, if this character is immune to all debuffs
| banner = yes, if this character drops a Banner
| bannername = if banner=yes, use this to specify a custom banner name. default: "[page name] Banner" or "[name parameter] Banner" (English)
| bannernamees = if banner=yes, use this to specify a custom banner name. default: "[page name] Banner" or "[name parameter] Banner" (Spanish)
| idbuff = id of the (de)buff caused by the npc
| allversions = yes (only Desktop/Console/Old-gen Console/Mobile/3DS content, where no "___ content only" banner is present)
| money = dropped coins, enter using coin templates: {{cc}} {{sc}} {{gc}} {{pc}}
| group|heading|size| items may be visually grouped with the "group" parameter value (see Queen Bee for an example); "group size" may be left empty
| item1(English)|item1(Spanish)|quantity1|rate1 standard item drop info: item name (English) | item name (Spanish) | quantity | rate.
| item2(English)|item2(Spanish)|quantity2|rate2
| itemN(English)|itemN(Spanish)|quantityN|rateN
...
| custom|item cell|rate custom item cell content. (see Guide for an example).
|itemname|quantity|rate is equivalent to |custom|{{item|itemname}} (quantity)|rate
| idbuff = buff id
| listcat, listcat2 = category name; for additional categorization
| hardmode = yes, if the npc is only available in Hardmode
no, if the npc is not available in Hardmode
}}