We are currently performing an upgrade to our software. This upgrade will bring MediaWiki from version 1.31 to 1.33. While the upgrade is being performed on your wiki it will be in read-only mode. For more information check here.

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.
Return type{{{returns}}}
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]

{{Infobox spellpiece
|name=Trick: Debug
|imageicon={{Gc|mod=PSI|link=none|no-bg=true|Trick: Debug}}
|group=Tutorial 1
Trick: Debug

GroupTutorial 1
Technical details
Registry nametrickDebug

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

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