Template sandbox notice
From Joomla! Documentation
This documentation is transcluded from Template:Template sandbox notice/doc.
To discuss this template as a whole, please see JDOC:WTP. If you wish to discuss general wordings, rather than the wording or formatting of this specific template, don't post here, or else what you say will probably go unnoticed.
This template supports Wikipedia:Template test cases.
Usage[edit]
Mininum example[edit]
<noinclude> {{ Template sandbox notice }} </noinclude><!-- template code goes here -->
Location specific notice example[edit]
<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[edit]
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[edit]
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[edit]
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[edit]
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>