Template:Enemy Card

From CrossCode Wiki
Jump to: navigation, search
Template-info.png Documentation

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

Usage[edit source]

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=
|credits=
|bcredits=
|drops=<!--{{ItemDrop|
{{ItemDrop/entry|name=|chance=|rank=}}}}-->
}}

Example[edit source]

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").

Organic Flamin' Hillkat
Red-meerkat-sprite.png
Location Location Autumn's Rise
Level 10 / 100
Type Organic
Sub Type Mammal
Stats
Max HP HP-Icon.png 390 / 111
Attack Atk-Icon.png 44 / 222
Defense Def-Icon.png 39 / 999
Focus Foc-Icon.png 46
Resistance Heat 50%
Cold -50%
Shock -99%
Wave 1%
Rewards
EXP EXP 45
Credits Credits 47 / 100
Drops
Item Chance Rank


Trade-bronze.pngHeadphone Scraps 12%
Rank-D-icon.png
Item-consumable-white.pngHi-Sandwich 8%
Rank-B-icon.png
{{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
|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[edit source]

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 RGB value of the quest's location. Defaults to black. Refer to {{Location Card}} for usage.

Available colors are #004F80, #BF5900, #5D6466, #8C7438, #00734F, #403380, and #801B47.
Default: #000000

Example:

color=#004F80
["#004F80" | "#BF5900" | "#5D6466" | "#8C7438" | "#00734F" | "#403380" | "#801B47"] 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" | "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

Default: Unknown

Example: no example

Number Required
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

1 {{ItemDrop}} 1 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