Template:ItemTemplate: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
imported>Iamngs
(copied template:character to this page just so we can use template:item for weapons, armor, etc.)
 
imported>Ontoclasm
mNo edit summary
Line 11: Line 11:
<!--Makes the attributes box show up if *any* of the attributes are filled out-->
<!--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|}}}    | <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>}} }} }}
{{#if: {{{strength|}}}    | <p style="color:#FFFFFF">  {{{strength}}} Strength}}
{{#if: {{{agility|}}}      | <p style="color:#CFC041">  {{{agility}}} Agility}}
{{#if: {{{toughness|}}}    | <p style="color:#D74200">    {{{toughness}}} Toughness}}
{{#if: {{{intelligence|}}} | <p style="color:rgb(51,102,255)">    {{{intelligence}}} Intelligence}}
{{#if: {{{willpower|}}}    | <p style="color:#00C420">    {{{willpower}}} Willpower}}
{{#if: {{{ego|}}}          | <p style="color:#DA5BD6"> {{{ego}}} Ego}} }} }}
<!--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|}}} |
{{#if: {{{acid|}}}{{{electric|}}}{{{cold|}}}{{{heat|}}} |

Revision as of 02:56, 26 May 2019