Outils pour utilisateurs

Outils du site


en:yaml:options

Différences

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

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
en:yaml:options [2026/05/07 03:16] – Documentation interactions YAML cyrilfiestaen:yaml:options [2026/07/06 00:35] (Version actuelle) – maj 4.13 : modes d'interface + corrections cyrilfiesta
Ligne 71: Ligne 71:
 Accepted values: ''before'' or ''after''. Default: ''after''. Accepted values: ''before'' or ''after''. Default: ''after''.
  
 +
 +===== ui: - interface mode (v4.13) =====
 +
 +Changes the game interface on the player side: ''cards'', ''fullscreen'', ''deck'', ''phone''. The key exists at scenario level and at room level, as does ''hide_input:'' which controls the command bar. Details on [[en:ui:presentation|Interface modes]].
 +
 +<code yaml>
 +ui: cards
 +hide_input: false
 +</code>
 +
 +Phone mode adds two header keys: ''phone_home:'' (room of the Home button) and ''phone_shape:'' (portrait, landscape, tablet) - see [[en:ui:phone|Phone mode]].
 +
 +===== Direct launch URL =====
 +
 +A scenario can be launched directly from a URL, without going through the home page:
 +
 +<code>
 +https://jdr-bot.cyril-fiesta.fr/?play=scenarioname
 +https://jdr-bot.cyril-fiesta.fr/?play=scenarioname&lang=en
 +</code>
 +
 +  * Automatic resolution: ''.yaml'' first, then ''.txt'' - no extension needed
 +  * Official ''scenarios/'' folder only
 +  * ''&lang=en'' launches the English version directly (interface and catalogue included) - v4.13
 +  * Ideal for direct share links in announcements or presentation pages
  
 ===== show-type: ===== ===== show-type: =====
en/yaml/options.1778116577.txt.gz · Dernière modification : de cyrilfiesta