Template:Infobox spell

From Feed The Beast Wiki
Jump to: navigation, search
Template-info.png Documentation
Lua logo.svg This template uses Module:Infobox, with data stored in Module:Infobox/spell.
These scripts are written in Lua. Please see wikipedia:wp:Lua and mw:Extension:Scribunto to learn more.

This template is used to create an info box that aligns to the right side of the article it is embedded in. It is used to document Electroblob's Wizardry Spells

Parameters[edit source]

A blank infobox is provided on the right for quicker reference, the infobox will be collapsed on actual articles.
{{{name}}}
{{{iconimage}}}
Mod{{{mod}}}
Type{{{type}}}
Tier{{{tier}}}
Element{{{element}}}
Mana Cost{{{mana}}}
Cooldown{{{cd}}}
Usable by Wizards{{{wizard}}}
Technical details
Registry name{{{registryname}}}
First appearance{{{firstappearance}}}
Last appearance{{{lastappearance}}}
  • name: Name of the spell.
  • iconimage or imageicon: The icon image. Use {{Gc}} or {{O}}.
  • mod: The mod the spell belongs to.
  • type: Type of the spell. Can be any of the following. Anything else will add the page to a list of pages with type errors.
    • attack: Attack
    • defence: Defence
    • minion: Minion
    • utility: Utility
  • tier: Tier of the spell. Can be any of the following. Anything else will add the page to a list of pages with type errors.
    • advanced: Advanced
    • apprentice: Apprentice
    • basic or novice: Novice
    • master: Master
  • element: Element of the spell. Can be any of the following. Anything else will add the page to a list of pages with type errors.
    • earth: Earth
    • fire: Fire
    • healing: Healing
    • ice: Ice
    • lightning: Lightning
    • magic: Magic
    • necromancy: Necromancy
    • sorcery: Sorcery
  • mana: Mana Cost to cast the spell, add a "/second" if the spell is continuous.
  • cd: The spell's cooldown time in ticks. The {{ticks}} template can be used for readability.
  • wizard: Whether Wizard mobs can use this spell. Preferably Yes or No.

Technical[edit source]

  • registryname: The spell's registry name.
  • firstappearance: The version string that the spell first appeared in.
  • lastappearance: The version string that the spell last appeared in.

Examples[edit source]

CodeResult
{{Infobox spell
|name=Test
|imageicon={{Gc|mod=EBW|link=none|no-bg=true|Magic Missile}}
|mod=Electroblob's Wizardry
|type=utility
|tier=master
|element=sorcery
|mana=42
|cd={{ticks|100}}
|wizard=Yes
|registryname=test_spell
|firstappearance=1.0
|lastappearance=6.6
}}
Test

ModElectroblob's Wizardry
TypeUtility
TierMaster
ElementSorcery
Mana Cost42
Cooldown100 ticks
Usable by WizardsYes
Technical details
Registry nametest_spell
First appearance1.0
Last appearance6.6
Other languages:
English • ‎русский • ‎日本語