Difference between revisions of "Template:Unit Source"
From Unofficial Fantasica Wiki
m (not working >.<) |
m |
||
(21 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
If you're trying to update stats for a unit, go here instead: http://www.fantasicawiki.com/units.php | If you're trying to update stats for a unit, go here instead: http://www.fantasicawiki.com/units.php | ||
+ | NOTE: Do not use for card packs except LE Series, as the source of low rarity cards is listed as Standard Card Packs (instead of the pack, which is only where they were initially introduced), and they will therefore not be included | ||
− | Usage: <nowiki>{{ | + | |
+ | Usage: <nowiki>{{UnitSource|Source}}</nowiki></noinclude><includeonly>{{#get_db_data:db=fantawiki | ||
|from=units | |from=units | ||
− | |where=source LIKE '%{{{1}}}' and released=1 | + | |where=source LIKE '%{{{1}}}%' and released=1 and name NOT LIKE '%_mlb' |
|order by=rarity desc, name | |order by=rarity desc, name | ||
|data=name=`name`,gender=`gender`,rarity=`rarity`,type=`type`,cost=`cost`,speed=`speed`,speednum=`speednum`,range=`range`,land=`land`,air=`air`,sea=`sea`,total=`land`+`air`+`sea`,landlb=`landlb`,airlb=`airlb`,sealb=`sealb`,totallb=`landlb`+`airlb`+`sealb`,arena=`arena`,arenalb=`arenalb`,skill1=`skill1`,skill2=`skill2`,arenaskill=`arenaskill`,source=`source`}} | |data=name=`name`,gender=`gender`,rarity=`rarity`,type=`type`,cost=`cost`,speed=`speed`,speednum=`speednum`,range=`range`,land=`land`,air=`air`,sea=`sea`,total=`land`+`air`+`sea`,landlb=`landlb`,airlb=`airlb`,sealb=`sealb`,totallb=`landlb`+`airlb`+`sealb`,arena=`arena`,arenalb=`arenalb`,skill1=`skill1`,skill2=`skill2`,arenaskill=`arenaskill`,source=`source`}} | ||
+ | <!-- commenting out header row | ||
{| class="wikitable sortable" style="text-align:center;" | {| class="wikitable sortable" style="text-align:center;" | ||
+ | ! | ||
! Unit | ! Unit | ||
! {{*}} | ! {{*}} | ||
! Type | ! Type | ||
− | ! | + | ! C |
− | ! | + | ! S |
− | ! | + | ! R |
+ | ! [[Image:Ground_icon.png]] | ||
+ | ! [[Image:Air_icon.png]] | ||
+ | ! [[Image:Sea_icon.png]] | ||
! Skill | ! Skill | ||
− | |||
! width="150" | Source | ! width="150" | Source | ||
+ | --> | ||
|- | |- | ||
{{#for_external_table:<nowiki/> | {{#for_external_table:<nowiki/> | ||
− | {{!}} [[Image:{{{name}}}_icon.png | + | {{!}} [[Image:{{{name}}}.gif]] |
+ | {{!}} [[Image:{{{name}}}_icon.png]]<br>[[{{{name}}}]] | ||
{{!}} {{{rarity}}}★ | {{!}} {{{rarity}}}★ | ||
{{!}} {{{type}}} | {{!}} {{{type}}} | ||
Line 29: | Line 37: | ||
{{!}} {{{speed}}} | {{!}} {{{speed}}} | ||
{{!}} {{{range}}} | {{!}} {{{range}}} | ||
− | {{!}} {{{ | + | {{!}} {{formatnum:{{{land}}}}}<br>{{formatnum:{{{landlb}}}}} |
− | {{!}} {{{ | + | {{!}} {{formatnum:{{{sea}}}}}<br>{{formatnum:{{{sealb}}}}} |
+ | {{!}} {{formatnum:{{{air}}}}}<br>{{formatnum:{{{airlb}}}}} | ||
+ | {{!}} {{{skill1}}}{{{skill2}}}{{{if:{{{arenaskill}}}|, {{{arenaskill}}} }}} | ||
{{!}} {{{source}}} | {{!}} {{{source}}} | ||
{{!}}- }} | {{!}}- }} | ||
− | |}{{#clear_external_data:}} | + | <!-- |
+ | |} | ||
+ | -->{{#clear_external_data:}} |
Latest revision as of 13:13, 29 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
NOTE: Do not use for card packs except LE Series, as the source of low rarity cards is listed as Standard Card Packs (instead of the pack, which is only where they were initially introduced), and they will therefore not be included
Usage: {{UnitSource|Source}}