Difference between revisions of "Template:Spell"

From ShadowHaven Reloaded
Jump to navigation Jump to search
(Created page with "<includeonly> {| cellpadding=5 cellspacing=0 style="border: gray 2px solid; width: 30%; -moz-border-radius: 20px; -webkit-border-radius: 25px; border-radius: 25px; background-color: #444" |- | {| style="width: 100%;" ! colspan="5" style="font-size:110%; border-bottom: 1px solid red; color: red; text-align:left;max-width: 100%" | {{{Name}}}({{{Tags}}}) |- | style="font-size:100%; text-align:left; max-width: 20%" | Type: {{{Type}}} | style="font-size:100%; text-align:le...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{| cellpadding=5 cellspacing=0 style="border: gray 2px solid; width: 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"
|-  
|-  
|
|
Line 25: Line 25:


*Name The name of the quality.
*Name The name of the quality.
*KarmaCost The base cost of the quality in karma (bonus or penalty).
*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.
*Requires Any special requirements that might exist.
*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.
*Description The text associated with the quality.


Line 34: Line 39:
{{Spell|
{{Spell|
|Name=Test Spell
|Name=Test Spell
|ScreenWidthPercentage=30 (optional, defaults to 30)
|Tags=Direct, Elemental, Touch
|Tags=Direct, Elemental, Touch
|Type=P
|Type=P
Line 47: Line 53:
{{Spell|
{{Spell|
|Name=Test Spell
|Name=Test Spell
|ScreenWidthPercentage=30
|Tags=Direct, Elemental, Touch
|Tags=Direct, Elemental, Touch
|Type=P
|Type=P

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