Template:Enemy Card

From CrossCode Wiki
Revision as of 11:15, 21 April 2021 by ExE Boss (talk | contribs) (Fix EXP icon)
Jump to navigation Jump to search
File:Template-info.svg Template Documentation

This template is used on an article about an enemy, boss, or combative avatar to provide basic stats and information.

Usage

Blank template:

{{Enemy_Card
|name=
|sprite=<!--File:example.png-->
|location=
|color=
|level=
|blevel=
|type=
|subtype=
|HP=
|bHP=
|atk=
|batk=
|def=
|bdef=
|foc=
|bfoc=
|heat=
|cold=
|shock=
|wave=
|EXP=
|bEXP=
|credits=
|bcredits=
|drops=<!--{{ItemDrop|
{{ItemDrop/entry|name=|chance=|rank=}}}}-->
}}

Example

The text below produces the location card you see to the right. Note that the real code behind this template is hidden from view until it is included. The name and sprite parameters are necessary, but all others will be replaced with "Unknown" if not included (except drops, which is replaced with "None").

{{Enemy_Card
|name=Flamin' Hillkat
|sprite=File:Red-meerkat-sprite.png
|location=[[Autumn's Rise]]
|color=#bf5900
|level=10
|blevel=100
|type=Organic
|subtype=Mammal
|HP=390
|bHP=111
|atk=44
|batk=222
|def=39
|bdef=999
|foc=46
|bfoc=
|heat=50
|cold=-50
|shock=-99
|wave=1
|EXP=45
|bEXP=35
|credits=47
|bcredits=100
|drops={{ItemDrop|
{{ItemDrop/entry|name=Headphone Scraps|chance=12%|rank=D|quantity=1}}
{{ItemDrop/entry|name=Hi-Sandwich|chance=8%|rank=B|quantity=1}}}}
}}

TemplateData

Do not use named parameter for 1 ... x. The first Parameter will be automatically marked as 1, the second as 2 and so on.

Parameter Description Type Status
Name name

Name of the enemy

Default:
Unknown
Example:
no example
String Required
Sprite sprite

Image of the enemy

Default:
NULL
Example:
File:Example.png
WikiCode Required
Location location

Comma-separated list of areas the enemy is located in, with links to the corresponding articles

Default:
Unknown
Example:
[[Autumn's Rise]], [[Bergen Trail]]
String Required
Color color

value of the background color for the header. Can be done using either {{Loc color}} or HTML syntax.

Default:
NULL
Example:
#004F80, {{Loc color|blue}}, {{Loc color|Rhombus Square}}
String Required
Level level

Level of the enemy

Default:
Unknown
Example:
no example
Number Required
Boosted level blevel

Level of the boosted enemy

Default:
NULL
Example:
no example
Number Optional
Type type

Enemy type as categorized in the Monster Fibula. This value is also used to display the corresponding icon in the header.

Default:
Unknown
Example:
no example
["Organic" | "Organic Boss" | "Mechanical" | "Mechanical Boss" | "Humanoid" | "Humanoid Boss" | "Abstract" | "Abstract Boss" | "Avatar" | "Avatar Boss"] Required
Sub type subtype

Sub type as given in the Monster Fibula

Default:
Unknown
Example:
no example
String Required
Max HP HP

Value of enemy max HP

Default:
Unknown
Example:
no example
Number Required
Boosted max HP bHP

Value of boosted enemy max HP

Default:
NULL
Example:
no example
Number Optional
Attack atk

Value of enemy attack

Default:
Unknown
Example:
no example
Number Required
Boosted attack batk

Value of boosted enemy attack

Default:
NULL
Example:
no example
Number Optional
Defense def

Value of enemy defense

Default:
Unknown
Example:
no example
Number Required
Boosted defense bdef

Value of boosted enemy defense

Default:
NULL
Example:
no example
Number Optional
Focus foc

Value of enemy focus

Default:
Unknown
Example:
no example
Number Required
Boosted focus bfoc

Value of boosted enemy focus

Default:
NULL
Example:
no example
Number Optional
Heat resistance heat

Value of enemy heat resistance

Default:
NULL
Example:
no example
Number Optional
Cold resistance cold

Value of enemy cold resistance

Default:
NULL
Example:
no example
Number Optional
Shock resistance shock

Value of enemy shock resistance

Default:
NULL
Example:
no example
Number Optional
Wave resistance wave

Value of enemy wave resistance

Default:
NULL
Example:
no example
Number Optional
EXP EXP

Amount of EXP awarded upon enemy's defeat at the same level

Default:
Unknown
Example:
no example
Number Required
Boosted EXP bEXP

Amount of EXP awarded upon boosted enemy's defeat at the same level

Default:
Unknown
Example:
no example
Number Optional
Credits credits

Number of credits awarded upon enemy's defeat

Default:
Unknown
Example:
no example
Number Required
Boosted credits bcredits

Number of credits awarded upon boosted enemy's defeat

Default:
NULL
Example:
no example
Number Optional
Drops drops

table of items the enemy can drop

Default:
None
Example:
no example
{{ItemDrop}} Optional

See Template:TemplateData and Template:TemplateData/entry for more information about the parameter list and DDNCode for more information about types and the DDN Notation

Test of raw TemplateData output:

No description.

Template parameters

ParameterDescriptionTypeStatus
Namename

Name of the enemy

Default
Unknown
Stringrequired
Spritesprite

Image of the enemy

Example
<code>File:Example.png</code>
Contentrequired
Locationlocation

Comma-separated list of areas the enemy is located in, with links to the corresponding articles

Default
Unknown
Example
<code>[[Autumn's Rise]], [[Bergen Trail]]</code>
Stringrequired
Colorcolor

value of the background color for the header. Can be done using either <code>{{[[Template:Loc color|Loc color]]}}</code> or HTML syntax.

Example
<code>#004F80</code>, <code>{{Loc color|blue}}</code>, <code>{{Loc color|Rhombus Square}}</code>
Stringrequired
Levellevel

Level of the enemy

Default
Unknown
Numberrequired
Boosted levelblevel

Level of the boosted enemy

Numberoptional
Typetype

Enemy type as categorized in the Monster Fibula. This value is also used to display the corresponding icon in the header.

Default
Unknown
Contentrequired
Sub typesubtype

Sub type as given in the Monster Fibula

Default
Unknown
Stringrequired
Max HPHP

Value of enemy max HP

Default
Unknown
Numberrequired
Boosted max HPbHP

Value of boosted enemy max HP

Numberoptional
Attackatk

Value of enemy attack

Default
Unknown
Numberrequired
Boosted attackbatk

Value of boosted enemy attack

Numberoptional
Defensedef

Value of enemy defense

Default
Unknown
Numberrequired
Boosted defensebdef

Value of boosted enemy defense

Numberoptional
Focusfoc

Value of enemy focus

Default
Unknown
Numberrequired
Boosted focusbfoc

Value of boosted enemy focus

Numberoptional
Heat resistanceheat

Value of enemy heat resistance

Numberoptional
Cold resistancecold

Value of enemy cold resistance

Numberoptional
Shock resistanceshock

Value of enemy shock resistance

Numberoptional
Wave resistancewave

Value of enemy wave resistance

Numberoptional
EXPEXP

Amount of EXP awarded upon enemy's defeat at the same level

Default
Unknown
Numberrequired
Boosted EXPbEXP

Amount of EXP awarded upon boosted enemy's defeat at the same level

Default
Unknown
Numberoptional
Creditscredits

Number of credits awarded upon enemy's defeat

Default
Unknown
Numberrequired
Boosted creditsbcredits

Number of credits awarded upon boosted enemy's defeat

Numberoptional
Dropsdrops

table of items the enemy can drop

Default
None
Contentoptional