Template:CharacterStats

From Cities

Jump to: navigation, search
  • Alignment: {{{alignment}}}
  • Maximum Action Points: {{{ap}}}
  • Maximum Hit Points: {{{hp}}}
  • Base to-hit chance: {{{hit}}}%
  • Damage Multiplier: {{{damage}}}
  • Number of Times Died: {{{died}}}
  • Dragons Killed: {{{dragons}}}


Call this Template using an invocation in a regular page along these lines:

{{CharacterStats|alignment=Fire|ap=120|hp=100|hit=50|etc}}

Sadly, this version of MediaWiki does not support default parameters in templates, so you have to provide all of them yourself. This also makes it rather awkward to apply style to the DIV based on parameters, so that doesn't work (yet).

Personal tools