<%# Use this partial with <% render partial: this, locals: { content_type: Character } %> <% content_name = content_type.name.downcase %> <%= link_to send("#{content_name}_worldbuilding_info_path"), class: 'black-text' do %>
<%= image_tag "card-headers/#{content_name.pluralize}.webp", height: 300, width: 300, style: 'object-fit: cover' %>

Create <%= content_name == "magic" ? 'magic' : content_name.pluralize %>

<%= t("content_descriptions.#{content_name}") %>

<% end %>