Template:Item: Difference between revisions

12 bytes added ,  19:54, 29 October 2021
m
relocate MA
mNo edit summary
m (relocate MA)
Line 125: Line 125:
{{#if: {{{unpowereddamage|}}}|{{infobox row|Damage(Unpowered)|{{heart}}{{{unpowereddamage|}}} }} }}
{{#if: {{{unpowereddamage|}}}|{{infobox row|Damage(Unpowered)|{{heart}}{{{unpowereddamage|}}} }} }}
{{#if: {{{hp|}}}      | {{infobox row|HP|{{{hp}}} }} }}
{{#if: {{{hp|}}}      | {{infobox row|HP|{{{hp}}} }} }}
{{#if: {{{ma|}}}      | {{infobox row|[[MA]] Bonus|+{{{ma}}} }} }}
<!-- a number to hit-->
<!-- a number to hit-->
{{#if: {{{tohit|}}}  | {{infobox row|To Hit|{{{tohit}}} }} }}
{{#if: {{{tohit|}}}  | {{infobox row|To Hit|{{{tohit}}} }} }}
Line 194: Line 193:
{{#if: {{{strength|}}}{{{agility|}}}{{{toughness|}}}{{{intelligence|}}}{{{willpower|}}}{{{ego|}}} |
{{#if: {{{strength|}}}{{{agility|}}}{{{toughness|}}}{{{intelligence|}}}{{{willpower|}}}{{{ego|}}} |
{{infobox row|Attributes|{{#if: {{{strength|}}}    | <p style="color:#FFFFFF">  {{{strength}}} Strength</p>}}{{#if: {{{agility|}}}      | <p style="color:#CFC041">  {{{agility}}} Agility</p>}}{{#if: {{{toughness|}}}    | <p style="color:#D74200">    {{{toughness}}} Toughness</p>}}{{#if: {{{intelligence|}}} | <p style="color:rgb(51,102,255)">    {{{intelligence}}} Intelligence</p>}}{{#if: {{{willpower|}}}    | <p style="color:#00C420">    {{{willpower}}} Willpower</p>}}{{#if: {{{ego|}}}          | <p style="color:#DA5BD6"> {{{ego}}} Ego</p>}} }} }}
{{infobox row|Attributes|{{#if: {{{strength|}}}    | <p style="color:#FFFFFF">  {{{strength}}} Strength</p>}}{{#if: {{{agility|}}}      | <p style="color:#CFC041">  {{{agility}}} Agility</p>}}{{#if: {{{toughness|}}}    | <p style="color:#D74200">    {{{toughness}}} Toughness</p>}}{{#if: {{{intelligence|}}} | <p style="color:rgb(51,102,255)">    {{{intelligence}}} Intelligence</p>}}{{#if: {{{willpower|}}}    | <p style="color:#00C420">    {{{willpower}}} Willpower</p>}}{{#if: {{{ego|}}}          | <p style="color:#DA5BD6"> {{{ego}}} Ego</p>}} }} }}
<!-- MA -->
{{#if: {{{ma|}}}      | {{infobox row|[[MA]] Bonus|+{{{ma}}} }} }}
<!--Makes the resistances box show up if *any* of the resistances are filled out-->
<!--Makes the resistances box show up if *any* of the resistances are filled out-->
{{#if: {{{acid|}}}{{{electric|}}}{{{cold|}}}{{{heat|}}}{{{poison|}}} |
{{#if: {{{acid|}}}{{{electric|}}}{{{cold|}}}{{{heat|}}}{{{poison|}}} |