From 1e31d218126f3a7c1dd628a4f1c42d7afae88ed0 Mon Sep 17 00:00:00 2001
From: Elias Pozewaunig <64259275+elpozewaunig@users.noreply.github.com>
Date: Fri, 22 Nov 2024 23:54:52 +0100
Subject: [PATCH] Added web export splash color variable documentation
Additionally linked to project settings exposed as placeholder variables
---
.../platform/web/customizing_html5_shell.rst | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/tutorials/platform/web/customizing_html5_shell.rst b/tutorials/platform/web/customizing_html5_shell.rst
index f8c02699f76..8cc954b573e 100644
--- a/tutorials/platform/web/customizing_html5_shell.rst
+++ b/tutorials/platform/web/customizing_html5_shell.rst
@@ -62,8 +62,10 @@ The only required placeholders are:
The following optional placeholders will enable some extra features in your custom HTML template.
- ``$GODOT_PROJECT_NAME``:
- The project name as defined in the Project Settings. It is a good idea to use it as a ``
``
- in your template.
+ The project name as defined in the
+ :ref:`Name ` setting
+ in **Project Settings > Application > Config**.
+ It is a good idea to use it as a ```` in your template.
- ``$GODOT_HEAD_INCLUDE``:
A custom string to include in the HTML document just before the end of the ```` tag. It
@@ -72,7 +74,14 @@ The following optional placeholders will enable some extra features in your cust
HTML ``head`` element from the Godot Editor, e.g. for different Web export presets.
- ``$GODOT_SPLASH``:
- Path to an image used as the boot splash as defined in the Project Settings.
+ The path to the image used as the boot splash as defined in the
+ :ref:`Image ` setting
+ in **Project Settings > Application > Boot Splash**.
+
+- ``$GODOT_SPLASH_COLOR``
+ The splash screen background color as defined in the
+ :ref:`BG Color ` setting
+ in **Project Settings > Application > Boot Splash**, converted to a hex color code.
When the custom page is ready, it can be selected in the export options under the *Html / Custom Html Shell*
section.