Actions

Template

Template sandbox notice

From Joomla! Documentation


notice-not-sandbox

[view] [edit] [history]

Template-info.pngTemplate documentation

Contents

This template supports Wikipedia:Template test cases.

Usage

Mininum example

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

Location specific notice example

<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

This example partially implements Project:Protection policy:

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

Documentation example

This example implements Project:Template documentation:

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

Super deluxe example

This example supports Project:Template documentation and Project: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}}
{{pp-semi-template|small=yes}}
}}
<!-- upper notice for everywhere goes here -->
</noinclude><!-- template code goes here --><noinclude>
<!-- lower notice for everywhere goes here -->
<!-- {{ Documentation }} goes here -->
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude>

Copy, paste & delete

The following example supports copying, pasting and deleting:

<noinclude>
{{ Template sandbox notice
|notice-for-sandbox=
|notice-not-sandbox=
<!-- protection templates, message box -->
{{pp-move}}
{{pp-protected}}
{{pp-template}}
{{pp-vandalism}}
{{pp-semi-protected}}
{{pp-semi-template}}
{{pp-semi-vandalism}}
<!-- protection templates, just icon -->
{{pp-move|small=yes}}
{{pp-protected|small=yes}}
{{pp-template|small=yes}}
{{pp-vandalism|small=yes}}
{{pp-semi-protected|small=yes}}
{{pp-semi-template|small=yes}}
{{pp-semi-vandalism|small=yes}}
<!-- protection templates, stop deleting, keep next line -->
}}
<!-- upper notice for everywhere goes here -->
</noinclude>template<noinclude>
<!-- lower notice for everywhere goes here -->
{{ Documentation }}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude>

See also