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

Prochaine révision
Révision précédente
en:ui:deck [2026/07/06 00:13] – maj 4.13 : modes d'interface + corrections cyrilfiestaen:ui:deck [2026/08/31 20:50] (Version actuelle) – Wiki : fins de pages homogènes, liens Discord retirés 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 =====
Ligne 60: Ligne 75:
   * The ''test-ui-deck'' demo scenario shows 12 illustrated cards with gauges.   * The ''test-ui-deck'' demo scenario shows 12 illustrated cards with gauges.
  
-See also: [[en:ui:presentation|Interface modes]], [[en:ui:cards|Cards mode]], [[en:yaml:hud|HUD panels]].+===== See also =====
  
-**Join us on [[https://discord.gg/Z63DtVV|Discord Make&Play]]**+  [[en:ui:presentation|Interface modes]] 
 +  * [[en:ui:cards|Cards mode]] 
 +  [[en:yaml:hud|HUD panels]]
  
en/ui/deck.1783289594.txt.gz · Dernière modification : de cyrilfiesta