Template:Permission pending/sandbox

{{{{{|safesubst:}}}#invoke:Unsubst||year={{{{{|safesubst:}}}CURRENTYEAR}}|month={{{{{|safesubst:}}}CURRENTMONTHNAME}}|day={{{{{|safesubst:}}}CURRENTDAY}}|$B={{mbox |Image|File = file |#default  = text }} has been sent in accordance with WP:OTRS.''' Note to uploaders: Please copy the URL of this image or article in the email to assist OTRS volunteers to find it. If an email cannot be found in the OTRS system, the content may be deleted for lack of valid licensing information.
 * type=style
 * image=Ambox outdated serious.svg
 * text='''An email containing details of the permission for this {{#switch:{{NAMESPACE}}

Note to OTRS volunteers: If the email contains sufficient confirmation of the validity of the license, please replace this template with {{tlp|Permission ticket|id = Ticket number}}{{#switch:{{NAMESPACE}} |Image|File = &#32;and consider moving to Commons. Otherwise, nominate the file for deletion or delete it |#default  =. Otherwise, remove the copyrighted content, deleting the page if necessary }}.

{{#ifexpr:{{OTRS backlog}}>10| Please be aware that there is currently a {{OTRS backlog}}-day backlog processing messages sent to the permissions-en queue. |}} }} {{#ifeq: {{NAMESPACE}} | User | {{#ifeq: {{Str endswith|{{PAGENAME}}|.js}} | yes | |}{{{category|{{#ifexpr: {{#time:U|{{REVISIONTIMESTAMP}}}}<={{#time:U|{{CURRENTTIMESTAMP}}}}-2592000 |  | }}}}}{{#ifexpr: {{#time:U|{{REVISIONTIMESTAMP}}}}<={{#time:U|{{CURRENTTIMESTAMP}}}}-5184000 | }}{{#ifexpr: {{#time:U|{{REVISIONTIMESTAMP}}}}<={{#time:U|{{CURRENTTIMESTAMP}}}}-7776000 | }}[[Category:Items pending OTRS confirmation of permission by date|{{#if: {{{date|}}} | {{#time:Ymd|{{{date|}}}}} | {{#if: {{{year|}}} | {{#time:Ymd|{{{year}}}-{{{month}}}-{{{day}}}}} | {{REVISIONTIMESTAMP}} }} }}]][[Category:Items pending OTRS confirmation of permission as of {{#if: {{{date|}}} | {{#time:F Y|{{{date|}}}}} | {{#if: {{{month|}}} | {{#time:F Y|{{{year|{{CURRENTYEAR}}}}}-{{{month}}}-{{{day}}}}} | unknown date}} }}]] }} }} }}