Template:PermissionOTRS

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

The permission to use this work has been archived in the Wikimedia OTRS system. It is available only for users with an OTRS account. If you wish to reuse this work elsewhere, please read the instructions at COM:REUSE. If you are a Commons user and wish to confirm the permission, please leave a note at the OTRS noticeboard.

Documentation icon Documentation[view] [edit] [history] [purge]

This documentation is transcluded from Template:PermissionOTRS/doc.

Only OTRS volunteers should be adding the {{PermissionOTRS}} template. This template is used to identify the OTRS ticket associated with the permission of a particular file. See Commons:OTRS for more information.

The template automatically sets the following categories:

Usage

{{PermissionOTRS |id= }}

Or use the shorthand {{OTRS|… parameters as described …}}

Template parameters

Parameter Description Default Status
id
1
Use {{PermissionOTRS|id=################}} when you know the ticket ID number. This is the preferred way of specifying ticket number, which is a 16 digit number starting with 4 digit year. The template recognizes numbers between 1980 0000 0000 0000 and 3000 0000 0000 0000, and flags the id's outside that range as incorrect and places them in Category:Items with incorrect OTRS ticket ID. On very rare occasions there are OTRS records with valid ticket ID numbers outside that range (some of them have extra digit). Use verified_out_of_range_ID=1 parameter for such tickets to remove them from the category empty optional
2 Same as id. This option is used by images moved from German (and possibly other) Wikipedias. The number has to be in 1980 0000 0000 0000 to 3000 0000 0000 0000 range. The files using this option will be added to Category:OTRS templates with 2 or more unnamed parameters, so they can be converted to use id parameter. empty optional
ticket Use {{PermissionOTRS|ticket=https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketID=######}} when you know the URL of the OTRS ticket, but not the ticket ID number. Since PermissionOTRS template should only be added by OTRS team members, who can look up ticket ID numbers based on URL, this option should only be used for old cases. empty optional
nocat Use "nocat=1" to suppress automatically added categories empty optional
verified_out_of_range_ID Use "verified_out_of_range_ID=1" for the rare case when a valid ticket number is outside 1980 0000 0000 0000 to 3000 0000 0000 0000 range empty optional

Additional information

The template is intended to be used in the following namespaces: all content namespaces

The template is intended to be used by the following user groups: OTRS members

Placement: In the "Permission" parameter of the {{Information}} template (or the respective parameter of similar templates) or in the "Licensing" section

Relies on:
{{LayoutTemplateArgs}}

Localization

Afrikaans | Asturianu | Boarisch | Беларуская | Беларуская (тарашкевіца)‎ | Български | Català | Нохчийн | Čeština | Dansk | Deutsch | English | Esperanto | Español | Eesti | فارسی | Suomi | Français | Galego | עברית | Hrvatski | Magyar | Italiano | 日本語 | 한국어 | Lietuvių | Latviešu | Македонски | മലയാളം | Bahasa Melayu | Plattdüütsch | Nederlands | Norsk bokmål | Polski | Português | Português do Brasil | Română | Русский | Slovenčina | Slovenščina | Српски / srpski | Svenska | ไทย | Türkçe | Українська | اردو | Tiếng Việt | 中文 | 中文(简体)‎ | 中文(繁體)‎ |

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

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


Examples

  • {{PermissionOTRS|ticket=https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketID=000000}} produces:
OTRS Wikimedia

The permission to use this work has been archived in the Wikimedia OTRS system. It is available only here for users with an OTRS account. If you wish to reuse this work elsewhere, please read the instructions at COM:REUSE. If you are a Commons user and wish to confirm the permission, please leave a note at the OTRS noticeboard.

Ticket link: https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketID=000000

  • {{PermissionOTRS|id=0000000000000000}} produces:
OTRS Wikimedia

The permission to use this work has been archived in the Wikimedia OTRS system. It is available only as ticket #0000000000000000 for users with an OTRS account. If you wish to reuse this work elsewhere, please read the instructions at COM:REUSE. If you are a Commons user and wish to confirm the permission, please leave a note at the OTRS noticeboard.

Ticket link: https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketNumber=0000000000000000

  • {{PermissionOTRS|2000000000000000}} produces:
OTRS Wikimedia

The permission to use this work has been archived in the Wikimedia OTRS system. It is available only as ticket #2000000000000000 for users with an OTRS account. If you wish to reuse this work elsewhere, please read the instructions at COM:REUSE. If you are a Commons user and wish to confirm the permission, please leave a note at the OTRS noticeboard.

Ticket link: https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketNumber=2000000000000000

  • {{PermissionOTRS}} (deprecated) produces:
OTRS Wikimedia

The permission to use this work has been archived in the Wikimedia OTRS system. It is available only for users with an OTRS account. If you wish to reuse this work elsewhere, please read the instructions at COM:REUSE. If you are a Commons user and wish to confirm the permission, please leave a note at the OTRS noticeboard.