Difference between revisions of "Template:Infobox Card"
From Unofficial Fantasica Wiki
(Adding source to bottom of infobox) |
m |
||
(51 intermediate revisions by 10 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 = {{{name| | + | |title = {{{fullname|{{{name|Snelsa}}}}}} |
|data1 = | |data1 = | ||
− | {{{!}} style="width:100%;" | + | {{{!}} style="width:100%;border-left:solid 24px #f9f9f9;border-right:solid 24px #f9f9f9" |
{{!}}- | {{!}}- | ||
− | {{!}} {{Icon|{{{name| | + | {{!}} <div style="float:left"> {{Icon|{{{name|Snelsa}}}}}<br/>{{{rarity|10}}}{{*}} </div> |
+ | {{!!}} {{#ifexist: Image:{{{name|Snelsa}}}.gif | [[Image:{{{name|Snelsa}}}.gif]] }} | ||
+ | {{!!}} <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 | ||
{{!}} colspan="2" {{!}} {{{skill|''no skill''}}} | {{!}} colspan="2" {{!}} {{{skill|''no skill''}}} | ||
{{!}}- | {{!}}- | ||
− | ! [[Image:Ground_icon.png|16px]] !! [[Image:Air_icon.png|16px]] !! [[Image:Sea_icon.png|16px]] | + | {{!}}} |
+ | |data3 = | ||
+ | {{{!}} style="width:330px;" | ||
+ | {{!}}- | ||
+ | ! 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:100%; white-space:normal; border-top:solid 1px #999;">Increase per [[Ascension]] Step:</div> | ||
+ | {{!}}- | ||
+ | ! {{#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:100%; 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>| }} | ||
}} | }} |
Latest revision as of 05:53, 25 January 2019
| |||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
Source Unknown |