Difference between revisions of "Template:Infobox Card"

From Unofficial Fantasica Wiki
Jump to: navigation, search
(Adding support for 'title')
(Changing arena damage to pull from database instead of inline calculation (that was incorrect for some rarities))
Line 22: Line 22:
 
! 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
 
{{!}}-
 
{{!}}-
{{!}} {{#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}}
+
{{!}} {{#expr: {{{rarity|6}}}*20 }} {{!!}} {{{ground|???}}} {{!!}} {{{air|???}}} {{!!}} {{{sea|???}}} {{!!}} {{{total|???}}} {{!!}} {{{arena|???}}}
 
{{!}}-
 
{{!}}-
{{!}} {{#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}}
+
{{!}} {{#expr: {{{rarity|6}}}*20 + 20 }} {{!!}} {{{ground2|???}}} {{!!}} {{{air2|???}}} {{!!}} {{{sea2|???}}} {{!!}} {{{total2|???}}} {{!!}} {{{arenalb|???}}}
 
{{!}}}
 
{{!}}}
 
|data4 = <div style="width:270px; white-space:normal; border-top:solid 1px #999;">{{{source|Source Unknown}}}</div>
 
|data4 = <div style="width:270px; white-space:normal; border-top:solid 1px #999;">{{{source|Source Unknown}}}</div>
 
}}
 
}}

Revision as of 03:30, 14 November 2013

Paris
Paris icon.png
★★★★★★
Paris.gif
Paris
Blank album 6.png
Melee icon.png Melee  ? Range  ? Speed
 ? Cost no skill
Lvl Ground icon.png Air icon.png Sea icon.png Total Arena
120  ???  ???  ???  ???  ???
140  ???  ???  ???  ???  ???
Source Unknown
Personal tools
Namespaces

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