Difference between revisions of "Template:Infobox Card test2"
From Unofficial Fantasica Wiki
(for tests) |
|||
Line 1: | Line 1: | ||
+ | <tabber> | ||
+ | Normal= | ||
{{Infobox | {{Infobox | ||
|title = {{{fullname|{{{name|Snelsa}}}}}} | |title = {{{fullname|{{{name|Snelsa}}}}}} | ||
Line 45: | Line 47: | ||
<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>| }} | <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>| }} | ||
}} | }} | ||
+ | |-| | ||
+ | Fully Ascended= | ||
+ | {{Infobox | ||
+ | |title = {{{fullname|{{{name|Snelsa}}}}}} | ||
+ | |data1 = | ||
+ | {{{!}} style="width:100%;" | ||
+ | {{!}}- | ||
+ | {{!}} {{Icon|{{{name|Snelsa}}}}}<br/>{{{{{rarity|10}}}*}} | ||
+ | {{!!}} {{#ifexist: Image:{{{name|Snelsa}}}.gif | [[Image:{{{name|Snelsa}}}.gif]] }} | ||
+ | {{!!}} {{Album|{{{name|Snelsa}}}|{{{rarity|10}}}}} | ||
+ | {{!}}} | ||
+ | |data2 = | ||
+ | {{{!}} style="width:100%;" | ||
+ | {{!}}- | ||
+ | {{!}} [[Image:{{{type|Melee}}}_icon.png|16px]] {{{type|Melee}}} {{!!}} {{{range|?}}} Range {{!!}} {{{speed|?}}} Speed | ||
+ | {{!}}- | ||
+ | {{!}} {{{cost|?}}} Cost | ||
+ | {{!}} colspan="2" {{!}} {{{skill|''no skill''}}} | ||
+ | {{!}}- | ||
+ | {{!}}} | ||
+ | |data3 = | ||
+ | {{{!}} style="width:100%;" | ||
+ | {{!}}- | ||
+ | ! 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|???}}} {{!!}} {{{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:330px; white-space:normal; border-top:solid 1px #999;">{{{source|Source Unknown}}}</div> | ||
+ | <!-- 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>| }} | ||
+ | -->{{#get_db_data: | ||
+ | db=fantawiki | ||
+ | |from=monsters | ||
+ | |where=recruitable='{{{name}}}' | ||
+ | |limit=1 | ||
+ | |data=mname=`name`,recruitable=`recruitable` | ||
+ | }}{{#ifeq: {{#external_value:recruitable}} | {{{name}}} | | ||
+ | <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>| }} | ||
+ | }} | ||
+ | </tabber> |