In order to replace if tests such as
The FreeMarker sheets need to have access to the game mode name. It is proposed that this be exposed as a variable gamemodename which has the text content of the name of the game mode. This can then be used as ${gamemodename} or