This page is protected against editing.

Template:Test

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Please experiment in the sandbox

العربية  বাংলা  čeština  dansk  Deutsch  Deutsch (Sie-Form)  English  español  فارسی  suomi  français  Frysk  עברית  हिन्दी  magyar  íslenska  italiano  日本語  한국어  македонски  മലയാളം  norsk bokmål  Nederlands  norsk nynorsk  norsk  occitan  polski  português  русский  sicilianu  slovenščina  svenska  Türkçe  українська  Tiếng Việt  简体中文  繁體中文  +/−
float 
An edit you made seemed to be a test, and has been reverted or removed. Please use the sandbox for any other tests you want to do. Feel free to visit the community portal if you would like to learn more about contributing. Thank you!
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Test/doc.

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>JSON</templatedata> ./. {{TemplateBox}}
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 TemplateDataCommons-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:”.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
page1

Page the test was conducted on

Page nameoptional
difflink2 diff

Difflink for the test edit

URLoptional

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

العربية  বাংলা  čeština  dansk  Deutsch  Deutsch (Sie-Form)  English  español  فارسی  suomi  français  Frysk  עברית  हिन्दी  magyar  íslenska  italiano  日本語  한국어  македонски  മലയാളം  norsk bokmål  Nederlands  norsk nynorsk  norsk  occitan  polski  português  русский  sicilianu  slovenščina  svenska  Türkçe  українська  Tiếng Việt  简体中文  繁體中文  +/−

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>