Difference between revisions of "Template:PermissionOTRS"
From Self-sufficiency
m (documentation) |
(make it go straight to the ticket instead of to the search page) |
||
Line 5: | Line 5: | ||
| '''[{{{ticket}}} here]'''{{{category|[[Category:Items with OTRS permission confirmed]]}}} | | '''[{{{ticket}}} here]'''{{{category|[[Category:Items with OTRS permission confirmed]]}}} | ||
| {{ #if: {{{id|}}} | | {{ #if: {{{id|}}} | ||
− | | as '''[https://secure.wikimedia.org/otrs/index.pl?Action= | + | | as '''[https://secure.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketNumber={{{id}}} ticket {{{id}}}]'''{{{category|[[Category:Items with OTRS permission confirmed]]}}} |
| {{ #if: {{{freeform|}}} | | {{ #if: {{{freeform|}}} | ||
| as '''{{{freeform}}}'''{{{category|[[Category:Items with freeform OTRS permission confirmed|{{PAGENAME}}]]}}} | | as '''{{{freeform}}}'''{{{category|[[Category:Items with freeform OTRS permission confirmed|{{PAGENAME}}]]}}} | ||
Line 13: | Line 13: | ||
{{{1}}}< | {{{1}}}< | ||
3000000000000000}}|1 | 3000000000000000}}|1 | ||
− | | as '''[https://secure.wikimedia.org/otrs/index.pl?Action= | + | | as '''[https://secure.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketNumber={{{1}}} ticket {{{1}}}]'''{{{category|[[Category:Items with OTRS permission confirmed]]}}} |
| {{ #if: {{{2|}}} | | {{ #if: {{{2|}}} | ||
| {{#ifeq:{{#expr:{{{2}}}> | | {{#ifeq:{{#expr:{{{2}}}> | ||
Line 19: | Line 19: | ||
{{{2}}}< | {{{2}}}< | ||
3000000000000000}}|1 | 3000000000000000}}|1 | ||
− | | as '''[https://secure.wikimedia.org/otrs/index.pl?Action= | + | | as '''[https://secure.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketNumber={{{2}}} ticket {{{2}}}]'''{{{category|[[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|[[Category:Items with freeform OTRS permission confirmed|{{PAGENAME}}]]}}} | | 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|[[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> | | <span style="color: red; font-weight: bold; font-style: italic"><template error: no id or ticket is specified></span> |
Revision as of 23:29, 12 June 2008
[edit]
Documentation