<figureclass="{{ if $widthish }} d-flex {{ end }} {{ with $float }} float-{{ . }} {{ end }} {{ if $widthish }} justify-content-{{ $horizontal }} {{ end }} {{ if $compact }} mb-0 {{ end }} {{ if $float }} {{ $sidemargin }} {{ end }} paige-figure {{ if $numbered }} paige-figure-numbered {{ end }}"{{ifand$float$style}}style="{{ $style | safeCSS }}"{{end}}>
<figureclass="{{ if $widthish }} d-flex {{ end }} {{ with $float }} float-{{ . }} {{ end }} {{ if $widthish }} justify-content-{{ $horizontal }} {{ end }} {{ if $compact }} mb-0 {{ end }} {{ if $float }} {{ $sidemargin }} {{ end }} paige-figure {{ if $numbered }} paige-figure-numbered {{ end }}"{{ifand$float$style}}style="{{ $style | safeCSS }}"{{end}}>
<div{{ifor$heightish$widthish}}class="{{ if $height }} d-flex flex-column justify-content-{{ $vertical }} {{ end }} overflow-auto"{{end}}{{ifand(not$float)$style}}style="{{ $style | safeCSS }}"{{end}}>
{{ if or $heightish $widthish (and (not $float) $style) }}
{{ if $table }}
<div{{ifor$heightish$widthish}}class="{{ if $height }} d-flex flex-column justify-content-{{ $vertical }} {{ end }} overflow-auto"{{end}}{{ifand(not$float)$style}}style="{{ $style | safeCSS }}"{{end}}>