Difference between revisions of "Template:PermissionOTRS"
From Self-sufficiency
(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|}}} |
− | + | | {{#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"><template error: no id or ticket is specified></span> | ||
+ | {{ #if: {{{nocat|}}} | ||
+ | | | ||
+ | |<includeonly>[[Category:Items missing OTRS ticket ID]]</includeonly> | ||
+ | }} | ||
+ | }} | ||
}} | }} | ||
}} | }} |
Revision as of 16:41, 22 September 2007
[edit]
Documentation