Template:Template sandbox notice/doc

From Taijitu
Jump to: navigation, search

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 Wikipedia:Protection policy:

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

Documentation example

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

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}}
{{pp-semi-template|small=yes}}
}}
<!-- 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

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-protected}}
{{pp-template}}
{{pp-usertalk}}
{{pp-vandalism}}
{{pp-semi-protected}}
{{pp-semi-sock}}
{{pp-semi-spambot}}
{{pp-semi-template}}
{{pp-semi-usertalk}}
{{pp-semi-vandalism}}
<!-- protection templates, just icon -->
{{pp-dispute|small=yes}}
{{pp-office|small=yes}}
{{pp-move|small=yes}}
{{pp-protected|small=yes}}
{{pp-template|small=yes}}
{{pp-usertalk|small=yes}}
{{pp-vandalism|small=yes}}
{{pp-semi-protected|small=yes}}
{{pp-semi-sock|small=yes}}
{{pp-semi-spambot|small=yes}}
{{pp-semi-template|small=yes}}
{{pp-semi-usertalk|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 -->
<!-- keep just one: {{ Documentation }} OR {{ Documentation, template }} -->
{{ Documentation }}
{{ Documentation, template }}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude>

See also