Difference between revisions of "Template:Infobox Card"
From Unofficial Fantasica Wiki
m (fixing 10* mlb) |
m (Updating to add Ascension fields support) |
||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
− | |title = {{{fullname|{{{name| | + | |title = {{{fullname|{{{name|Snelsa}}}}}} |
|data1 = | |data1 = | ||
{{{!}} style="width:100%;" | {{{!}} style="width:100%;" | ||
{{!}}- | {{!}}- | ||
− | {{!}} {{Icon|{{{name| | + | {{!}} {{Icon|{{{name|Snelsa}}}}}<br/>{{{{{rarity|10}}}*}} |
− | {{!!}} {{#ifexist: Image:{{{name| | + | {{!!}} {{#ifexist: Image:{{{name|Snelsa}}}.gif | [[Image:{{{name|Snelsa}}}.gif]] }} |
− | {{!!}} {{Album|{{{name| | + | {{!!}} {{Album|{{{name|Snelsa}}}|{{{rarity|10}}}}} |
{{!}}} | {{!}}} | ||
|data2 = | |data2 = | ||
Line 20: | Line 20: | ||
{{{!}} style="width:100%;" | {{{!}} style="width:100%;" | ||
{{!}}- | {{!}}- | ||
− | ! Lvl !! [[Image:Ground_icon.png|16px]] !! [[Image:Air_icon.png|16px]] !! [[Image:Sea_icon.png|16px]] !! Total !! Arena | + | ! Lvl !! [[Image:Ground_icon.png|16px]] !! [[Image:Air_icon.png|16px]] !! [[Image:Sea_icon.png|16px]] !! Total !! Arena !! HP |
{{!}}- | {{!}}- | ||
− | {{!}} {{#expr: {{{rarity|6}}}*20 }} {{!!}} {{{ground|???}}} {{!!}} {{{air|???}}} {{!!}} {{{sea|???}}} {{!!}} {{{total|???}}} {{!!}} {{{arena|???}}} | + | {{!}} {{#expr: {{{rarity|6}}}*20 }} {{!!}} {{{ground|???}}} {{!!}} {{{air|???}}} {{!!}} {{{sea|???}}} {{!!}} {{{total|???}}} {{!!}} {{{arena|???}}} {{!!}} {{{maxhp|???}}} |
+ | {{!}}- | ||
+ | {{!}} {{#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:330px; 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 | ||
+ | {{!}}- | ||
+ | {{!}} <!--placeholder for spd --> {{!!}} {{{ascland|???}}} {{!!}} {{{ascair|???}}} {{!!}} {{{ascsea|???}}} {{!!}} {{{asccost|???}}} {{!!}} {{{ascrng|???}}} {{!!}} {{{aschp|???}}} | ||
{{!}}- | {{!}}- | ||
− | |||
{{!}}} | {{!}}} | ||
− | |data4 = <div style="width: | + | |data4 = <div style="width:330px; white-space:normal; border-top:solid 1px #999;">{{{source|Source Unknown}}}</div> |
<!-- Old Monster Detection | <!-- Old Monster Detection | ||
− | {{#ifexist: {{{name}}}_m | <div style="width: | + | {{#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>| }} |
-->{{#get_db_data: | -->{{#get_db_data: | ||
db=fantawiki | db=fantawiki | ||
Line 36: | Line 43: | ||
|data=mname=`name`,recruitable=`recruitable` | |data=mname=`name`,recruitable=`recruitable` | ||
}}{{#ifeq: {{#external_value:recruitable}} | {{{name}}} | | }}{{#ifeq: {{#external_value:recruitable}} | {{{name}}} | | ||
− | <div style="width: | + | <div style="width:330px; white-space:normal; border-top:solid 1px #999">[[Recruitment|Recruited]] from:<br>[[Image:Soul_stone_s_icon.png|64px]] {{Icon|{{#external_value:mname}} }} [[Image:Soul_stone_s_icon.png|64px]]</div>| }} |
}} | }} |