${[
d.arcana ? arcanaText(this.effectiveLang(), d.arcana) : '',
d.suit ? suitText(this.effectiveLang(), d.suit) : '',
d.number !== undefined && d.number !== null
? this.t('no. {{number}}', { number: d.number })
: '',
]
.filter(Boolean)
.join(' · ')}
${d.name ?? this.t('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`)}