Difference between revisions of "Template:Card test"

From Unofficial Fantasica Wiki
Jump to: navigation, search
m
m (test)
 
(One intermediate revision by one user not shown)
Line 9: Line 9:
 
|where=u1.name='{{{1}}}'
 
|where=u1.name='{{{1}}}'
 
|limit=1
 
|limit=1
|data=name=u1.`name`,fullname=u1.`fullname`,gender=u1.`gender`,rarity=u1.`rarity`,type=u1.`type`,cost=u1.`cost`,speed=u1.`speed`,speednum=u1.`speednum`,range=u1.`range`,land=u1.`land`,air=u1.`air`,sea=u1.`sea`,arena=u1.`arena`,land2=u1.`landlb`,air2=u1.`airlb`,sea2=u1.`sealb`,arenalb=u1.`arenalb`,skill1=u1.`skill1`,skill2=u1.`skill2`,arenaskill=u1.`arenaskill`,source=u1.`source`,evo=u1.`evo`,maxhp=u1.`maxhp`,mlbhp=u1.`mlbhp`,aschp=u1.`aschp`,ascland=u1.`ascland`,ascair=u1.`ascair`,ascsea=u1.`ascsea`,ascrng=u1.`ascrng`,asccost=u1.`asccost`,namemlb=u2.`name`,fullnamemlb=u2.`fullname`,gendermlb=u2.`gender`,raritymlb=u2.`rarity`,typemlb=u2.`type`,costmlb=u2.`cost`,speedmlb=u2.`speed`,speednummlb=u2.`speednum`,rangemlb=u2.`range`,landmlb=u2.`land`,airmlb=u2.`air`,seamlb=u2.`sea`,arenamlb=u2.`arena`,land2mlb=u2.`landlb`,air2mlb=u2.`airlb`,sea2mlb=u2.`sealb`,arenalbmlb=u2.`arenalb`,skill1mlb=u2.`skill1`,skill2mlb=u2.`skill2`,arenaskillmlb=u2.`arenaskill`,sourcemlb=u2.`source`,evomlb=u2.`evo`,maxhpmlb=u2.`maxhp`,mlbhpmlb=u2.`mlbhp`,aschpmlb=u2.`aschp`,asclandmlb=u2.`ascland`,ascairmlb=u2.`ascair`,ascseamlb=u2.`ascsea`,ascrngmlb=u2.`ascrng`,asccostmlb=u2.`asccost`
+
|data=name=u1.`name`,fullname=u1.`fullname`,gender=u1.`gender`,rarity=u1.`rarity`,type=u1.`type`,cost=u1.`cost`,speed=u1.`speed`,speednum=u1.`speednum`,range=u1.`range`,land=u1.`land`,air=u1.`air`,sea=u1.`sea`,arena=u1.`arena`,land2=u1.`landlb`,air2=u1.`airlb`,sea2=u1.`sealb`,arenalb=u1.`arenalb`,skill1=u1.`skill1`,skill2=u1.`skill2`,arenaskill=u1.`arenaskill`,source=u1.`source`,evo=u1.`evo`,maxhp=u1.`maxhp`,mlbhp=u1.`mlbhp`,aschp=u1.`aschp`,ascland=u1.`ascland`,ascair=u1.`ascair`,ascsea=u1.`ascsea`,ascrng=u1.`ascrng`,asccost=u1.`asccost`,ascspd=u1.`ascspd`,namemlb=u2.`name`,fullnamemlb=u2.`fullname`,gendermlb=u2.`gender`,raritymlb=u2.`rarity`,typemlb=u2.`type`,costmlb=u2.`cost`,speedmlb=u2.`speed`,speednummlb=u2.`speednum`,rangemlb=u2.`range`,landmlb=u2.`land`,airmlb=u2.`air`,seamlb=u2.`sea`,arenamlb=u2.`arena`,land2mlb=u2.`landlb`,air2mlb=u2.`airlb`,sea2mlb=u2.`sealb`,arenalbmlb=u2.`arenalb`,skill1mlb=u2.`skill1`,skill2mlb=u2.`skill2`,arenaskillmlb=u2.`arenaskill`,sourcemlb=u2.`source`,evomlb=u2.`evo`,maxhpmlb=u2.`maxhp`,mlbhpmlb=u2.`mlbhp`,aschpmlb=u2.`aschp`,asclandmlb=u2.`ascland`,ascairmlb=u2.`ascair`,ascseamlb=u2.`ascsea`,ascrngmlb=u2.`ascrng`,asccostmlb=u2.`asccost`,ascspdmlb=u2.`ascspd`
 
}}{{#ifexpr: {{#external_value:rarity}}>9 |
 
}}{{#ifexpr: {{#external_value:rarity}}>9 |
 
<tabber>  
 
<tabber>  
Line 42: Line 42:
 
|ascrng={{#external_value:ascrng}}
 
|ascrng={{#external_value:ascrng}}
 
|aschp={{formatnum:{{#external_value:aschp}}}}
 
|aschp={{formatnum:{{#external_value:aschp}}}}
 +
|ascspd={{#external_value:ascspd}}
 
}}
 
}}
 
{{Card_artwork|{{#external_value:name}}}}
 
{{Card_artwork|{{#external_value:name}}}}
Line 75: Line 76:
 
|ascrng={{#external_value:ascrngmlb}}
 
|ascrng={{#external_value:ascrngmlb}}
 
|aschp={{formatnum:{{#external_value:aschpmlb}}}}
 
|aschp={{formatnum:{{#external_value:aschpmlb}}}}
 +
|ascspd={{#external_value:ascspdmlb}}
 
}}
 
}}
 
{{Card_artwork|{{#external_value:namemlb}}}}{{#clear_external_data:}}
 
{{Card_artwork|{{#external_value:namemlb}}}}{{#clear_external_data:}}
Line 103: Line 105:
 
|ascland={{formatnum:{{#external_value:ascland}}}}
 
|ascland={{formatnum:{{#external_value:ascland}}}}
 
|ascair={{formatnum:{{#external_value:ascair}}}}
 
|ascair={{formatnum:{{#external_value:ascair}}}}
|ascsea={{formatnum:{{#external_value:ascsea}}
+
|ascsea={{formatnum:{{#external_value:ascsea}}}}
|asccost={{#external_value:asccost}}}}
+
|asccost={{#external_value:asccost}}
 
|ascrng={{#external_value:ascrng}}
 
|ascrng={{#external_value:ascrng}}
 
|aschp={{formatnum:{{#external_value:aschp}}}}
 
|aschp={{formatnum:{{#external_value:aschp}}}}
 +
|ascspd={{#external_value:ascspd}}
 
}}
 
}}
 
{{Card_artwork|{{#external_value:name}}}}{{#clear_external_data:}} }}</includeonly>
 
{{Card_artwork|{{#external_value:name}}}}{{#clear_external_data:}} }}</includeonly>

Latest revision as of 02:11, 28 January 2016

DO NOT EDIT THIS TEMPLATE UNLESS YOU KNOW WHAT YOU ARE DOING! :D

If you're trying to update stats for a unit, go here instead: http://www.fantasicawiki.com/units.php

Usage: {{Card|CardName}}

Personal tools
Namespaces

Variants
Actions
Menu
Game Menu
Card Lists
Trading
External Resources
Toolbox