Difference between revisions of "Template:Infobox Card"
From Unofficial Fantasica Wiki
m (Updating to add Ascension fields support) |
m |
||
(16 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | <!-- | ||
+ | |||
+ | This is a template that is applied to ALL cards - please don't touch! To edit an individual unit's stats, go to their page, click edit, and look for the link in the information. Thanks! :) | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | --> | ||
+ | |||
{{Infobox | {{Infobox | ||
|title = {{{fullname|{{{name|Snelsa}}}}}} | |title = {{{fullname|{{{name|Snelsa}}}}}} | ||
|data1 = | |data1 = | ||
− | {{{!}} style="width:100%;" | + | {{{!}} style="width:100%;border-left:solid 24px #f9f9f9;border-right:solid 24px #f9f9f9" |
{{!}}- | {{!}}- | ||
− | {{!}} {{Icon|{{{name|Snelsa}}}}}<br/> | + | {{!}} <div style="float:left"> {{Icon|{{{name|Snelsa}}}}}<br/>{{{rarity|10}}}{{*}} </div> |
{{!!}} {{#ifexist: Image:{{{name|Snelsa}}}.gif | [[Image:{{{name|Snelsa}}}.gif]] }} | {{!!}} {{#ifexist: Image:{{{name|Snelsa}}}.gif | [[Image:{{{name|Snelsa}}}.gif]] }} | ||
− | {{!!}} {{Album|{{{name|Snelsa}}}|{{{rarity|10}}}}} | + | {{!!}} <div style="float:right"> {{Album|{{{name|Snelsa}}}|{{{rarity|10}}}}} </div> |
{{!}}} | {{!}}} | ||
|data2 = | |data2 = | ||
{{{!}} style="width:100%;" | {{{!}} style="width:100%;" | ||
{{!}}- | {{!}}- | ||
− | {{!}} [[Image:{{{type|Melee}}}_icon.png|16px]] {{{type|Melee}}} {{!!}} {{{range|?}}} Range {{!!}} {{{speed|?}}} Speed | + | {{!}} style="width:33%;" {{!}} [[Image:{{{type|Melee}}}_icon.png|16px]] {{{type|Melee}}} {{!!}} {{{range|?}}} Range {{!!}} style="width:33%;" {{!}} {{{speed|?}}} Speed |
{{!}}- | {{!}}- | ||
{{!}} {{{cost|?}}} Cost | {{!}} {{{cost|?}}} Cost | ||
Line 18: | Line 46: | ||
{{!}}} | {{!}}} | ||
|data3 = | |data3 = | ||
− | {{{!}} style="width: | + | {{{!}} style="width:330px;" |
{{!}}- | {{!}}- | ||
! Lvl !! [[Image:Ground_icon.png|16px]] !! [[Image:Air_icon.png|16px]] !! [[Image:Sea_icon.png|16px]] !! Total !! Arena !! HP | ! Lvl !! [[Image:Ground_icon.png|16px]] !! [[Image:Air_icon.png|16px]] !! [[Image:Sea_icon.png|16px]] !! Total !! Arena !! HP | ||
Line 26: | Line 54: | ||
{{!}} {{#ifexpr: {{{rarity|6}}}>9 | {{#expr: {{{rarity|6}}}*20 + 40 }} | {{#expr: {{{rarity|6}}}*20 + 20 }} }} {{!!}} {{{ground2|???}}} {{!!}} {{{air2|???}}} {{!!}} {{{sea2|???}}} {{!!}} {{{total2|???}}} {{!!}} {{{arenalb|???}}} {{!!}} {{{mlbhp|???}}} | {{!}} {{#ifexpr: {{{rarity|6}}}>9 | {{#expr: {{{rarity|6}}}*20 + 40 }} | {{#expr: {{{rarity|6}}}*20 + 20 }} }} {{!!}} {{{ground2|???}}} {{!!}} {{{air2|???}}} {{!!}} {{{sea2|???}}} {{!!}} {{{total2|???}}} {{!!}} {{{arenalb|???}}} {{!!}} {{{mlbhp|???}}} | ||
{{!}}- | {{!}}- | ||
− | {{!}} colspan="7" {{!}} <div style="width: | + | {{!}} colspan="7" {{!}} <div style="width:100%; white-space:normal; border-top:solid 1px #999;">Increase per [[Ascension]] Step:</div> |
{{!}}- | {{!}}- | ||
− | ! Spd !! [[Image:Ground_icon.png|16px]] !! [[Image:Air_icon.png|16px]] !! [[Image:Sea_icon.png|16px]] !! Cost !! Range !! 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}}} }} |
{{!}}- | {{!}}- | ||
{{!}}} | {{!}}} | ||
− | |data4 = <div style="width: | + | |data4 = <div style="width:100%; white-space:normal; border-top:solid 1px #999;">{{{source|Source Unknown}}}</div> |
<!-- Old Monster Detection | <!-- Old Monster Detection | ||
{{#ifexist: {{{name}}}_m | <div style="width:330px; white-space:normal; border-top:solid 1px #999">[[Recruitment|Recruited]] from:<br>[[Image:Soul_stone_s_icon.png|64px]] {{Icon|{{{name}}}_m}} [[Image:Soul_stone_s_icon.png|64px]]</div>| }} | {{#ifexist: {{{name}}}_m | <div style="width:330px; white-space:normal; border-top:solid 1px #999">[[Recruitment|Recruited]] from:<br>[[Image:Soul_stone_s_icon.png|64px]] {{Icon|{{{name}}}_m}} [[Image:Soul_stone_s_icon.png|64px]]</div>| }} |
Latest revision as of 05:53, 25 January 2019
| |||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
Source Unknown |