Template:Test
Please experiment in the sandbox
This template can be used on user talk pages to warn users about test edits conducted on actual pages instead of the sandbox. It must be used with “subst:”.
Usage
{{subst:Test |1= |2= }}
Template parameters
- TemplateData
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.
Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either useTemplateData=1
or useTemplateData=only
on the /doc
subpage and transcluding it with {{Documentation}} into the template. <nowiki>
-tags can be wrapped around the arguments, if required, to avoid templates being expanded.
Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>
-tags into the Wikitext of the template, as described in various Wikipediae.
Wikipedia's help about TemplateData • Commons-specific information
This template can be used on user talk pages to warn users about test edits conducted on actual pages instead of the sandbox. It must be used with “subst:”.
Parameter | Description | Type | Status | |
---|---|---|---|---|
page | 1 | Page the test was conducted on | Page name | optional |
difflink | 2 diff | Difflink for the test edit | URL | optional |
Additional information
The template is intended to be used in the following namespaces: the User talk namespace
The template is intended to be used by the following user groups: all users
Placement: At the bottom of the page
Localization
This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:Test/layout.
To add your language to the list of languages supported by this template, please copy the code of Template:Test/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang
from en
(or whatever language you are translating) to the language code of your language.
To create a new language version of this template, create a new subpage and use this code:
{{test/layout |lang={{subst:SUBPAGENAME}} |text=Thanks for experimenting with the Commons. Your {{#if:{{{2|}}}|[{{{2|}}} test]|test}} {{#if:{{{1|}}}|on ''[[:{{{1}}}]] ''}}worked, and has been reverted or removed; please use [[Commons:Sandbox|the sandbox]] for any other tests you want to do. Feel free to visit the [[Commons:Community portal|community portal]] if you would like to learn more about contributing. Thank you! }}<noinclude> {{translated tag|user}} </noinclude>
For the heading to be translated, please also add a /heading/<langcode> subpage with the translation for:
Please experiment in the sandbox<noinclude> {{Translated tag|user}} </noinclude>