Difference between revisions of "Template:Infobox Card"
From Unofficial Fantasica Wiki
m (Modifying the check for ascspd to look for 1 instead of just if it exists) |
m (testing + for range) |
||
Line 30: | Line 30: | ||
! {{#ifeq: {{{ascspd|0}}} | 1 | Spd | <span style="color:darkgray">Spd</span> }} !! {{#ifeq: {{{ascland|0}}} | 0 | [[Image:Ground_grey_icon.png|16px]] | [[Image:Ground_icon.png|16px]] }} !! {{#ifeq: {{{ascland|0}}} | 0 | [[Image:Air_grey_icon.png|16px]] | [[Image:Air_icon.png|16px]] }} !! {{#ifeq: {{{ascland|0}}} | 0 | [[Image:Sea_grey_icon.png|16px]] | [[Image:Sea_icon.png|16px]] }} !! {{#ifeq: {{{asccost}}} | 0 | <span style="color:darkgray">Cost</span> | Cost }} !! {{#ifeq: {{{ascrng}}} | 0 | <span style="color:darkgray">Range</span> | Range }} !! {{#ifeq: {{{aschp}}} | 0 | <span style="color:darkgray">HP</span> | HP }} | ! {{#ifeq: {{{ascspd|0}}} | 1 | Spd | <span style="color:darkgray">Spd</span> }} !! {{#ifeq: {{{ascland|0}}} | 0 | [[Image:Ground_grey_icon.png|16px]] | [[Image:Ground_icon.png|16px]] }} !! {{#ifeq: {{{ascland|0}}} | 0 | [[Image:Air_grey_icon.png|16px]] | [[Image:Air_icon.png|16px]] }} !! {{#ifeq: {{{ascland|0}}} | 0 | [[Image:Sea_grey_icon.png|16px]] | [[Image:Sea_icon.png|16px]] }} !! {{#ifeq: {{{asccost}}} | 0 | <span style="color:darkgray">Cost</span> | Cost }} !! {{#ifeq: {{{ascrng}}} | 0 | <span style="color:darkgray">Range</span> | Range }} !! {{#ifeq: {{{aschp}}} | 0 | <span style="color:darkgray">HP</span> | HP }} | ||
{{!}}- | {{!}}- | ||
− | {{!}} {{#ifeq: {{{ascspd|0}}} | 1 | Y | <span style="color:darkgray">−</span> }} {{!!}} {{#ifeq: {{{ascland|0}}} | 0 | <span style="color:darkgray">−</span> | {{{ascland}}} }} {{!!}} {{#ifeq: {{{ascair|0}}} | 0 | <span style="color:darkgray">−</span> | {{{ascair}}} }} {{!!}} {{#ifeq: {{{ascsea|0}}} | 0 | <span style="color:darkgray">−</span> | {{{ascsea}}} }} {{!!}} {{#ifeq: {{{asccost|0}}} | 0 | <span style="color:darkgray">−</span> | {{{asccost}}} }} {{!!}} {{#ifeq: {{{ascrng|0}}} | 0 | <span style="color:darkgray">−</span> | {{{ascrng}}} }} {{!!}} {{#ifeq: {{{aschp|0}}} | 0 | <span style="color:darkgray">−</span> | {{{aschp}}} }} | + | {{!}} {{#ifeq: {{{ascspd|0}}} | 1 | Y | <span style="color:darkgray">−</span> }} {{!!}} {{#ifeq: {{{ascland|0}}} | 0 | <span style="color:darkgray">−</span> | {{{ascland}}} }} {{!!}} {{#ifeq: {{{ascair|0}}} | 0 | <span style="color:darkgray">−</span> | {{{ascair}}} }} {{!!}} {{#ifeq: {{{ascsea|0}}} | 0 | <span style="color:darkgray">−</span> | {{{ascsea}}} }} {{!!}} {{#ifeq: {{{asccost|0}}} | 0 | <span style="color:darkgray">−</span> | {{{asccost}}} }} {{!!}} {{#ifeq: {{{ascrng|0}}} | 0 | <span style="color:darkgray">−</span> | +{{{ascrng}}} }} {{!!}} {{#ifeq: {{{aschp|0}}} | 0 | <span style="color:darkgray">−</span> | {{{aschp}}} }} |
{{!}}- | {{!}}- | ||
{{!}}} | {{!}}} |
Revision as of 16:28, 10 February 2016
| |||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
Source Unknown |