{% extends "base.html" %} {% import "macros.html" as macros %} {% block title %}{{ article.title|capitalize }} - {{SITENAME}}{% endblock title %} {% block summary %}{{ article.summary|striptags }}{% endblock %} {% block key_image %}{{ macros.key_image(article) }}{% endblock key_image %} {% block content %} {% set m = article.metadata.monster %}

{{ article.title }}

{% import 'translations.html' as translations with context %} {{ translations.translations_for(article) }}
{% if article.description %}
{{ article.description }}
{% endif %} {% set target = article.title.replace(' ', '_') %} {% if self.is_dm() or article.show_dm_content %}

{{ article.title }}

{{m.size}} {{m.type}}{% if m.alignment %}, {{m.alignment}}{%endif%}

Armor Class {{ m.AC }}
Hit Points {{ m.HP }}
Speed {{ m.speed }}

STRDEXCONINTWISCHA
{{ m.STR }} {{ m.DEX }} {{ m.CON }} {{ m.INT }} {{ m.WIS }} {{ m.CHA }}

{% if m.saving_throws %}
Saving Throws {{ m.saving_throws }}
{% endif %} {% if m.skills %}
Skills {{ m.skills }}
{% endif %} {% if m.resistances %}
Damage Resistances {{ m.resistances }}
{% endif %} {% if m.vulnerabilities %}
Damage Vulnerabilities {{ m.vulnerabilities }}
{% endif %} {% if m.damage_immunities %}
Damage Immunities {{ m.damage_immunities }}
{% endif %} {% if m.condition_immunities %}
Condition Immunities {{ m.condition_immunities }}
{% endif %} {% if m.saving_throws %}
Senses {{ m.senses }}
{% endif %} {% if m.languages %}
Languages {{ m.languages }}
{% endif %} {% if m.cr %}
Challenge {{ m.cr }}
{% endif %}
{% for (attr_name, attr_desc) in m.attributes.items() %}
{{ attr_name }}. {{attr_desc}}
{% endfor %} {% for section in ('Actions', 'Reactions', 'Legendary Actions', 'Legendary Reactions', 'Lair and Actions') %} {% if section in m.traits %} {% set trait = m.traits[section] %} {% if 'attributes' in trait or 'options' in trait %}

{{ section }}

{% if trait.attributes %} {% for (attr_name, attr_desc) in trait.attributes.items() %}
{{ attr_name }}. {{attr_desc}}
{% endfor %} {% endif %} {% if trait.options %} {% for (attr_name, attr_desc) in trait.options.items() %}
{{ attr_name }}. {{attr_desc}}
{% endfor %} {% endif %} {% endif %} {% endif %} {% endfor %}
{% endif %} {{ article.content }}
{{ m.dm_notes }}

{% include "bottom-nav.html" %}
{% endblock %}