<div class="eds-c-card{{#if layoutVariant}} {{layoutVariant}}{{/if}}{{#if cardStretchHeight}} eds-c-card--stretch-height{{/if}}" 
	{{#each dataAttributes as |dataAttribute|}}
		data-{{dataAttribute.name}}="{{dataAttribute.value}}"
	{{/each}}
	>
	<article class="eds-c-card__container{{#if highlight}} eds-c-card__container--highlight{{/if}}{{#if noImage}} eds-c-card__container--no-image{{/if}}{{#if withImage}} eds-c-card__container--image{{/if}}{{#if withIcon}} eds-c-card__container--icon{{/if}}{{#if withMetadata}} eds-c-card__container--metadata{{/if}}">
		{{#if withImage}}
			{{> (lookup . 'template')}}
		{{else if withIcon}}
			{{> (lookup . 'template')}}
		{{else if withMetadata}}
			{{> (lookup . 'template')}}
		{{else}}
			{{#unless template}}
				{{> eds-c-cardBody }}
			{{/unless}}
		{{/if}}
	</article>
</div>
