This page is semi-protected against editing.

Template:Scriptuse

From Wikimedia Commons, the free media repository
(Redirected from Template:User script file)
Jump to navigation Jump to search

All images in this gallery or category are used by a MediaWiki tool, gadget, or user script.

Changes to these images will affect many users.
Please discuss any changes with the uploader or script maintainer first.

Please note: These images might be loaded dynamically so that there might be no direct links.

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Scriptuse/doc.

This template marks images that are used by scripts and tools.

The template automatically sets the following categories: Category:Images used by MediaWiki scripts

Usage

{{Scriptuse |1= }}

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 marks images that are used by scripts and tools.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
tools1

List of tools using the image(s)

Contentoptional

Additional information

The template is intended to be used in the following namespaces: the File namespace

The template is intended to be used by the following user groups: all users

Example

{{Scriptuse|example}}

renders as:

All images in this gallery or category are used by a MediaWiki tool, gadget, or user script.

Changes to these images will affect many users.
Please discuss any changes with the uploader or script maintainer first.

Please note: These images might be loaded dynamically so that there might be no direct links.

Uses include: example

Localization

العربية  Deutsch  English  français  magyar  日本語  македонски  മലയാളം  Bahasa Melayu  Nederlands  português do Brasil  русский  Türkçe  中文

This template makes use of {{Autotranslate}} and the translate extension. The layout of the template can be found under Template:Scriptuse/layout.