files-tcg/decks/files-deck-1/anomaly-front.html
2026-10-01 17:20:33 -04:00

78 lines
2.8 KiB
HTML

<!--
Anomaly-Front template — full-bleed cyber HUD unit card
Card size: 750 x 1050 px (2.5in x 3.5in @ 300 DPI)
Attributes: {{card.name}} {{card.image}} {{card.cores}} {{card.health}} {{card.type}} {{card.description}} {{card.[expansion-slots]}}
{{card.[ability-name]}} {{card.[ability-cost]}} {{card.[ability-description]}}
Cores = CPU-core chip (top-left), accent driven by Type (V/B/G/P).
Expansion Slots = how much Hardware it holds (shown on the SLOTS badge, top-right).
Health = damage that destroys the Anomaly (HEALTH badge with a pulse line, under SLOTS).
Ability = the Anomaly's activated power: name + Bandwidth cost chip, then its rules text.
Text section order (top to bottom): name, ability, description.
The gold expansion bus (bottom) mirrors the Hardware card edge connector — hardware plugs in here.
-->
<div class="card type-{{lowercase card.type}}">
<!-- Full-bleed art + cinematic tint -->
<div class="art"></div>
<div class="tint"></div>
<div class="scan"></div>
<!-- Angular neon HUD frame -->
<div class="neon"></div>
<span class="tick tl"></span>
<span class="tick tr"></span>
<!-- Top-left: cores (CPU chip) + type glyph -->
<div class="core"><span class="core-count">{{card.cores}}</span></div>
<div class="typechip">{{card.type}}</div>
<!-- Top-right: unit tab -->
<div class="unit-tab">ANOMALY</div>
<!-- Slots badge: hardware capacity (Expansion Slots) -->
<div class="slots">
<span class="plug"></span>
<b>{{card.[expansion-slots]}}</b>
<i>SLOTS</i>
</div>
<!-- Health badge: damage it takes to destroy this Anomaly -->
<div class="health">
<span class="pulse"></span>
<b>{{card.health}}</b>
<i>HEALTH</i>
</div>
<!-- Edge micro-text -->
<div class="vcode">FILES-TCG · SD01</div>
<div class="vcredit">{{#if (eq card.type "V")}}VIRUS{{/if}}{{#if (eq card.type "B")}}BUG{{/if}}{{#if (eq card.type "G")}}GLITCH{{/if}}{{#if (eq card.type "P")}}PATCH{{/if}}-CLASS UNIT</div>
<!-- Lower content panel -->
<div class="lower">
<h1 class="name">{{card.name}}</h1>
<!-- Ability: shown directly under the name, before the description -->
{{#if card.[ability-name]}}
<div class="ability">
<div class="ability-head">
<span class="ability-name">{{card.[ability-name]}}</span>
{{#if card.[ability-cost]}}
<span class="ability-cost" title="Ability Bandwidth cost">
<b>{{card.[ability-cost]}}</b>
<i>Gb</i>
</span>
{{/if}}
</div>
{{#if card.[ability-description]}}
<div class="ability-desc">{{card.[ability-description]}}</div>
{{/if}}
</div>
{{/if}}
<!-- Description: bottom of the text section -->
{{#if card.description}}
<div class="desc">{{card.description}}</div>
{{/if}}
</div>
</div>