Difference between revisions of "Template:Infobox Card"

From Unofficial Fantasica Wiki
Jump to: navigation, search
(Adding support for 'title')
m
 
(43 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 = {{{fullname|{{{name|Paris}}}}}}
+
|title = {{{fullname|{{{name|Snelsa}}}}}}
 
|data1 =
 
|data1 =
{{{!}} style="width:100%;"
+
{{{!}} style="width:100%;border-left:solid 24px #f9f9f9;border-right:solid 24px #f9f9f9"
 
{{!}}-
 
{{!}}-
{{!}} {{Icon|{{{name|Paris}}}}}<br/>{{{{{rarity|6}}}*}}
+
{{!}} <div style="float:left"> {{Icon|{{{name|Snelsa}}}}}<br/>{{{rarity|10}}}{{*}} </div>
{{!!}} {{#ifexist: Image:{{{name|Paris}}}.gif | [[Image:{{{name|Paris}}}.gif]] }}
+
{{!!}} {{#ifexist: Image:{{{name|Snelsa}}}.gif | [[Image:{{{name|Snelsa}}}.gif]] }}
{{!!}} {{Album|{{{name|Paris}}}|{{{rarity|6}}}}}
+
{{!!}} <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:100%;"
+
{{{!}} 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>
 
{{!}}-
 
{{!}}-
! Lvl !! [[Image:Ground_icon.png|16px]] !! [[Image:Air_icon.png|16px]] !! [[Image:Sea_icon.png|16px]] !! Total !! Arena
+
! {{#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 }}
 
{{!}}-
 
{{!}}-
{{!}} {{#expr: {{{rarity|6}}}*20 }} {{!!}} {{{ground|???}}} {{!!}} {{{air|???}}} {{!!}} {{{sea|???}}} {{!!}} {{{total|???}}} {{!!}} {{#iferror: {{#expr:trunc((1-({{{rarity|1}}})^2/100)*(floor(1.2*{{#if: {{{ground|1}}}>{{{air|1}}} | {{#if: {{{ground|1}}}>{{{sea|1}}} | {{{ground|1}}} | {{{sea|1}}} }} | {{#if: {{{air|1}}} > {{{sea|1}}} | {{{air|1}}} | {{{sea|1}}} }} }}+0.5)+floor(1.2*({{{total|1}}} - {{#if: {{{ground|1}}}>{{{air|1}}} | {{#if: {{{ground|1}}}>{{{sea|1}}} | {{{ground|1}}} | {{{sea|1}}} }} | {{#if: {{{air|1}}} > {{{sea|1}}} | {{{air|1}}} | {{{sea|1}}} }} }} - {{#if: {{{ground|1}}}>{{{air|1}}} | {{#if: {{{sea|1}}}>{{{air|1}}} | {{{air|1}}} | {{{sea|1}}} }} | {{#if: {{{ground|1}}} > {{{sea|1}}} | {{{sea|1}}} | {{{ground|1}}} }} }}+0.5))))}}|0}}
+
{{!}} {{#ifeq: {{{ascspd|0}}} | 1 | Y | <span style="color:darkgray">&minus;</span> }} {{!!}} {{#ifeq: {{{ascland|0}}} | 0 | <span style="color:darkgray">&minus;</span> | {{{ascland}}} }} {{!!}} {{#ifeq: {{{ascair|0}}} | 0 | <span style="color:darkgray">&minus;</span> | {{{ascair}}} }} {{!!}} {{#ifeq: {{{ascsea|0}}} | 0 | <span style="color:darkgray">&minus;</span> | {{{ascsea}}} }} {{!!}} {{#ifeq: {{{asccost|0}}} | 0 | <span style="color:darkgray">&minus;</span> | {{{asccost}}} }} {{!!}} {{#ifeq: {{{ascrng|0}}} | 0 | <span style="color:darkgray">&minus;</span> | &#43;{{{ascrng}}} }} {{!!}} {{#ifeq: {{{aschp|0}}} | 0 | <span style="color:darkgray">&minus;</span> | {{{aschp}}} }}
 
{{!}}-
 
{{!}}-
{{!}} {{#expr: {{{rarity|6}}}*20 + 20 }} {{!!}} {{{ground2|???}}} {{!!}} {{{air2|???}}} {{!!}} {{{sea2|???}}} {{!!}} {{{total2|???}}} {{!!}} {{#iferror:{{#expr:trunc((1-({{{rarity|1}}})^2/100)*(floor(1.2*{{#if: {{{ground2|1}}}>{{{air2|1}}} | {{#if: {{{ground2|1}}}>{{{sea2|1}}} | {{{ground2|1}}} | {{{sea2|1}}} }} | {{#if: {{{air2|1}}} > {{{sea2|1}}} | {{{air2|1}}} | {{{sea2|1}}} }} }}+0.5)+floor(1.2*({{{total2|1}}} - {{#if: {{{ground2|1}}}>{{{air2|1}}} | {{#if: {{{ground2|1}}}>{{{sea2|1}}} | {{{ground2|1}}} | {{{sea2|1}}} }} | {{#if: {{{air2|1}}} > {{{sea2|1}}} | {{{air2|1}}} | {{{sea2|1}}} }} }} - {{#if: {{{ground2|1}}}>{{{air2|1}}} | {{#if: {{{sea2|1}}}>{{{air2|1}}} | {{{air2|1}}} | {{{sea2|1}}} }} | {{#if: {{{ground2|1}}} > {{{sea2|1}}} | {{{sea2|1}}} | {{{ground2|1}}} }} }}+0.5))))}}|0}}
 
 
{{!}}}
 
{{!}}}
|data4 = <div style="width:270px; white-space:normal; border-top:solid 1px #999;">{{{source|Source Unknown}}}</div>
+
|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


Snelsa
Snelsa icon.png
10★
Snelsa.gif
Snelsa
Blank album 10.png
Melee icon.png Melee  ? Range  ? Speed
 ? Cost no skill
Lvl Ground icon.png Air icon.png Sea icon.png Total Arena HP
120  ???  ???  ???  ???  ???  ???
140  ???  ???  ???  ???  ???  ???
Increase per Ascension Step:
Spd Ground grey icon.png Air grey icon.png Sea grey icon.png Cost Range HP
Source Unknown
Personal tools
Namespaces

Variants
Actions
Menu
Game Menu
Card Lists
Trading
External Resources
Toolbox
Google AdSense