Difference between revisions of "Template:Spell"
Jump to navigation
Jump to search
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; 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. | ||
*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. | *Tags Any tags associated with the spell. | ||
*Type Physical or Mana | *Type Physical or Mana | ||
Line 38: | 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 51: | Line 53: | ||
{{Spell| | {{Spell| | ||
|Name=Test Spell | |Name=Test Spell | ||
|ScreenWidthPercentage=30 | |||
|Tags=Direct, Elemental, Touch | |Tags=Direct, Elemental, Touch | ||
|Type=P | |Type=P |
Revision as of 12:57, 25 August 2024
UsageThis template helps create a standard display format for custom qualities.
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.
|