Difference between revisions of "Template:Spell"

From ShadowHaven Reloaded
Jump to navigation Jump to search
 
Line 1: Line 1:
<includeonly>
<includeonly>
{| cellpadding=5 cellspacing=0 style="border: gray 2px solid; width: {{{ScreenWidthPercentage|30}}}%;  -moz-border-radius: 20px; -webkit-border-radius: 25px; border-radius: 25px; background-color: #444"
{| cellpadding=5 cellspacing=0 style="border: gray 2px solid; display: block; overflow-y: scroll; height: 250px; width: {{{ScreenWidthPercentage|30}}}%;  -moz-border-radius: 20px; -webkit-border-radius: 25px; border-radius: 25px; background-color: #444"
|-  
|-  
|
|

Latest revision as of 00:55, 19 October 2024


Usage

This template helps create a standard display format for custom qualities.

  • Name The name of the quality.
  • ScreenWidthPercentage This is an optional param which tells the box to only take up X% of the area its assigned to. This will default to 30 but might need to be changed to something else if placed within its own table or something.
  • Tags Any tags associated with the spell.
  • Type Physical or Mana
  • Range The range of the spell
  • Damage The damage type of the spell
  • Duration The duration of the spell
  • Drain The adjustment to F for drain of the spell. IE -6 for a F-6 spell
  • Description The text associated with the quality.

So, if you enter this:

{{Spell|
|Name=Test Spell
|ScreenWidthPercentage=30 (optional, defaults to 30)
|Tags=Direct, Elemental, Touch
|Type=P
|Range=T
|Damage=F
|Duration=I
|Drain=-6
|Description=This is some text
|}}

The template will return the characters current essence/total essence.

Test Spell(Direct, Elemental, Touch)
Type: P Range: T Damage: F Duration: I Drain: -6
This is some text