In Overleaf, commands such as \begin{figure} and \begin{table} will automatically add a template after using the auto-complete option, such as:
\begin{table}[]
\centering
\begin{tabular}{c|c}
& \\
&
\end{tabular}
\caption{Caption}
\label{tab:my_label}
\end{table}
My question is if it is possible to change these templates?
For example, I want to use \begin{tabularx} instead, and put the \caption above the table.