Difference between revisions of "Template:Creature"

From Fallen Sword Wiki
Jump to: navigation, search
 
(8 intermediate revisions by 4 users not shown)
Line 13: Line 13:
 
| beast = [[:Category:Beast Class|Beast]]
 
| beast = [[:Category:Beast Class|Beast]]
 
| canine = [[:Category:Canine Class|Canine]]
 
| canine = [[:Category:Canine Class|Canine]]
 +
| chest = [[:Category:Chests|Chests]]
 
| demon = [[:Category:Demon Class|Demon]]
 
| demon = [[:Category:Demon Class|Demon]]
 
| dragon = [[:Category:Dragon Class|Dragon]]
 
| dragon = [[:Category:Dragon Class|Dragon]]
Line 27: Line 28:
 
| reptile = [[:Category:Reptile Class|Reptile]]
 
| reptile = [[:Category:Reptile Class|Reptile]]
 
| undead = [[:Category:Undead Class|Undead]]
 
| undead = [[:Category:Undead Class|Undead]]
| vermin = [[:Category:Vermin Class|Vermin]]
+
| vermin = [[:Category:Vermin Class|Vermin]]}}
|
+
{{#ifeq: {{{rarity|}}} || <br> | <br>'''&bull;''' '''[[Rarity]]:''' {{#switch: {{lc:{{{rarity}}}}}
}}<br>
+
| champion = [[:Category:Champion Beasts|Champion]]
 +
| elite = [[:Category:Elite Beasts|Elite]]
 +
| legendary = [[:Category:Legendary Beasts|Legendary]]
 +
| super elite = [[:Category:Super Elite Beasts|Super Elite]]
 +
| titan = [[:Category:Titan Beasts|Titan]]}}<br>}}
 
'''&bull;''' '''[[Level]]:''' {{{level|}}}
 
'''&bull;''' '''[[Level]]:''' {{{level|}}}
 
===Statistics===
 
===Statistics===
Line 123: Line 128:
 
| style="color:#063" align="center" bgcolor="#eeeeff" | <tt>{{formatnum:{{{damage-max|0}}}}}</tt>
 
| style="color:#063" align="center" bgcolor="#eeeeff" | <tt>{{formatnum:{{{damage-max|0}}}}}</tt>
 
