Template:Character: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
imported>CaptainTechnicality54384
No edit summary
imported>CaptainTechnicality54384
No edit summary
Line 7: Line 7:
{{#if: {{{dv|}}}      | {{infobox row|DV|{{{dv}}} }} }}
{{#if: {{{dv|}}}      | {{infobox row|DV|{{{dv}}} }} }}
{{#if: {{{ma|}}}      | {{infobox row|MA|{{{ma}}} }} }}
{{#if: {{{ma|}}}      | {{infobox row|MA|{{{ma}}} }} }}
 
<-Makes the attributes box show up if *any* of the attributes are filled out->
{{#if: {{{strength|}}}{{{agility|}}}{{{toughness|}}}{{{intelligence|}}}{{{willpower|}}}{{{ego|}}} |
{{#if: {{{strength|}}}{{{agility|}}}{{{toughness|}}}{{{intelligence|}}}{{{willpower|}}}{{{ego|}}} |
{{infobox row|Attributes|
{{infobox row|Attributes|
{{#if: {{{strength|}}}    | {{{strength}}} Strength}}
{{#if: {{{strength|}}}    | <p style="color:white">  {{{strength}}} Strength}}
{{#if: {{{agility|}}}      | {{{agility}}} Agility}}
{{#if: {{{agility|}}}      | <p style="color:yellow">  {{{agility}}} Agility}}
{{#if: {{{toughness|}}}    | {{{toughness}}} Toughness}}
{{#if: {{{toughness|}}}    | <p style="color:red">    {{{toughness}}} Toughness}}
{{#if: {{{intelligence|}}} | {{{intelligence}}} Intelligence}}
{{#if: {{{intelligence|}}} | <p style="color:aqua">    {{{intelligence}}} Intelligence}}
{{#if: {{{willpower|}}}    | {{{willpower}}} Willpower}}
{{#if: {{{willpower|}}}    | <p style="color:lime">    {{{willpower}}} Willpower}}
{{#if: {{{ego|}}}          | {{{ego}}} Ego}} }} }}
{{#if: {{{ego|}}}          | <p style="color:fuchsia"> {{{ego}}} Ego}} }} }}
<-Makes the resistances box show up if *any* of the resistances are filled out->
{{#if: {{{acid|}}}{{{electric|}}}{{{cold|}}}{{{heat|}}} |
{{infobox row|Resistance|
{{infobox row|Resistance|
{{#if: {{{acid|}}}    | <p style="color:lime">{{{acid}}} Acid</p>}}
{{#if: {{{acid|}}}    | <p style="color:lime">   {{{acid}}} Acid</p>}}
{{#if: {{{cold|}}}     | <p style="color:aqua">{{{cold}}} Cold</p>}}
{{#if: {{{electric|}}} | <p style="color:yellow"> {{{electric}}} Electric</p>}}
{{#if: {{{heat|}}}    | <p style="color:red">{{{heat}}} Heat</p>}}
{{#if: {{{cold|}}}    | <p style="color:aqua">   {{{cold}}} Cold</p>}}
{{#if: {{{electric|}}} | <p style="color:yellow">{{{electric}}} Electric</p>}} }}
{{#if: {{{heat|}}}     | <p style="color:red">   {{{heat}}} Heat</p>}} }} }}
}}
}}
</includeonly>
</includeonly>

Revision as of 00:29, 25 May 2019