diff --git a/docs/user-documentation/general-admin-users/custom-database-queries.md b/docs/user-documentation/general-admin-users/custom-database-queries.md
index 2ca5b92e9c7d69e42e6bfdaf6f33a7e2af757579..31aa44f9b2b1ff8a772ce3791a48524f43a55d6a 100644
--- a/docs/user-documentation/general-admin-users/custom-database-queries.md
+++ b/docs/user-documentation/general-admin-users/custom-database-queries.md
@@ -234,10 +234,8 @@ the SQL statement should be one of the following **magic** words:
 .. warning::
     **Be careful with this feature**: The table is shown with the hyperlinks even if the value isn't a perm ID of specified type.
 
-.. warning::
-
-   Do *not* use the directives :dudir:`sectnum`, :dudir:`header` and
-   :dudir:`footer`.
+> [!WARNING]  
+> Critical content demanding immediate user attention due to potential risks.
 
 ### Edit a Query