Template:SpellIcon

From Noita Wiki
Jump to navigation Jump to search


Renders an individual spell icon with coloured border.

Used by:

Spell Related templates

  • {{SpellSequence}} - Render ordered spell sequences using your own templates.
  • {{SpellIcon}} - Render individual spell icons
  • Module:Wand - this lua module handles querying cargo for data, and rendering the Wand2 template.

Usage

{{SpellIcon
| page = Spell Page
| name = Spell Name
| image = Spell Image.png
| type = projectile
}}

Examples

Example 1:
{{flex/start}}
{{SpellIcon|page=Spitter Bolt|name=Spitter Bolt|image=Spell_spitter.png|type=Projectile}}
{{SpellIcon|page=Circle of Buoyancy|name=Circle of Buoyancy|image=Spell_levitation_field.png|type=Static}}
{{SpellIcon|page=Summon Tiny Ghost|name=Summon Tiny Ghost|image=Spell_tiny_ghost.png|type=Passive}}
{{SpellIcon|page=Gold To Power|name=Gold To Power|image=Spell_golden_punch.png|type=Utility}}
{{SpellIcon|page=Nolla|name=Nolla|image=Spell_nolla.png|type=Modifier}}
{{SpellIcon|page=Chunk of Soil|name=Chunk of Soil|image=Spell_soil.png|type=Material}}
{{SpellIcon|page=Tuple Spell|name=Tuple Spell|image=Spell_burst_2.png|type=Multicast}}
{{SpellIcon|page=Random Spell|name=Random Spell|image=Spell_random_spell.png|type=Other}}
{{SpellIcon|page=Null|name=Null|image=Spell_not_an_image.png|type=NotAType}}
{{flex/end}}
Result:

Parameters

Template parameters

ParameterDescriptionTypeStatus
typetype

The type of the spell (projectile, modifier, etc)

Unknownoptional
imageimage

The spell icon image

Unknownoptional
_pageName_pageName page

The wiki page name of the spell to link to

Unknownoptional
namename

The name of the spell

Unknownoptional