${[
d.arcana ? `${d.arcana} arcana` : '',
d.suit ?? '',
d.number !== undefined && d.number !== null
? `no. ${d.number}`
: '',
]
.filter(Boolean)
.join(' · ')}
${d.name ?? 'Tarot card'}
${renderTablist({
items: [
{ id: 'upright', label: this.t('Upright') },
{ id: 'reversed', label: this.t('Reversed') },
],
active: this.orientation,
onSelect: (id) => {
this.orientation = id;
},
label: this.t('Card orientation'),
idPrefix: 'tarot',
controls: true,
})}
${oriented?.description && readings ? html`
${oriented.description}
` : nothing}
${
keywords.length > 0 && readings
? html`
${keywords.map((k) => html`${k}`)}
`
: nothing
}
${this.renderGuidance(oriented, `tarot-${this.orientation}-guidance`)}