world-game/site/blueprints/pages/game.yml
2026-01-14 17:17:19 +01:00

107 lines
2.5 KiB
YAML

title: Jeu
icon: play
# status:
# draft:
# label: Brouillon
# text: Le jeu n'est pas visible
# unlisted:
# label: Non listé
# text: Le jeu est accessible mais pas dans la liste
# listed:
# label: Publié
# text: Le jeu est visible publiquement
columns:
# Colonne principale
- width: 2/3
sections:
# Informations principales
info:
type: fields
fields:
description:
label: Description
type: writer
marks:
- bold
- italic
- underline
- strike
- green
- pixel
# Sidebar
- width: 1/3
sections:
# Visuel
visual:
type: fields
fields:
thumbnail:
label: Vignette
type: files
layout: cards
size: small
max: 1
accept: image/*
translate: false
image:
ratio: 1/1
uploads:
template: image
help: Petite image carrée représentant le jeu
background_image:
label: Image d'arrière plan
type: files
layout: cards
max: 1
accept: image/*
translate: false
image:
ratio: 16/9
cover: true
uploads:
template: image
help: Image affichée en arrière-plan quand le jeu est sélectionné
badge:
label: Badge
type: tags
max: 1
translate: false
options:
- NEW
- Populaire
help: Choisissez une suggestion ou tapez votre propre badge
# Statut
status:
type: fields
fields:
game_status:
label: Statut du jeu
type: select
required: true
default: available
translate: false
options:
available: Disponible
coming_soon: Bientôt disponible
maintenance: En maintenance
# Liens
links:
type: fields
fields:
play_links:
label: Lien(s) pour jouer
type: structure
fields:
link_label:
label: Nom du bouton
type: text
width: 1/2
placeholder: "Ex: App Store, Site web..."
link_url:
label: URL
type: url
width: 1/2