Difference between revisions of "Template:PermissionOTRS"
From Self-sufficiency
(Added math on variable 1.) |
|||
Line 9: | Line 9: | ||
| as '''{{{freeform}}}'''[[Category:Items with freeform OTRS permission confirmed|{{PAGENAME}}]] | | as '''{{{freeform}}}'''[[Category:Items with freeform OTRS permission confirmed|{{PAGENAME}}]] | ||
| {{ #if: {{{1|}}} | | {{ #if: {{{1|}}} | ||
− | | as '''{{{1}}}{{#if: {{{2|}}}|{{!}}{{{2}}}}} '''[[Category:Items with freeform OTRS permission confirmed|{{PAGENAME}}]] | + | | {{#ifeq:{{#expr:{{{1}}}> |
− | + | 1980000000000000 and | |
− | + | {{{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 '''{{{1}}}{{#if: {{{2|}}}|{{!}}{{{2}}}}} '''[[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:25, 22 September 2007
[edit]
Documentation