Template:Infobox/Spells

From Ultima Codex
Jump to navigation Jump to search
Infobox/Spells
Ultima VII

Usage[edit]

Usage for all spells, except Pagan spell in Ultima VIII. For those, use Template:Infobox/Pagan_Spell.

{{Infobox/Spells
| picture=          optional, a representative picture
| game=             the game the spell belongs to (ex: “Ultima IV”)
| game2=            another game the spell belongs to, to merge in the same infobox (ex: “Ultima Underworld”)
| localName=        optional, specific spell name for a game (ex for Peer, U4 sub-infobox: “View”)
| localNameU=       optional, should not be used if localName is. Same purpose, but unformatted
| class=            the class or type of the spell, typically “divine”, “arcane” or “both”. Only relevant to Sosarian magic
| incantation=      optional, the necessary words to chant the spell
| words=            optional, (deprecated. Use "incantation") the necessary words of power (ex: “In Ylem”)
| wordsU=           optional, (deprecated. Use "incantation") should not be used if words is. Same purpose, but unformatted
| reagents=         optional, reagents needed, sorted alphabetically (ex: “[[Black pearl|BP]], [[Blood moss|BM]]”)
| circle=           optional, the circle the spell belongs too (ex: “4th”)
| mana=             optional, the mana needed to cast the spell (as used in Ultima VII (SNES))
| range=            optional, the range of the spell's effect (should probably not be used in addition to distance and may not be relevant after Ultima VI)
| distance=         optional, the distance of the spell's effect (should probably not be used in addition to range and may not be relevant after Ultima VI)
| otherappearances= optional, Infobox/Spell templates, one following the other, for more games.
| secondary=        optional, when using this template inside the "otherappearances" section, always add "| secondary=true"
| command=          optional, command for the spell
}}

Example[edit]

{{Infobox/Spells
| picture= [[Image: U7blink.gif]]
| game=Ultima VII Part Two
| words= Rel Por
| reagents= [[Blood moss|BM]], [[Mandrake root|MR]]
| circle= 4th
| otherappearances={{Infobox/Spells
  | game=Ultima V
  | localName=Create Movement
  | words= In Por
  | reagents= [[Blood moss|BM]], [[Spider silk|SS]]
  | circle= 3rd
  | secondary=true
  }}{{Infobox/Spells
  | game=Ultima IV
  | reagents= [[Blood moss|BM]], [[Spider silk|SS]]
  | mana=15
  | range=10
  | secondary=true
  }}
}}