Outils pour utilisateurs

Outils du site


en:ui:deck

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

en:ui:deck [2026/07/06 00:13] – maj 4.13 : modes d'interface + corrections cyrilfiestaen:ui:deck [2026/07/15 01:41] (Version actuelle) – maj 4.13 : modes d'interface + corrections cyrilfiesta
Ligne 36: Ligne 36:
  
 Every button type can be a direction: navigation, events with ''button:'', custom actions. A long label wraps over several lines inside its pill. Every button type can be a direction: navigation, events with ''button:'', custom actions. A long label wraps over several lines inside its pill.
 +
 +===== Setting a direction =====
 +
 +By default, choices take the available slots in left, right, up, down order. The ''direction:'' key reserves a specific side. It accepts ''left'', ''right'', ''up'', ''down'', as well as ''west'', ''east'', ''north'' and ''south''.
 +
 +<code yaml>
 +choices:
 +  - button: "Go north"
 +    direction: north
 +    to: gallery
 +  - button: "Retrace your steps"
 +    to: entrance       # takes the first remaining direction
 +</code>
 +
 +The key also works on an event or custom action that has a ''button:''. The linter reports unknown values.
  
 ===== Artwork and card backs ===== ===== Artwork and card backs =====
en/ui/deck.txt · Dernière modification : de cyrilfiesta