Below are test cases of the current live template vs. the current sandbox template. (Note that a local /testcases/sandbox has been created to allow the detection script to work in optimal conditions. Testing the template in any general WP:SANDBOX will allow to test how it works with its default message.)

Default edit

{{Intricate template}}

{{Intricate template/sandbox}}

Edit notice edit

{{Intricate template}}

{{Intricate template/sandbox}}