Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:MobCard: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div class="mob-card" style="width: 250px; border: 1px solid #ccc; margin: 10px; padding: 10px; text-align: center; float: left; background: #f9f9f9; position: relative;">
<includeonly><div class="mob-card" style="width: 250px; border: 1px solid #ccc; margin: 10px; padding: 10px; text-align: center; float: left; background: #f9f9f9; position: relative;">
<div style="position: absolute; top: 10px; left: 10px; font-weight: bold; font-size: 0.9em; color: #cc0000; display: flex; align-items: center; gap: 4px;" title="Health">[[File:Icon_Health.png|16px|link=]] {{{health|?}}}</div>
<div style="position: absolute; top: 10px; left: 10px; font-weight: bold; font-size: 0.9em; color: #cc0000; display: flex; align-items: center; gap: 4px;" title="Health">[[File:Icon_Heart.png|16px|link=]] {{{health|?}}}</div>
<div style="position: absolute; top: 10px; right: 10px;" title="Category: {{{category|Hostile}}}">[[File:Icon_{{{category|Hostile}}}.png|24px|link=]]</div>
<div style="position: absolute; top: 10px; right: 10px;" title="Category: {{{category|Hostile}}}">[[File:Icon_{{{category|Hostile}}}.png|24px|link=]]</div>
<div style="font-weight: bold; font-size: 1.2em; color: {{{namecolor|inherit}}}; margin-top: 20px;">{{{name}}}</div>
<div style="font-weight: bold; font-size: 1.2em; color: {{{namecolor|inherit}}}; margin-top: 20px;">{{{name}}}</div>

Revision as of 18:25, 7 March 2026

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
namename

The display name of the mob.

Stringrequired
namecolornamecolor

The hex color code for the mob's name (e.g., #00FFFF).

Default
inherit
Stringoptional
imageimage

The filename of the mob's image.

Fileoptional
healthhealth

The health points of the mob.

Numberoptional
categorycategory

The behavior category of the mob. Automatically calls an icon file (e.g., Icon_Hostile.png).

Stringoptional
dangerdanger

The danger rating (number of stars).

Default
0
Numberoptional
dropsdrops

An HTML table of items dropped by the mob.

Contentoptional
[create] [purge]Documentation
This template has no documentation. If you know how to use this template, please create it.