Actions

Template

Template sandbox notice/doc

From Joomla! Documentation

< Template:Template sandbox notice
Revision as of 11:47, 9 May 2008 by CirTap (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a documentation subpage for Template:Template sandbox notice.
It contains usage information, categories and other content that is not part of the original template page.
To view the template page itself, see Template:Template sandbox notice.

This template supports Wikipedia:Template test cases.

Contents

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