Difference between revisions of "Template:Boss row"

From Unofficial Fantasica Wiki
Jump to: navigation, search
(Adding support for extra columns)
m (Swapping to db pulling def values)
Line 1: Line 1:
<noinclude>{|</noinclude>|-
+
<noinclude>
| {{Sprite|{{{1}}}}}
+
DO NOT EDIT THIS TEMPLATE UNLESS YOU KNOW WHAT YOU ARE DOING! :D
|| {{Icon| {{{1}}} }}<br>{{{1}}}
+
 
|| {{Icon| {{{2}}} }}
+
If you're trying to update stats for a unit, go here instead: http://www.fantasicawiki.com/monsters.php
|class="defense_{{{3}}}" style="font-weight:bold; text-align:center;"| {{{3}}}
+
 
|class="defense_{{{4}}}" style="font-weight:bold; text-align:center;"| {{{4}}}
+
 
|class="defense_{{{5}}}" style="font-weight:bold; text-align:center;"| {{{5}}} {{#if: {{{6|}}} | {{!!}} {{{6}}} }} {{#if: {{{7|}}} | {{!!}} {{{7}}} }} {{#if: {{{8|}}} | {{!!}} {{{8}}} }} {{#if: {{{9|}}} | {{!!}} {{{9}}} }} {{#if: {{{10|}}} | {{!!}} {{{10}}} }}<noinclude>
+
 
|}</noinclude>
+
Usage: <nowiki>{{Monster_Row|MonsterName}}</nowiki></noinclude><includeonly>{{#get_db_data:
 +
db=fantawiki
 +
|from=monsters
 +
|where=name='{{{1}}}'
 +
|limit=1
 +
|data=name=`name`,fullname=`fullname`,rarity=`rarity`,type=`type`,speed=`speed`,meleedef=`melee_def`,missiledef=`missile_def`,magicdef=`magic_def`,basehp=`basehp`,maxhp=`maxhp`,lbhp=`lbhp`,recruitable=`recruitable`,source=`source`,released=`released`
 +
}}
 +
|-
 +
|| {{Sprite|{{{1}}}}}
 +
|| {{Icon|{{{1}}}}}<br/>{{#external_value:name}}
 +
|| {{Icon_s|{{#external_value:type}}}}
 +
|class="defense_{{#external_value:meleedef}}"| {{#external_value:meleedef}}
 +
|class="defense_{{#external_value:missiledef}}"| {{#external_value:missiledef}}
 +
|class="defense_{{#external_value:magicdef}}"| {{#external_value:magicdef}} {{#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}}} }}
 +
</includeonly>

Revision as of 15:55, 2 April 2014

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/monsters.php


Usage: {{Monster_Row|MonsterName}}

Personal tools
Namespaces

Variants
Actions
Menu
Game Menu
Card Lists
Trading
External Resources
Toolbox