Template:Template sandbox notice/testcases

Note: subpage-name is automatically added here to prevent suppressing the display of this template.

Basic Usage

edit
Code

{{Template sandbox notice}}

Main template
Sandbox

With 1= parameter

edit
Code

{{Template sandbox notice|Template:Quote}}

Main template
Sandbox

Conditional notice code

edit
Code
{{Template sandbox notice
|notice-for-sandbox={{ombox|text=Notice when on sandbox|type=notice}}
|notice-not-sandbox={{ombox|text=Notice when not in sandbox|type=move}}
}}

If on sandbox

edit
Main Template
Sandbox

If not on sandbox

edit
Main Template
Sandbox

Test case name

edit
Code

{{Template sandbox notice|testcases-name=}}

Main template
Sandbox

Using subpagename

edit
Code

{{Template sandbox notice|subpage-name={{SUBPAGENAME}}}}

Main template
Sandbox

Without subpagename

edit
Code

{{Template sandbox notice}}

Main template


Sandbox