2022-07-26 17:22:04 -07:00
{% extends "base.html" %}
2022-08-04 23:47:16 -07:00
{% import "macros.html" as macros %}
2022-07-26 17:22:04 -07:00
{% block title %}{{ article.title|capitalize }} - {{SITENAME}}{% endblock title %}
2022-08-07 14:12:55 -07:00
{% block summary %}{{ article.summary|striptags }}{% endblock %}
{% block key_image %}{{ macros.key_image(article) }}{% endblock key_image %}
2022-07-26 17:22:04 -07:00
{% block content %}
{% set r = article.metadata.region %}
< section id = "content" >
< div class = 'box curled' >
< h2 class = "entry-title" > < a href = "{{ SITEURL }}/{{ article.url }}" rel = "bookmark" title = "Permalink to {{ article.title|striptags }}" > {{ article.title }}< / a > < / h2 >
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(article) }}
< hr >
< div class = 'byline' >
< span class = 'date' > {{ article.locale_date }}< / span > {% if article.tags %}{% for tag in article.tags %}< a href = "{{ SITEURL }}/{{ tag.url }}" > {{ tag }}< / a > {% endfor %}{% endif %}
< / div >
2023-06-11 21:33:56 -07:00
{% if article.description or article.thumbnail %}
< div class = 'scrap' >
< div class = 'note' >
< a href = '{{article.thumbnail}}' > < img src = '{{article.thumbnail}}' > < / a >
{{ article.description or '' }}
< / div >
< / div >
2022-07-26 17:22:04 -07:00
{% endif %}
{{ article.content }}
2022-08-04 23:47:16 -07:00
{% set target = article.title.replace(' ', '_') %}
2022-08-07 14:12:55 -07:00
{% if self.is_dm() or article.show_dm_content %}
2023-12-16 11:55:58 -08:00
< div class = 'location statblock' >
2022-08-04 23:47:16 -07:00
< div style = 'cursor: pointer;'
onclick="document.getElementById('{{target}}').style.display=((document.getElementById('{{ target }}').style.display=='none')?'':'none');" >< h3 > {{ article.title }}< / h3 > < / div >
< div id = "{{ target }}" style = 'display:none;' >
< div class = 'read' >
2022-08-07 11:57:35 -07:00
{{ r.dm_notes }}
2022-07-26 17:22:04 -07:00
< / div >
2022-08-04 23:47:16 -07:00
< dl >
< dt > Size< / dt > < dd > {{ r.size }} sq. miles < / dd >
2023-06-11 21:33:56 -07:00
< dt > Terrain< / dt > < dd > {{ r.terrain }} (walking: {{ r.size / (10 if r.terrain == 'difficult' else 20) |round }} days)< / dd >
2022-08-06 21:22:47 -07:00
< dt > Regional Effects< / dt > < dd > {{ macros.table(r.regional_effects) }}< / dd >
< dt > Skill Challenges< / dt > < dd > {{ macros.table(r.skills, ['Skills', 'DC', 'Notes']) }}< / dd >
< dt > Encounters (CR {{r.cr}})< / dt > < dd > {{ macros.table(r.encounters, ['Roll', 'Difficulty']) }}< / dd >
< dt > Weather Effects< / dt > < dd > {{ macros.table(r.weather, ['Roll', None, 'Description', 'Effect']) }}< / dd >
2022-08-13 13:17:56 -07:00
< dt > Forage Table< / dt > < dd > {{ macros.table(r.forage_table, ['Roll', 'Name', 'Description', 'Rarity', 'Value']) }}< / dd >
2022-08-04 23:47:16 -07:00
< / dl >
2022-07-26 17:22:04 -07:00
< / div >
< / div >
2022-08-07 11:57:35 -07:00
{% endif %}
2022-07-26 17:22:04 -07:00
< hr >
{% include "bottom-nav.html" %}
< / div >
< / section >
{% endblock %}