Template:Infobox spellpiece

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/spellpiece.
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 Psi spell pieces.

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}}}
Group{{{group}}}
Return type{{{returns}}}
Complexity{{{complexity}}}
Potency{{{potency}}}
Cost{{{cost}}}
Parameters
{{{param1name}}}{{{param1type}}}
{{{param2name}}}{{{param2type}}}
{{{param3name}}}{{{param3type}}}
{{{param4name}}}{{{param4type}}}
Technical details
Registry name{{{registryname}}}
First appearance{{{firstappearance}}}
Last appearance{{{lastappearance}}}
  • name: Name of the spell piece.
  • iconimage or imageicon: The icon image. Use {{Gc}}.
  • mod: The mod the spell piece 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.
    • connector: Connector
    • constant: Constant
    • error_handler: Error handler
    • modifier: Modifier
    • operator: Operator
    • selector: Selector
    • trick: Trick
  • group: The group of this piece (name of the lesson unlocking the piece).
  • returns: The type of the value returned by this piece, if any.
  • complexity: The complexity of the spell piece.
  • potency: The potency of the spell piece.
  • cost: The cost of the spell piece.

Parameters[edit source]

  • param1name: The name of the first parameter.
  • param1type: The type of the first parameter.
  • param2name: The name of the second parameter.
  • param2type: The type of the second parameter.
  • param3name: The name of the third parameter.
  • param3type: The type of the third parameter.
  • param4name: The name of the fourth parameter.
  • param4type: The type of the fourth parameter.

Technical[edit source]

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

Examples[edit source]

CodeResult
{{Infobox spellpiece
|name=Trick: Debug
|imageicon={{Gc|mod=PSI|link=none|no-bg=true|Trick: Debug}}
|mod=Psi
|type=trick
|group=Tutorial 1
|param1name=Target
|param1type=Any
|param2name=Number
|param2type=Number
|registryname=trickDebug
}}
Trick: Debug

ModPsi
TypeTrick
GroupTutorial 1
Parameters
TargetAny
NumberNumber
Technical details
Registry nametrickDebug


CodeResult
{{Infobox spellpiece
|name=Selector: Caster
|imageicon={{Gc|mod=PSI|link=none|no-bg=true|Selector: Caster}}
|mod=Psi
|type=selector
|group=Tutorial 1
|returns=Entity (Player, Living)
|complexity=1
|registryname=selectorCaster
}}
Selector: Caster

ModPsi
TypeSelector
GroupTutorial 1
Return typeEntity (Player, Living)
Complexity1
Technical details
Registry nameselectorCaster
Other languages:
English