Difference between revisions of "Template:PermissionOTRS"

From Self-sufficiency
Jump to: navigation, search
m (specific logo, more identifyable)
m (67 revisions from commons:Template:PermissionOTRS)
 
(31 intermediate revisions by 15 users not shown)
Line 1: Line 1:
{| class="messagebox" style="width: 100%;"
+
{{Autotranslate
|-
+
|1=
| width="70" | [[Image:OTRS Wikimedia.svg|70px]]
+
{{ #if: {{{ticket|}}}  
| The permission for use of this work has been archived in [[Commons:OTRS|the Wikimedia OTRS system]]; it is available <span class="plainlinksneverexpand">{{ #if: {{{ticket|}}}  
+
  | {{{ticket}}}
| '''[{{{ticket}}} here]'''[[Category:Items with OTRS permission confirmed]]
+
  | {{ #if: {{{id|}}}
| {{ #if: {{{id|}}}
+
    | https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketNumber={{{id}}}
| as '''[https://secure.wikimedia.org/otrs/index.pl?Action=AgentTicketSearch&Subaction=Search&TicketNumber={{{id}}} ticket {{{id}}}]'''[[Category:Items with OTRS permission confirmed]]
+
    | {{ #if: {{{freeform|}}}
| {{ #if: {{{freeform|}}}
+
      | {{{freeform}}}
| as '''{{{freeform}}}'''[[Category:Items with freeform OTRS permission confirmed|{{PAGENAME}}]]
+
      | {{ #if: {{{1|}}}
| {{ #if: {{{1|}}}
+
        | {{#ifeq:{{#expr:{{{1}}}> 1980000000000000 and {{{1}}}<3000000000000000}}|1
| {{#ifeq:{{#expr:{{{1}}}>
+
          | https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketNumber={{{1}}}
        1980000000000000 and  
+
          | {{ #if: {{{2|}}}
        {{{1}}}<
+
            | {{#ifeq:{{#expr:{{{2}}}>1980000000000000 and {{{2}}}<3000000000000000}}|1
        3000000000000000}}|1
+
            | https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketNumber={{{2}}}
| as '''[https://secure.wikimedia.org/otrs/index.pl?Action=AgentTicketSearch&Subaction=Search&TicketNumber={{{1}}} ticket {{{1}}}]'''[[Category:Items with OTRS permission confirmed]]
+
            | {{{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}}}}}
| {{ #if: {{{2|}}}
+
              | <span style="color: red; font-weight: bold; font-style: italic">&lt;template error: no id or ticket is specified&gt;</span>
| {{#ifeq:{{#expr:{{{2}}}>
+
            }}
        1980000000000000 and  
+
          }}
        {{{2}}}<
+
        }}
        3000000000000000}}|1
+
      }}
| as '''[https://secure.wikimedia.org/otrs/index.pl?Action=AgentTicketSearch&Subaction=Search&TicketNumber={{{2}}} ticket {{{2}}}]'''[[Category:Items with OTRS permission confirmed]]
+
    }}
| as '''{{{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}}}}} '''[[Category:Items with freeform OTRS permission confirmed|{{PAGENAME}}]]
+
  }}
| <span style="color: red; font-weight: bold; font-style: italic">&lt;template error: no id or ticket is specified&gt;</span>
+
{{ #if: {{{nocat|}}}
+
|
+
|<includeonly>[[Category:Items missing OTRS ticket ID]]</includeonly>
+
}}
+
}}
+
}}
+
}}
+
}}
+
}}
+
}}
+
}}</span> for users with an OTRS account. To confirm the permission, please contact [[Template talk:PermissionOTRS#Commons people with access to OTRS|someone with an OTRS account]].
+
{{ #if: {{{ticket|}}}|
+
<small>Ticket link: {{{ticket}}}</small>
+
 
}}
 
}}
|}{{ #if: {{{debug|}}}|<small>Template PermissionOTRS was called with the following parameters:{{{1}}}{{!}}{{{2}}}{{!}}id={{{id}}}{{!}}ticket={{{ticket}}}{{!}}freeform={{{freeform}}}{{!}}debug={{{debug}}}</small>
+
|2=
}}<noinclude>{{template doc}}[[Category:Marker templates|PermissionOTRS]]</noinclude>
+
{{ #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>

Latest revision as of 21:36, 29 September 2010

OTRS Wikimedia The permission for use of this work has been verified and archived in the Wikimedia OTRS system.
It is available 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 contact someone with an OTRS account or leave a note at the OTRS noticeboard.

Afrikaans | Boarisch | беларуская (тарашкевіца)‎ | български | català | čeština | Deutsch | English | Esperanto | español | eesti | suomi | français | עברית | hrvatski | magyar | italiano | 日本語 | 한국어 | lietuvių | latviešu | македонски | മലയാളം | Plattdüütsch | Nederlands | norsk bokmål | polski | português | português do Brasil | română | русский | српски / srpski | svenska | ไทย | українська | Tiếng Việt | 中文 | 中文(简体)‎ | 中文(繁體)‎ | +/−