This commit is contained in:
Forrest Church 2026-09-27 12:11:54 -04:00
parent 85f6808820
commit 4bd266844f
5 changed files with 240 additions and 111 deletions

View file

@ -2,8 +2,11 @@
Avatar-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.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 = number of hardware ports (shown on the gold PORTS badge).
Ability = the Avatar's activated power: name + RAM 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}}">
@ -39,7 +42,29 @@
<!-- 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 RAM cost">
<b>{{card.[ability-cost]}}</b>
<i>RAM</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>