Difference between revisions of "Template:Unit Source"

From Unofficial Fantasica Wiki
Jump to: navigation, search
m (fixing)
m
 
(16 intermediate revisions by 2 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>{{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
+
|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
 
! {{*}}
 
! {{*}}
Line 21: Line 25:
 
! [[Image:Air_icon.png]]
 
! [[Image:Air_icon.png]]
 
! [[Image:Sea_icon.png]]
 
! [[Image:Sea_icon.png]]
! Total
 
 
! Skill
 
! Skill
 
! width="150" | Source
 
! width="150" | Source
 +
-->
 
|-
 
|-
 
{{#for_external_table:<nowiki/>
 
{{#for_external_table:<nowiki/>
 +
{{!}} [[Image:{{{name}}}.gif]]
 
{{!}} [[Image:{{{name}}}_icon.png]]<br>[[{{{name}}}]]
 
{{!}} [[Image:{{{name}}}_icon.png]]<br>[[{{{name}}}]]
 
{{!}} {{{rarity}}}★
 
{{!}} {{{rarity}}}★
Line 32: Line 37:
 
{{!}} {{{speed}}}
 
{{!}} {{{speed}}}
 
{{!}} {{{range}}}
 
{{!}} {{{range}}}
{{!}} {{{ground}}}<br>{{{groundlb}}}
+
{{!}} {{formatnum:{{{land}}}}}<br>{{formatnum:{{{landlb}}}}}
{{!}} {{{sea}}}<br>{{{sealb}}}
+
{{!}} {{formatnum:{{{sea}}}}}<br>{{formatnum:{{{sealb}}}}}
{{!}} {{{air}}}<br>{{{airlb}}}
+
{{!}} {{formatnum:{{{air}}}}}<br>{{formatnum:{{{airlb}}}}}
{{!}} {{{total}}}<br>{{{totallb}}}
+
{{!}} {{{skill1}}}{{{skill2}}}{{{if:{{{arenaskill}}}|, {{{arenaskill}}} }}}
{{!}} {{{skill1}}} {{{#ifexist: {{{skill2}}} | , {{{skill2}}} {{{#ifexist: {{{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