{{!-- SPDX-FileCopyrightText: 2025 Alexander Minges SPDX-License-Identifier: MIT --}} {{!-- !-- Waypoint label template with color-coded movement ranges !-- Based on DS4 movement combat values --}}
{{#if (eq rangeClass "dash-range")}} {{else if (eq rangeClass "out-of-range")}} {{else if action.icon}} {{else if action.label}} {{localize action.label}} {{/if}} {{#if cost}} {{cost.total}} {{cost.units}} {{#if cost.delta}} ({{cost.delta}}) {{/if}} {{else}} {{distance.total}} {{units}} {{#if distance.delta}} ({{distance.delta}}) {{/if}} {{/if}} {{#if (and elevation (not elevation.hidden))}} {{elevation.total}} {{units}} {{#if elevation.delta}} ({{elevation.delta}}) {{/if}} {{/if}} {{#if secret}} {{/if}}