Difference between revisions of "Template:PermissionOTRS"

From Self-sufficiency
Jump to: navigation, search
(Added math on variable 1.)
(Added variables 3-9 and math for variable 2.)
Line 14: Line 14:
 
         3000000000000000}}|1
 
         3000000000000000}}|1
 
| as '''[https://secure.wikimedia.org/otrs/index.pl?Action=AgentTicketSearch&Subaction=Search&TicketNumber={{{1}}} ticket {{{1}}}]'''[[Category:Items with OTRS permission confirmed]]
 
| as '''[https://secure.wikimedia.org/otrs/index.pl?Action=AgentTicketSearch&Subaction=Search&TicketNumber={{{1}}} ticket {{{1}}}]'''[[Category:Items with OTRS permission confirmed]]
| as '''{{{1}}}{{#if: {{{2|}}}|{{!}}{{{2}}}}} '''[[Category:Items with freeform OTRS permission confirmed|{{PAGENAME}}]]
+
| {{ #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}}}>
{{ #if: {{{nocat|}}}
+
        1980000000000000 and
|
+
        {{{2}}}<
|<includeonly>[[Category:Items missing OTRS ticket ID]]</includeonly>
+
        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>
 +
}}
 +
}}
 
}}
 
}}
 
}}
 
}}

Revision as of 16:41, 22 September 2007

64px The permission for use of this work has been archived in the Wikimedia OTRS system; it is available for users with an OTRS account. To confirm the permission, please contact someone with an OTRS account.