Template:Item battlerod-box/doc

From Terraria Mods Wiki
Jump to navigation Jump to search

Describe the template's function here.

Usage

Used to create Item boxes for the Battlerod items. Contains a section for the item and the bobber that is launched.


{{item infobox
| boxwidth = width of infobox; default = 21em or stretches to image width
| float = default is right
| css / style = css style for infobox box, if width:xx or float:xx inclueded it will override boxwidth= or float=.
| name = custom item name; default = page name
| namesub = custom item name, displays below name
| image = inventory image; default = name.png (also used for sets)
| type = eg. Weapon, Tool, Furniture, etc.
| type2 = secondary type; =Set for armor and vanity sets
| damage = damage inflicted per hit
| damagetype = melee, ranged, magic, summon, or thrown
| no_of_bobbers = number of bobbers this battlerod has
| bob_time = time for a bob, in seconds
| bob_time_ticks = time a bob takes, in ticks (1/60)
| reel_speed = the Maximum speed this rod reels an enemy at, in pix/s
| tensile = force of the line before it breaks, in pix/s2
| fish_power = the fishing power of this rod
| no_baits = the number of simultaneous baits this battlerod allows
| tooltip = Tooltip
| critical = if no value is entered and the main Type is "Weapon", a default value of 4% is displayed
| buff = buff provided (up to 5 as buff2, buff3...)
| bufflink = no: when buff doesn't have it's own page
| duration = buff duration
| bufftip = buff tooltip
| debuff = debuff provided (up to 3 as debuff2, debuff3...)
| debufflink = no: when debuff doesn't have it's own page
| debuffduration = buff duration
| debufftip = buff tooltip
| stack = max quantity of this item that can be stacked in a single inventory slot; defaults to 1 for all items
| rare = rarity value, eg. '1' for Blue, '2' for Green, 'q' for Amber (quest), 'rainbow' for expert-exclusive.
| buy = buy value in coins, enter using coin templates ({{cc}}, {{sc}}, {{gc}}, {{pc}})

Placing // within either the sell value or buy value will return separate lines for Buy and Sell.

| sell = sell value in coins, also enter using coin templates
| projectile = Name of the projectile the item creates. It can also be used for summons, i.e. to incorporate {{summoned}} into the infobox. (up to 3 as projectile2, projectile3...). The first projectile is the Bobber of the rod, second is the turret projectiles spawned, third is more projectiles if needed. Projectile 2_2 and 3_2 exist for cases where more than one projectile is spawned in crowd control mode.
| projectiletype = Type of the projectile created; affects the section's header. Leave it empty to set the header to "Creates Projectile". Set it to minion/sentry to set the header to "Summons Minion"/"Summons Sentry". Anything else will set it to "Summons <parameter value>"; example: Set it to [[Mod of Redemption/Guardian|Guardian]] (or faster: {{+|Guardian}} on the Mod of Redemption Wiki) to set the section's header to "Summons Guardian".
| projectileimage = Image of the projectile, without brackets (e.g. File:Wooden Arrow.png). Defaults to File:<value of the projectile parameter>.png.
| consumable = true: (found in source code) leaves player's inventory with Use / Attack, includes placeable items
| listcat = a supplemental category name to include the current item in a DPL list, eg. "arrows" causes the item to display at Arrows
| listcat2 ... listcat5 = identical to listcat: an additional supplemental category name
| listexclude = yes, to exclude the current template from DPL lists
| hardmode = yes, for items that only become available in Hardmode worlds
}}