Difference between revisions of "Template:Unit Row"
From Unofficial Fantasica Wiki
(Template for card row to pull data from the database) |
m |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 14: | Line 14: | ||
}} | }} | ||
|- | |- | ||
− | || {{Sprite|{{{1}}} }} | + | || {{Sprite|{{{1}}}}} |
− | || {{Icon|{{{1}}} }} | + | || {{Icon|{{{1}}}}}<br/>[[{{#external_value:name}}]] |
− | + | ||
|| {{#external_value:rarity}} | || {{#external_value:rarity}} | ||
|| {{#external_value:type}} | || {{#external_value:type}} | ||
Line 22: | Line 21: | ||
|| {{#external_value:speed}} | || {{#external_value:speed}} | ||
|| {{#external_value:range}} | || {{#external_value:range}} | ||
− | || {{#external_value:land}} | + | || {{formatnum:{{#external_value:land}}}} |
− | || {{#external_value:air}} | + | || {{formatnum:{{#external_value:air}}}} |
− | || {{#external_value:sea}} | + | || {{formatnum:{{#external_value:sea}}}} |
− | || {{#external_value:skill1}}{{#if: {{#external_value:skill2}} | , {{#external_value:skill2}}}}{{#if: {{#external_value:arenaskill}} | , {{#external_value:arenaskill}}}} | + | || {{#external_value:skill1}}{{#if: {{#external_value:skill2}} | ,<br> {{#external_value:skill2}}}}{{#if: {{#external_value:arenaskill}} | ,<br> {{#external_value:arenaskill}}}} |
− | || {{#external_value:source}}{{#clear_external_data:}}</includeonly> | + | || {{#external_value:source}} {{#if: {{{2|}}} | {{!!}} {{{2}}} }} {{#if: {{{3|}}} | {{!!}} {{{3}}} }} {{#if: {{{4|}}} | {{!!}} {{{4}}} }} {{#if: {{{5|}}} | {{!!}} {{{5}}} }} {{#if: {{{6|}}} | {{!!}} {{{6}}} }} {{#if: {{{7|}}} | {{!!}} {{{7}}} }} {{#if: {{{8|}}} | {{!!}} {{{8}}} }} {{#if: {{{9|}}} | {{!!}} {{{9}}} }} {{#if: {{{10|}}} | {{!!}} {{{10}}} }} {{#clear_external_data:}}</includeonly> |
Latest revision as of 05:55, 25 January 2019
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_Row|CardName}}