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-cardcontent builderplugin.Plugin ID
raspberry-mint-entity-cardClass
Configuration
- __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
Noneto prevent anything from being rendered at all.
- new = <betty.requirement._RequirableDecorator object>¶
- classmethod new_data_cls() type[EntityReference]¶
The object’s defined data class.