Figure with caption and credit
How it looks (preview)
How to call this example
<%= render "components/figure", {
src: "https://assets.publishing.service.gov.uk/government/uploads/system/uploads/feature/image/54374/s630_the_lords_chamber.jpg",
caption: "The Lords Chamber",
credit: "Wallis Crankled"
} %>