This page is semi-protected against editing.

Template:Policy

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

This page is considered an official policy on Wikimedia Commons.

It has wide acceptance among editors and is considered a standard that everyone must follow. Except for minor edits (such as fixing typos, or bringing information up to date), please make use of the discussion page to propose changes to this policy.

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

This template marks official Commons policies. It should be used only on English version, that is considered the official version. For translated version, please use {{Translated policy}} instead.

It shouldn't be autotranslated (the pages themselves will have translation links). When translating, please change the category to a localized one or use {{TNT}} for pages following the structure SourcePage/langcode for translations.

The template automatically sets the following categories: Category:Commons policies

Usage

{{Policy}}

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 official Commons policies. It should be used only on English version, that is considered the official version.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
discussion pagetalkpage

Title of the discussion page where change proposals can be made, if not the associated talk page.

Default
{{TALKPAGENAME}}
Page nameoptional

Additional information

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

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

See also

Localization

Alemannisch  azərbaycanca  Boarisch  беларуская (тарашкевіца)  беларуская (тарашкевіца)  বাংলা  català  čeština  dansk  Deutsch  Ελληνικά  English  Esperanto  español  euskara  فارسی  suomi  français  עברית  hrvatski  magyar  Bahasa Indonesia  italiano  日本語  한국어  македонски  മലയാളം  मराठी  Nederlands  norsk  polski  português  português do Brasil  română  русский  sicilianu  slovenčina  slovenščina  svenska  українська  Tiếng Việt  简体中文  繁體中文  +/−

This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:Policy/layout.

To add your language to the list of languages supported by this template, please copy the code of Template:Policy/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.


It doesn’t use {{Autotranslate}} in reality, but the translated versions follow this scheme. It should not be translated anyways, as this template should only be used on English pages.