| style="color:#063" align="center" | <tt>{{formatnum:{{#expr: {{{hp-max|0}}} + {{{armor-max|0}}} }}}}</tt>
 
| style="color:#063" align="center" | <tt>{{formatnum:{{#expr: {{{hp-max|0}}} + {{{armor-max|0}}} }}}}</tt>
| style="color:#063" align="center" bgcolor="#eeeeff" | <tt>{{formatnum:{{#expr: ceil(({{{hp-max|0}}} + {{{armor-max|0}}})/2) }}}}</tt>
+
| style="color:#063" align="center" bgcolor="#eeeeff" | <tt>{{formatnum:{{#expr: ceil(({{{hp-max|0}}}/2 + {{{armor-max|0}}})) }}}}</tt>
| style="color:#063" align="center" | <tt>{{formatnum:{{#expr: ceil(({{{hp-max|0}}} + {{{armor-max|0}}})/3) }}}}</tt>
+
| style="color:#063" align="center" | <tt>{{formatnum:{{#expr: ceil(({{{hp-max|0}}}/3 + {{{armor-max|0}}})) }}}}</tt>
| style="color:#063" align="center" bgcolor="#eeeeff" | <tt>{{formatnum:{{#expr: ceil(({{{hp-max|0}}} + {{{armor-max|0}}})/4) }}}}</tt>
+
| style="color:#063" align="center" bgcolor="#eeeeff" | <tt>{{formatnum:{{#expr: ceil(({{{hp-max|0}}}/4 + {{{armor-max|0}}})) }}}}</tt>
| style="color:#063" align="center" | <tt>{{formatnum:{{#expr: ceil(({{{hp-max|0}}} + {{{armor-max|0}}})/5) }}}}</tt>
+
| style="color:#063" align="center" | <tt>{{formatnum:{{#expr: ceil(({{{hp-max|0}}}/5 + {{{armor-max|0}}})) }}}}</tt>
| style="color:#063" align="center" bgcolor="#eeeeff" | <tt>{{formatnum:{{#expr: ceil(({{{hp-max|0}}} + {{{armor-max|0}}})/6) }}}}</tt>
+
| style="color:#063" align="center" bgcolor="#eeeeff" | <tt>{{formatnum:{{#expr: ceil(({{{hp-max|0}}}/6 + {{{armor-max|0}}})) }}}}</tt>
 
|-
 
|-
 
! align="left" | Target Stats:
 
! align="left" | Target Stats:
Line 134: Line 139:
 
| style="color:#800" align="center" bgcolor="#eeeeff" | '''<tt>{{formatnum:{{#expr: ceil({{{damage-max|0}}} + ({{{damage-max|0}}} * .1053)) }}}}</tt>'''
 
| style="color:#800" align="center" bgcolor="#eeeeff" | '''<tt>{{formatnum:{{#expr: ceil({{{damage-max|0}}} + ({{{damage-max|0}}} * .1053)) }}}}</tt>'''
 
| style="color:#800" align="center" | '''<tt>{{formatnum:{{#expr: ceil(({{{hp-max|0}}} * 1.1053) + ({{{armor-max|0}}} * 1.053)) }}}}</tt>'''
 
| style="color:#800" align="center" | '''<tt>{{formatnum:{{#expr: ceil(({{{hp-max|0}}} * 1.1053) + ({{{armor-max|0}}} * 1.053)) }}}}</tt>'''
| style="color:#800" align="center" bgcolor="#eeeeff" | '''<tt>{{formatnum:{{#expr: ceil((({{{hp-max|0}}} * 1.1053) + ({{{armor-max|0}}} * 1.053))/2) }}}}</tt>'''
+
| style="color:#800" align="center" bgcolor="#eeeeff" | '''<tt>{{formatnum:{{#expr: ceil((({{{hp-max|0}}} * 1.1053)/2 + ({{{armor-max|0}}} * 1.053))) }}}}</tt>'''
| style="color:#800" align="center" | '''<tt>{{formatnum:{{#expr: ceil((({{{hp-max|0}}} * 1.1053) + ({{{armor-max|0}}} * 1.053))/3) }}}}</tt>'''
+
| style="color:#800" align="center" | '''<tt>{{formatnum:{{#expr: ceil((({{{hp-max|0}}} * 1.1053)/3 + ({{{armor-max|0}}} * 1.053))) }}}}</tt>'''
| style="color:#800" align="center" bgcolor="#eeeeff" | '''<tt>{{formatnum:{{#expr: ceil((({{{hp-max|0}}} * 1.1053) + ({{{armor-max|0}}} * 1.053))/4) }}}}</tt>'''
+
| style="color:#800" align="center" bgcolor="#eeeeff" | '''<tt>{{formatnum:{{#expr: ceil((({{{hp-max|0}}} * 1.1053)/4 + ({{{armor-max|0}}} * 1.053))) }}}}</tt>'''
| style="color:#800" align="center" | '''<tt>{{formatnum:{{#expr: ceil((({{{hp-max|0}}} * 1.1053) + ({{{armor-max|0}}} * 1.053))/5) }}}}</tt>'''
+
| style="color:#800" align="center" | '''<tt>{{formatnum:{{#expr: ceil((({{{hp-max|0}}} * 1.1053)/5 + ({{{armor-max|0}}} * 1.053))) }}}}</tt>'''
| style="color:#800" align="center" bgcolor="#eeeeff" | '''<tt>{{formatnum:{{#expr: ceil((({{{hp-max|0}}} * 1.1053) + ({{{armor-max|0}}} * 1.053))/6) }}}}</tt>'''
+
| style="color:#800" align="center" bgcolor="#eeeeff" | '''<tt>{{formatnum:{{#expr: ceil((({{{hp-max|0}}} * 1.1053)/6 + ({{{armor-max|0}}} * 1.053))) }}}}</tt>'''
 
|}
 
|}
 
<!-- Formulas to calculate target stats taken from http://forum.fallensword.com/viewtopic.php?t=32263 -->
 
<!-- Formulas to calculate target stats taken from http://forum.fallensword.com/viewtopic.php?t=32263 -->
Line 168: Line 173:
 
| legendary = [[Category:Legendary Beasts]]
 
| legendary = [[Category:Legendary Beasts]]
 
| super elite = [[Category:Super Elite Beasts]]
 
| super elite = [[Category:Super Elite Beasts]]
 +
| titan = [[Category:Titan Beasts]]
 
|
 
|
 
}}
 
}}
Line 182: Line 188:
 
</center>
 
</center>
 
This template allows easy adding of creature pages. To use, copy the following code to the creature's page and fill in the banks. Remove anything that is extra. If a creature cannot be completely represented by this template, please use the talk page to request a change.
 
This template allows easy adding of creature pages. To use, copy the following code to the creature's page and fill in the banks. Remove anything that is extra. If a creature cannot be completely represented by this template, please use the talk page to request a change.
 +
 +
If the creature is a cave creature found through [[scavenging]], use the [[Template:CaveCreature]] template instead.
 
<pre>
 
<pre>
 
{{Creature
 
{{Creature

Latest revision as of 17:45, 19 February 2011

Do not edit this page!

If you need to customize this template to fit your own needs, copy the code into a fresh template and work from there.

Editing this page may cause the template to stop working properly for other pages currently using this template.

This template allows easy adding of creature pages. To use, copy the following code to the creature's page and fill in the banks. Remove anything that is extra. If a creature cannot be completely represented by this template, please use the talk page to request a change.

If the creature is a cave creature found through scavenging, use the Template:CaveCreature template instead.

{{Creature
|image=
|name=
|class=
|description=
|rarity=
|level=
|xp-min=
|xp-max=
|attack-min=
|attack-max=
|defense-min=
|defense-max=
|armor-min=
|armor-max=
|damage-min=
|damage-max=
|hp-min=
|hp-max=
|gold-min=
|gold-max=
|enhancement-1=
|enhancement-1-min=
|enhancement-1-max=
|enhancement-2=
|enhancement-2-min=
|enhancement-2-max=
|enhancement-3=
|enhancement-3-min=
|enhancement-3-max=
|enhancement-4=
|enhancement-4-min=
|enhancement-4-max=
|enhancement-5=
|enhancement-5-min=
|enhancement-5-max=
|drop=
|drop-2=
|drop-3=
|drop-4=
|drop-5=
|area=
|area-2=
}}

The rarity parameter is for champion, elites, etc., so those creatures are added to the appropriate categories. The parameter can be removed for all other creatures.

There are also parameters for enhancement-6 through enhancement-25 and drop-6 through drop-20 and area-6 through area-20