Difference between revisions of "Template:Boss row"
From Unofficial Fantasica Wiki
				
								
				
				
																
				
				
								
				m (Swapping to db pulling def values)  | 
			m (Setting data to clear properly)  | 
			||
| Line 6: | Line 6: | ||
| − | Usage: <nowiki>{{  | + | Usage: <nowiki>{{Boss_row|MonsterName}}</nowiki></noinclude><includeonly>{{#get_db_data:  | 
db=fantawiki  | db=fantawiki  | ||
|from=monsters  | |from=monsters  | ||
| Line 19: | Line 19: | ||
|class="defense_{{#external_value:meleedef}}"| {{#external_value:meleedef}}  | |class="defense_{{#external_value:meleedef}}"| {{#external_value:meleedef}}  | ||
|class="defense_{{#external_value:missiledef}}"| {{#external_value:missiledef}}  | |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}}} }}  | + | |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}}} }}{{#clear_external_data:}}</includeonly>  | 
| − | </includeonly>  | + | |
Revision as of 16:02, 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: {{Boss_row|MonsterName}}