Template:Adversary: Difference between revisions

From Velthuryn
No edit summary
No edit summary
Line 24: Line 24:
   <div class="vh-card__stats">
   <div class="vh-card__stats">
     <div class="vh-card__stats-row">
     <div class="vh-card__stats-row">
      {{#if: {{{difficulty|}}} |
  {{#if:{{{difficulty|}}}|<span class="vh-stat"><strong>Difficulty:</strong> {{{difficulty}}}</span>{{#set:Has difficulty={{{difficulty}}}}}}}
        <span class="vh-stat"><strong>Difficulty:</strong> {{{difficulty}}}</span>
  {{#if:{{{major_threshold|}}}|{{#if:{{{difficulty|}}}|<span class="vh-sep" aria-hidden="true"></span>}}<span class="vh-stat"><strong>Thresholds:</strong> {{{major_threshold}}} / {{{severe_threshold}}}</span>{{#set:Has major threshold={{{major_threshold}}}|Has severe threshold={{{severe_threshold}}}}}}}
        {{#set:Has difficulty={{{difficulty}}}}}
  {{#if:{{{hit_points|}}}|{{#if:{{{difficulty|}}}{{{major_threshold|}}}|<span class="vh-sep" aria-hidden="true"></span>}}<span class="vh-stat"><strong>HP:</strong> {{{hit_points}}}</span>{{#set:Has hit points={{{hit_points}}}}}}}
      }}
  {{#if:{{{stress|}}}|{{#if:{{{difficulty|}}}{{{major_threshold|}}}{{{hit_points|}}}|<span class="vh-sep" aria-hidden="true"></span>}}<span class="vh-stat"><strong>Stress:</strong> {{{stress}}}</span>{{#set:Has stress={{{stress}}}}}}}
      {{#if: {{{major_threshold|}}} |
</div>
        <span class="vh-sep" aria-hidden="true"></span>
        <span class="vh-stat"><strong>Thresholds:</strong> {{{major_threshold}}} / {{{severe_threshold}}}</span>
        {{#set:Has major threshold={{{major_threshold}}} |Has severe threshold={{{severe_threshold}}}}}
      }}
      {{#if: {{{hit_points|}}} |
        <span class="vh-sep" aria-hidden="true"></span>
        <span class="vh-stat"><strong>HP:</strong> {{{hit_points}}}</span>
        {{#set:Has hit points={{{hit_points}}}}}
      }}
      {{#if: {{{stress|}}} |
        <span class="vh-sep" aria-hidden="true"></span>
        <span class="vh-stat"><strong>Stress:</strong> {{{stress}}}</span>
        {{#set:Has stress={{{stress}}}}}
      }}
    </div>


    {{#if: {{{attack|}}} |
      <div class="vh-card__stats-row">
        <span class="vh-stat"><strong>Attack:</strong> {{{attack}}}</span>
        {{#set:Has attack={{{attack}}}}}
      </div>
    }}
    {{#if: {{{experience|}}} |
      <div class="vh-card__divider" aria-hidden="true"></div>
      <div class="vh-card__stats-row">
        <span class="vh-stat"><strong>Experience:</strong> {{{experience}}}</span>
        {{#set:Has experience={{{experience}}}}}
      </div>
    }}
   </div>
   </div>



Revision as of 22:49, 23 December 2025


Semantic “card” adversary template for Velthuryn.

Usage

{{Adversary
 |name=Acid Burrower
 |tier=1
 |adversary_type=Solo
 |description=A horse-sized insect with digging claws and acidic blood.
 |motives=Burrow, drag away, feed
 |tactics=Reposition
 |difficulty=14
 |major_threshold=8
 |severe_threshold=15
 |hit_points=8
 |stress=3
 |attack=+3 (Claws, Very Close) 1d12+2 phy
 |experience=Tremor Sense +2
 |features=
* ''<strong>Relentless (3) – Passive:</strong>'' The Burrower can be spotlighted up to three times per GM turn.
* ''<strong>Earth Eruption – Action:</strong>'' Mark a <strong>Stress</strong> to burst out of the ground…
}}

Tip: put each feature as a bullet. Your CSS can apply hanging-indent to .vh-card__features li.