This template supports Wikipedia:Template test cases.

Mininum example

baguhin
<noinclude>
{{ Template sandbox notice }}
</noinclude><!-- template code goes here -->

Location specific notice example

baguhin
<noinclude>
{{ Template sandbox notice
|notice-for-sandbox={{ambox|text=This is a sandbox.|type=notice}}
|notice-not-sandbox={{ambox|text=This is elsewhere.|type=content}}
}}
<!-- notice for everywhere goes here -->
</noinclude><!-- template code goes here -->

Protection template example

baguhin

This example partially implements Wikipedia:Protection policy:

<noinclude>
{{ Template sandbox notice
|notice-not-sandbox=
}}
</noinclude><!-- template code goes here -->

Documentation example

baguhin

This example implements Wikipedia:Template documentation:

<noinclude>
{{ Template sandbox notice }}
<!-- upper notice goes here -->
</noinclude><!-- template code goes here --><noinclude>
<!-- lower notice goes here -->
<!-- {{ Documentation }} OR {{ Documentation, template }} goes here -->
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude>

Super deluxe example

baguhin

This example supports Wikipedia:Template documentation and Wikipedia:Protection policy:

<noinclude>
{{ Template sandbox notice
|notice-for-sandbox={{ambox|text=This is a sandbox.|type=notice}}
|notice-not-sandbox={{ambox|text=This is elsewhere.|type=content}}

}}
<!-- upper notice for everywhere goes here -->
</noinclude><!-- template code goes here --><noinclude>
<!-- lower notice for everywhere goes here -->
<!-- {{ Documentation }} OR {{ Documentation, template }} goes here -->
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude>

Copy, paste & delete

baguhin

The following example supports copying, pasting and deleting:

<noinclude>
{{ Template sandbox notice
|notice-for-sandbox=
|notice-not-sandbox=
<!-- protection templates, message box -->
{{pp-dispute}}
{{pp-office}}
{{pp-move}}


{{pp-usertalk}}







<!-- protection templates, just icon -->
{{pp-dispute|small=yes}}
{{pp-office|small=yes}}
{{pp-move|small=yes}}


{{pp-usertalk|small=yes}}







<!-- protection templates, stop deleting, keep next line -->
}}
<!-- upper notice for everywhere goes here -->
</noinclude>template<noinclude>
<!-- lower notice for everywhere goes here -->
<!-- keep just one: {{ Documentation }} OR {{ Documentation, template }} -->
{{ Documentation }}
{{ Documentation, template }}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude>

See also

baguhin