This repo contains the code for The Codex Mythica, a database of all of the cards released for the Mythic Wars card game, written in NodeJS (using the Express 4 library).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
755 B

<% if (typeof card !== 'undefined' && typeof random_num !== 'undefined') { %>
<a href="/cards/<%= card.num.toLowerCase() %>"
class="randomLink" title="Tap or click to learn about <%= %>'s card!">
<h3 class="randomLink-title">Random Card: <></h3>
src="/images/thumb/<%= card.num.toLowerCase() %>_<%= card.name_ang %>.jpg"
alt="Card image for <>"
class="card-image" />
<span class="card-randomLink-wrapper">
Tap or click to learn more
<p class="randomWrapper">
<a href="/?r<%=random_num%>">&#x21bb; reload the page for a different card.</a>
<% } %>