Template

Difference between revisions of "Card"

From Shadow Era Wiki

m
m
Line 1: Line 1:
<div style="float: left; width: 300px; margin-right: 20px;">
+
<div class="card-container">
   <img src="http://www.shadowera.com/cards/{{{FileName}}}.jpg" style="width: 102%; height: auto;">
+
   <div class="card-image">
 +
    <img src="http://www.shadowera.com/cards/{{{FileName}}}.jpg" alt="{{{Name}}}" style="width: 102%; height: auto;">
 +
  </div>
 +
  <div class="card-info">
 +
    <table border="1" cellpadding="1" cellspacing="1" class="wikitable" style="width: 100%; table-layout: fixed;">
 +
      <tr>
 +
        <th scope="row">Card No:</th>
 +
        <td>{{{Card_No}}}</td>
 +
      </tr>
 +
      <tr>
 +
        <th scope="row">Rarity:</th>
 +
        <td>{{{Rarity}}}</td>
 +
      </tr>
 +
      <tr>
 +
        <th scope="row">Name:</th>
 +
        <td>{{{Name}}}</td>
 +
      </tr>
 +
      <tr>
 +
        <th scope="row">Type:</th>
 +
        <td>{{{Type}}}</td>
 +
      </tr>
 +
      <tr>
 +
        <th scope="row">Cost:</th>
 +
        <td>{{{Cost}}}</td>
 +
      </tr>
 +
      <tr>
 +
        <th scope="row">ATK:</th>
 +
        <td>{{{ATK}}}</td>
 +
      </tr>
 +
      <tr>
 +
        <th scope="row">HP:</th>
 +
        <td>{{{HP}}}</td>
 +
      </tr>
 +
      <tr>
 +
        <th scope="row">Ability:</th>
 +
        <td>{{{Ability}}}</td>
 +
      </tr>
 +
      <tr>
 +
        <th scope="row">Flavor Text:</th>
 +
        <td>{{#if:{{{Flavor Text|}}} | {{{Flavor Text}}} }}</td>
 +
      </tr>
 +
    </table>
 +
  </div>
 
</div>
 
</div>
<div style="height: 13px;"></div>
 
<div style="overflow: hidden;">
 
  <table border="1" cellpadding="1" cellspacing="1" class="wikitable" style="width: 100%; table-layout: fixed;">
 
    <tr>
 
      <th scope="row">Card No:</th>
 
      <td>{{{Card_No}}}</td>
 
    </tr>
 
    <tr>
 
      <th scope="row">Rarity:</th>
 
      <td>{{{Rarity}}}</td>
 
    </tr>
 
    <tr>
 
      <th scope="row">Name:</th>
 
      <td>{{{Name}}}</td>
 
    </tr>
 
    <tr>
 
      <th scope="row">Type:</th>
 
      <td>{{{Type}}}</td>
 
    </tr>
 
    <tr>
 
      <th scope="row">Cost:</th>
 
      <td>{{{Cost}}}</td>
 
    </tr>
 
    <tr>
 
      <th scope="row">ATK:</th>
 
      <td>{{{ATK}}}</td>
 
    </tr>
 
    <tr>
 
      <th scope="row">HP:</th>
 
      <td>{{{HP}}}</td>
 
    </tr>
 
    <tr>
 
      <th scope="row">Ability:</th>
 
      <td>{{{Ability}}}</td>
 
    </tr>
 
    <tr>
 
      <th scope="row">Flavor Text:</th>
 
      <td>{{#if:{{{Flavor Text|}}} | {{{Flavor Text}}} }}</td>
 
    </tr>
 
  </table>
 
</div>
 
<br>
 

Revision as of 06:01, 10 September 2024

   {{{Name}}}
Card No: {{{Card_No}}}
Rarity: {{{Rarity}}}
Name: {{{Name}}}
Type: {{{Type}}}
Cost: {{{Cost}}}
ATK: {{{ATK}}}
HP: {{{HP}}}
Ability: {{{Ability}}}
Flavor Text: