Difference between revisions of "Template:Creature"

From Fallen Sword Wiki
Jump to: navigation, search
Line 72: Line 72:
 
{| width="100%" cellspacing="0" cellpadding="0"
 
{| width="100%" cellspacing="0" cellpadding="0"
 
{{#ifeq: {{{enhancement-1|0}}} | 0 |{{!}}'''&bull;''' <nowiki>[none]</nowiki>
 
{{#ifeq: {{{enhancement-1|0}}} | 0 |{{!}}'''&bull;''' <nowiki>[none]</nowiki>
{{!end}} | {{CEnh|col=eeeeff|stat={{{enhancement-1|}}}|min={{{enhancement-1-min|0}}}|max={{{enhancement-1-max|0}}}}}
+
{{!end}} | {{CEnh|col=eeeeff|enh={{{enhancement-1|}}}|min={{{enhancement-1-min|0}}}|max={{{enhancement-1-max|0}}}}}
{{#ifeq: {{{enhancement-2|0}}} | 0 | {{#ifeq: {{{enhancement-1|0}}} | 0 ||{{!end}}}} | {{CEnh|stat={{{enhancement-2|}}}|min={{{enhancement-2-min|0}}}|max={{{enhancement-2-max|0}}}}}
+
{{#ifeq: {{{enhancement-2|0}}} | 0 | {{#ifeq: {{{enhancement-1|0}}} | 0 ||{{!end}}}} | {{CEnh|enh={{{enhancement-2|}}}|min={{{enhancement-2-min|0}}}|max={{{enhancement-2-max|0}}}}}
{{#ifeq: {{{enhancement-3|0}}} | 0 | {{#ifeq: {{{enhancement-2|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|stat={{{enhancement-3|}}}|min={{{enhancement-3-min|0}}}|max={{{enhancement-3-max|0}}}}}
+
{{#ifeq: {{{enhancement-3|0}}} | 0 | {{#ifeq: {{{enhancement-2|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|enh={{{enhancement-3|}}}|min={{{enhancement-3-min|0}}}|max={{{enhancement-3-max|0}}}}}
{{#ifeq: {{{enhancement-4|0}}} | 0 | {{#ifeq: {{{enhancement-3|0}}} | 0 ||{{!end}}}} | {{CEnh|stat={{{enhancement-4|}}}|min={{{enhancement-4-min|0}}}|max={{{enhancement-4-max|0}}}}}
+
{{#ifeq: {{{enhancement-4|0}}} | 0 | {{#ifeq: {{{enhancement-3|0}}} | 0 ||{{!end}}}} | {{CEnh|enh={{{enhancement-4|}}}|min={{{enhancement-4-min|0}}}|max={{{enhancement-4-max|0}}}}}
{{#ifeq: {{{enhancement-5|0}}} | 0 | {{#ifeq: {{{enhancement-4|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|stat={{{enhancement-5|}}}|min={{{enhancement-5-min|0}}}|max={{{enhancement-5-max|0}}}}}
+
{{#ifeq: {{{enhancement-5|0}}} | 0 | {{#ifeq: {{{enhancement-4|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|enh={{{enhancement-5|}}}|min={{{enhancement-5-min|0}}}|max={{{enhancement-5-max|0}}}}}
{{#ifeq: {{{enhancement-6|0}}} | 0 | {{#ifeq: {{{enhancement-5|0}}} | 0 ||{{!end}}}} | {{CEnh|stat={{{enhancement-6|}}}|min={{{enhancement-6-min|0}}}|max={{{enhancement-6-max|0}}}}}
+
{{#ifeq: {{{enhancement-6|0}}} | 0 | {{#ifeq: {{{enhancement-5|0}}} | 0 ||{{!end}}}} | {{CEnh|enh={{{enhancement-6|}}}|min={{{enhancement-6-min|0}}}|max={{{enhancement-6-max|0}}}}}
{{#ifeq: {{{enhancement-7|0}}} | 0 | {{#ifeq: {{{enhancement-6|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|stat={{{enhancement-7|}}}|min={{{enhancement-7-min|0}}}|max={{{enhancement-7-max|0}}}}}
+
{{#ifeq: {{{enhancement-7|0}}} | 0 | {{#ifeq: {{{enhancement-6|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|enh={{{enhancement-7|}}}|min={{{enhancement-7-min|0}}}|max={{{enhancement-7-max|0}}}}}
{{#ifeq: {{{enhancement-8|0}}} | 0 | {{#ifeq: {{{enhancement-7|0}}} | 0 ||{{!end}}}} | {{CEnh|stat={{{enhancement-8|}}}|min={{{enhancement-8-min|0}}}|max={{{enhancement-8-max|0}}}}}
+
{{#ifeq: {{{enhancement-8|0}}} | 0 | {{#ifeq: {{{enhancement-7|0}}} | 0 ||{{!end}}}} | {{CEnh|enh={{{enhancement-8|}}}|min={{{enhancement-8-min|0}}}|max={{{enhancement-8-max|0}}}}}
{{#ifeq: {{{enhancement-9|0}}} | 0 | {{#ifeq: {{{enhancement-8|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|stat={{{enhancement-9|}}}|min={{{enhancement-9-min|0}}}|max={{{enhancement-9-max|0}}}}}
+
{{#ifeq: {{{enhancement-9|0}}} | 0 | {{#ifeq: {{{enhancement-8|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|enh={{{enhancement-9|}}}|min={{{enhancement-9-min|0}}}|max={{{enhancement-9-max|0}}}}}
{{#ifeq: {{{enhancement-10|0}}} | 0 | {{#ifeq: {{{enhancement-9|0}}} | 0 ||{{!end}}}} | {{CEnh|stat={{{enhancement-10|}}}|min={{{enhancement-10-min|0}}}|max={{{enhancement-10-max|0}}}}}
+
{{#ifeq: {{{enhancement-10|0}}} | 0 | {{#ifeq: {{{enhancement-9|0}}} | 0 ||{{!end}}}} | {{CEnh|enh={{{enhancement-10|}}}|min={{{enhancement-10-min|0}}}|max={{{enhancement-10-max|0}}}}}
{{#ifeq: {{{enhancement-11|0}}} | 0 | {{#ifeq: {{{enhancement-10|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|stat={{{enhancement-11|}}}|min={{{enhancement-11-min|0}}}|max={{{enhancement-11-max|0}}}}}
+
{{#ifeq: {{{enhancement-11|0}}} | 0 | {{#ifeq: {{{enhancement-10|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|enh={{{enhancement-11|}}}|min={{{enhancement-11-min|0}}}|max={{{enhancement-11-max|0}}}}}
{{#ifeq: {{{enhancement-12|0}}} | 0 | {{#ifeq: {{{enhancement-11|0}}} | 0 ||{{!end}}}} | {{CEnh|stat={{{enhancement-12|}}}|min={{{enhancement-12-min|0}}}|max={{{enhancement-12-max|0}}}}}
+
{{#ifeq: {{{enhancement-12|0}}} | 0 | {{#ifeq: {{{enhancement-11|0}}} | 0 ||{{!end}}}} | {{CEnh|enh={{{enhancement-12|}}}|min={{{enhancement-12-min|0}}}|max={{{enhancement-12-max|0}}}}}
{{#ifeq: {{{enhancement-13|0}}} | 0 | {{#ifeq: {{{enhancement-12|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|stat={{{enhancement-13|}}}|min={{{enhancement-13-min|0}}}|max={{{enhancement-13-max|0}}}}}
+
{{#ifeq: {{{enhancement-13|0}}} | 0 | {{#ifeq: {{{enhancement-12|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|enh={{{enhancement-13|}}}|min={{{enhancement-13-min|0}}}|max={{{enhancement-13-max|0}}}}}
{{#ifeq: {{{enhancement-14|0}}} | 0 | {{#ifeq: {{{enhancement-13|0}}} | 0 ||{{!end}}}} | {{CEnh|stat={{{enhancement-14|}}}|min={{{enhancement-14-min|0}}}|max={{{enhancement-14-max|0}}}}}
+
{{#ifeq: {{{enhancement-14|0}}} | 0 | {{#ifeq: {{{enhancement-13|0}}} | 0 ||{{!end}}}} | {{CEnh|enh={{{enhancement-14|}}}|min={{{enhancement-14-min|0}}}|max={{{enhancement-14-max|0}}}}}
{{#ifeq: {{{enhancement-15|0}}} | 0 | {{#ifeq: {{{enhancement-14|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|stat={{{enhancement-15|}}}|min={{{enhancement-15-min|0}}}|max={{{enhancement-15-max|0}}}}}
+
{{#ifeq: {{{enhancement-15|0}}} | 0 | {{#ifeq: {{{enhancement-14|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|enh={{{enhancement-15|}}}|min={{{enhancement-15-min|0}}}|max={{{enhancement-15-max|0}}}}}
{{#ifeq: {{{enhancement-16|0}}} | 0 | {{#ifeq: {{{enhancement-15|0}}} | 0 ||{{!end}}}} | {{CEnh|stat={{{enhancement-16|}}}|min={{{enhancement-16-min|0}}}|max={{{enhancement-16-max|0}}}}}
+
{{#ifeq: {{{enhancement-16|0}}} | 0 | {{#ifeq: {{{enhancement-15|0}}} | 0 ||{{!end}}}} | {{CEnh|enh={{{enhancement-16|}}}|min={{{enhancement-16-min|0}}}|max={{{enhancement-16-max|0}}}}}
{{#ifeq: {{{enhancement-17|0}}} | 0 | {{#ifeq: {{{enhancement-16|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|stat={{{enhancement-17|}}}|min={{{enhancement-17-min|0}}}|max={{{enhancement-17-max|0}}}}}
+
{{#ifeq: {{{enhancement-17|0}}} | 0 | {{#ifeq: {{{enhancement-16|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|enh={{{enhancement-17|}}}|min={{{enhancement-17-min|0}}}|max={{{enhancement-17-max|0}}}}}
{{#ifeq: {{{enhancement-18|0}}} | 0 | {{#ifeq: {{{enhancement-17|0}}} | 0 ||{{!end}}}} | {{CEnh|stat={{{enhancement-18|}}}|min={{{enhancement-18-min|0}}}|max={{{enhancement-18-max|0}}}}}
+
{{#ifeq: {{{enhancement-18|0}}} | 0 | {{#ifeq: {{{enhancement-17|0}}} | 0 ||{{!end}}}} | {{CEnh|enh={{{enhancement-18|}}}|min={{{enhancement-18-min|0}}}|max={{{enhancement-18-max|0}}}}}
{{#ifeq: {{{enhancement-19|0}}} | 0 | {{#ifeq: {{{enhancement-18|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|stat={{{enhancement-19|}}}|min={{{enhancement-19-min|0}}}|max={{{enhancement-19-max|0}}}}}
+
{{#ifeq: {{{enhancement-19|0}}} | 0 | {{#ifeq: {{{enhancement-18|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|enh={{{enhancement-19|}}}|min={{{enhancement-19-min|0}}}|max={{{enhancement-19-max|0}}}}}
{{#ifeq: {{{enhancement-20|0}}} | 0 | {{#ifeq: {{{enhancement-19|0}}} | 0 ||{{!end}}}} | {{CEnh|stat={{{enhancement-20|}}}|min={{{enhancement-20-min|0}}}|max={{{enhancement-20-max|0}}}}}
+
{{#ifeq: {{{enhancement-20|0}}} | 0 | {{#ifeq: {{{enhancement-19|0}}} | 0 ||{{!end}}}} | {{CEnh|enh={{{enhancement-20|}}}|min={{{enhancement-20-min|0}}}|max={{{enhancement-20-max|0}}}}}
{{#ifeq: {{{enhancement-21|0}}} | 0 | {{#ifeq: {{{enhancement-20|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|stat={{{enhancement-21|}}}|min={{{enhancement-21-min|0}}}|max={{{enhancement-21-max|0}}}}}
+
{{#ifeq: {{{enhancement-21|0}}} | 0 | {{#ifeq: {{{enhancement-20|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|enh={{{enhancement-21|}}}|min={{{enhancement-21-min|0}}}|max={{{enhancement-21-max|0}}}}}
{{#ifeq: {{{enhancement-22|0}}} | 0 | {{#ifeq: {{{enhancement-21|0}}} | 0 ||{{!end}}}} | {{CEnh|stat={{{enhancement-22|}}}|min={{{enhancement-22-min|0}}}|max={{{enhancement-22-max|0}}}}}
+
{{#ifeq: {{{enhancement-22|0}}} | 0 | {{#ifeq: {{{enhancement-21|0}}} | 0 ||{{!end}}}} | {{CEnh|enh={{{enhancement-22|}}}|min={{{enhancement-22-min|0}}}|max={{{enhancement-22-max|0}}}}}
{{#ifeq: {{{enhancement-23|0}}} | 0 | {{#ifeq: {{{enhancement-22|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|stat={{{enhancement-23|}}}|min={{{enhancement-23-min|0}}}|max={{{enhancement-23-max|0}}}}}
+
{{#ifeq: {{{enhancement-23|0}}} | 0 | {{#ifeq: {{{enhancement-22|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|enh={{{enhancement-23|}}}|min={{{enhancement-23-min|0}}}|max={{{enhancement-23-max|0}}}}}
{{#ifeq: {{{enhancement-24|0}}} | 0 | {{#ifeq: {{{enhancement-23|0}}} | 0 ||{{!end}}}} | {{CEnh|stat={{{enhancement-24|}}}|min={{{enhancement-24-min|0}}}|max={{{enhancement-24-max|0}}}}}
+
{{#ifeq: {{{enhancement-24|0}}} | 0 | {{#ifeq: {{{enhancement-23|0}}} | 0 ||{{!end}}}} | {{CEnh|enh={{{enhancement-24|}}}|min={{{enhancement-24-min|0}}}|max={{{enhancement-24-max|0}}}}}
{{#ifeq: {{{enhancement-25|0}}} | 0 | {{#ifeq: {{{enhancement-24|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|stat={{{enhancement-25|}}}|min={{{enhancement-25-min|0}}}|max={{{enhancement-25-max|0}}}}}
+
{{#ifeq: {{{enhancement-25|0}}} | 0 | {{#ifeq: {{{enhancement-24|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|enh={{{enhancement-25|}}}|min={{{enhancement-25-min|0}}}|max={{{enhancement-25-max|0}}}}}
 
{{#ifeq: {{{enhancement-25|0}}} | 0 ||{{!end}}}} }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
 
{{#ifeq: {{{enhancement-25|0}}} | 0 ||{{!end}}}} }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
 
|width="25%" valign="top" align="left"|
 
|width="25%" valign="top" align="left"|

Revision as of 14:04, 7 October 2008

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.

{{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