Difference between revisions of "Template:Unit Source"

From Unofficial Fantasica Wiki
Jump to: navigation, search
m (testing)
m
 
(11 intermediate revisions by 2 users not shown)
Line 8: Line 8:
  
  
Usage: <nowiki>{{Source|SkillName}}</nowiki></noinclude><includeonly>{{#get_db_data:db=fantawiki
+
Usage: <nowiki>{{UnitSource|Source}}</nowiki></noinclude><includeonly>{{#get_db_data:db=fantawiki
 
|from=units
 
|from=units
 
|where=source LIKE '%{{{1}}}%' and released=1 and name NOT LIKE '%_mlb'
 
|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;"
 
!  
 
!  
Line 26: Line 27:
 
! Skill
 
! Skill
 
! width="150" | Source
 
! width="150" | Source
 +
-->
 
|-
 
|-
 
{{#for_external_table:<nowiki/>
 
{{#for_external_table:<nowiki/>
Line 35: Line 37:
 
{{!}} {{{speed}}}
 
{{!}} {{{speed}}}
 
{{!}} {{{range}}}
 
{{!}} {{{range}}}
{{!}} {{{land}}}<br>{{{landlb}}}
+
{{!}} {{formatnum:{{{land}}}}}<br>{{formatnum:{{{landlb}}}}}
{{!}} {{{sea}}}<br>{{{sealb}}}
+
{{!}} {{formatnum:{{{sea}}}}}<br>{{formatnum:{{{sealb}}}}}
{{!}} {{{air}}}<br>{{{airlb}}}
+
{{!}} {{formatnum:{{{air}}}}}<br>{{formatnum:{{{airlb}}}}}
{{!}} {{{skill1}}} {{{skill2}}}
+
{{!}} {{{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}}

Personal tools
Namespaces

Variants
Actions
Menu
Game Menu
Card Lists
Trading
External Resources
Toolbox