betty.content_builders.raspberry_mint_entity_card module

The entity card content plugin.

final class betty.content_builders.raspberry_mint_entity_card.EntityCard

Bases: Template, DataManufacturable[EntityReference]

A card featuring an entity.

The raspberry-mint-entity-card content builder plugin.

Plugin ID

raspberry-mint-entity-card

Class

EntityCard

Configuration

EntityReference

__init__(*, ancestry: EntityPool, entity: EntityReference, jinja: Environment)
async build_template(document: Document) TemplateBuild

Build template data.

Return a template name, a tuple of a template name and template date to render it. Return None to prevent anything from being rendered at all.

new = <betty.requirement._RequirableDecorator object>
classmethod new_data_cls() type[EntityReference]

The object’s defined data class.