This is the template test cases page for the sandbox of Template:Template sandbox notice. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Note: subpage-name
is automatically added here to prevent suppressing the display of this template.
Basic Usage
edit- Code
{{Template sandbox notice}}
- Main template
This is the template sandbox page for Template:Template sandbox notice (diff). See also the companion subpage for test cases. |
- Sandbox
This is the template sandbox page for Template:Template sandbox notice (diff | sync). See also the companion subpage for test cases. |
With 1=
parameter
edit
- Code
{{Template sandbox notice|Template:Quote}}
- Main template
This is the template sandbox page for Template:Quote (diff). See also the companion subpage for test cases. |
- Sandbox
This is the template sandbox page for Template:Quote (diff | sync). See also the companion subpage for test cases. |
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
This is the template sandbox page for Template:Template sandbox notice (diff). See also the companion subpage for test cases. |
Notice when on sandbox |
- Sandbox
This is the template sandbox page for Template:Template sandbox notice (diff | sync). See also the companion subpage for test cases. |
Notice when on sandbox |
If not on sandbox
edit- Main Template
Notice when not in sandbox |
- Sandbox
Notice when not in sandbox |
Test case name
edit- Code
{{Template sandbox notice|testcases-name=}}
- Main template
This is the template sandbox page for Template:Template sandbox notice (diff). See also the companion subpage for test cases. |
- Sandbox
This is the template sandbox page for Template:Template sandbox notice (diff | sync). See also the companion subpage for test cases. |
Using subpagename
edit- Code
{{Template sandbox notice|subpage-name={{SUBPAGENAME}}}}
- Main template
This is the template sandbox page for Template:Template sandbox notice (diff). See also the companion subpage for test cases. |
- Sandbox
This is the template sandbox page for Template:Template sandbox notice (diff | sync). See also the companion subpage for test cases. |
Without subpagename
edit
- Code
{{Template sandbox notice}}
- Main template
- Sandbox