Template:ItemTemplate: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (sorry still messing around) |
||
Line 9: | Line 9: | ||
{{#if: {{{dv|}}} | {{infobox row|DV|{{{dv}}} }} }} | {{#if: {{{dv|}}} | {{infobox row|DV|{{{dv}}} }} }} | ||
{{#if: {{{ma|}}} | {{infobox row|MA|{{{ma}}} }} }} | {{#if: {{{ma|}}} | {{infobox row|MA|{{{ma}}} }} }} | ||
{{#if: {{{commerce|}}}| {{infobox row|Value|{{{commerce}}} }} }} | |||
{{#if: {{{id|}}} | {{infobox row|ID|{{{id}}} }} }} | |||
<!--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|}}} | | ||
Line 17: | Line 19: | ||
{{#if: {{{acid|}}} | <p style="color:#00C420"> {{{acid}}} Acid</p>}}{{#if: {{{electric|}}} | <p style="color:#CFC041"> {{{electric}}} Electric</p>}}{{#if: {{{cold|}}} | <p style="color:#0096FF"> {{{cold}}} Cold</p>}}{{#if: {{{heat|}}} | <p style="color:#D74200"> {{{heat}}} Heat</p>}} }} }} | {{#if: {{{acid|}}} | <p style="color:#00C420"> {{{acid}}} Acid</p>}}{{#if: {{{electric|}}} | <p style="color:#CFC041"> {{{electric}}} Electric</p>}}{{#if: {{{cold|}}} | <p style="color:#0096FF"> {{{cold}}} Cold</p>}}{{#if: {{{heat|}}} | <p style="color:#D74200"> {{{heat}}} Heat</p>}} }} }} | ||
}} | }} | ||
{{#if: {{{desc|}}} | {{Quote | {{{desc}}} }} }} | {{#if: {{{desc|}}} | {{Quote | {{{desc}}} }} }} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
{{doc}} | {{doc}} |