Difference between revisions of "Template:PermissionOTRS"

From Self-sufficiency
Jump to: navigation, search
m (1 revision)
m (creating a template)
(69 intermediate revisions by 26 users not shown)
Line 1: Line 1:
{{Autotranslate
+
The permission for use of this work has been [{{{1}}} archived] in the Wikimedia [[m:PR department|OTRS]] system. Please contact a [[m:hPR_department#Accounts_on_OTRS|person with an account]] on the system should you need to confirm the permission.
|1=
+
{{ #if: {{{ticket|}}}
+
  | {{{ticket}}}
+
  | {{ #if: {{{id|}}}
+
    | https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketNumber={{{id}}}
+
    | {{ #if: {{{freeform|}}}
+
      | {{{freeform}}}
+
      | {{ #if: {{{1|}}}
+
        | {{#ifeq:{{#expr:{{{1}}}> 1980000000000000 and {{{1}}}<3000000000000000}}|1
+
          | https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketNumber={{{1}}}
+
          | {{ #if: {{{2|}}}
+
            | {{#ifeq:{{#expr:{{{2}}}>1980000000000000 and {{{2}}}<3000000000000000}}|1
+
            | https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketNumber={{{2}}}
+
            | {{{1}}}{{#if: {{{2|}}}|{{!}}{{{2}}}}}{{#if: {{{3|}}}|{{!}}{{{3}}}}}{{#if: {{{4|}}}|{{!}}{{{4}}}}}{{#if: {{{5|}}}|{{!}}{{{5}}}}}{{#if: {{{6|}}}|{{!}}{{{6}}}}}{{#if: {{{7|}}}|{{!}}{{{7}}}}}{{#if: {{{8|}}}|{{!}}{{{8}}}}}{{#if: {{{9|}}}|{{!}}{{{9}}}}}
+
              | <span style="color: red; font-weight: bold; font-style: italic">&lt;template error: no id or ticket is specified&gt;</span>
+
            }}
+
          }}
+
        }}
+
      }}
+
    }}
+
  }}
+
}}
+
|2=
+
{{ #if: {{{ticket|}}}
+
  |
+
  | {{ #if: {{{id|}}}
+
    | {{{id}}}
+
    | {{ #if: {{{freeform|}}}
+
      |
+
      | {{ #if: {{{1|}}}
+
        | {{#ifeq:{{#expr:{{{1}}}>1980000000000000 and {{{1}}}<3000000000000000}}|1
+
          | {{{1}}}
+
          | {{ #if: {{{2|}}}
+
            | {{#ifeq:{{#expr:{{{2}}}>1980000000000000 and {{{2}}}<3000000000000000}}|1
+
            | {{{2}}}
+
            |
+
            }}
+
          }}
+
        }}
+
      }}
+
    }}
+
  }}
+
}}
+
|base=PermissionOTRS
+
}}
+
{{ #if: {{{ticket|}}}
+
  | {{{category|[[Category:Items with OTRS permission confirmed]]}}}
+
  | {{ #if: {{{id|}}}
+
    | {{{category|[[Category:Items with OTRS permission confirmed]]}}}
+
    | {{ #if: {{{freeform|}}}
+
      | {{{category|[[Category:Items with freeform OTRS permission confirmed|{{PAGENAME}}]]}}}
+
      | {{ #if: {{{1|}}}
+
        | {{#ifeq:{{#expr:{{{1}}}>1980000000000000 and {{{1}}}<3000000000000000}}|1
+
          | {{{category|[[Category:Items with OTRS permission confirmed]]}}}
+
          | {{ #if: {{{2|}}}
+
            | {{#ifeq:{{#expr:{{{2}}}>1980000000000000 and {{{2}}}<3000000000000000}}|1
+
            | {{{category|[[Category:Items with OTRS permission confirmed]]}}}
+
              |
+
              {{ #if: {{{nocat|}}}
+
                |
+
                |<includeonly>{{{category|[[Category:Items missing OTRS ticket ID]]}}}{{gibox|text='''Warning:''' This file is missing essential information needed to confirm validity of the OTRS ticket.|type=issue}}</includeonly>
+
              }}
+
            }}
+
          }}
+
        }}
+
      }}
+
    }}
+
  }}
+
}}
+
{{ #if: {{{debug|}}}|<small>Template PermissionOTRS was called with the following parameters:{{{1}}}{{!}}{{{2}}}{{!}}id={{{id}}}{{!}}ticket={{{ticket}}}{{!}}freeform={{{freeform}}}{{!}}debug={{{debug}}}</small>}}{{ #if:{{{category|}}}{{{nocat|}}}{{{freeform|}}}|{{DebugTag}} }}<noinclude>
+
 
+
{{documentation}}
+
</noinclude>
+

Revision as of 13:45, 14 November 2005

The permission for use of this work has been [{{{1}}} archived] in the Wikimedia OTRS system. Please contact a person with an account on the system should you need to confirm the permission.