Difference between revisions of "Template:PermissionOTRS"
From Self-sufficiency
({{{2}}}{{!}}) |
(Added freeform and expanded debugging.) |
||
Line 6: | Line 6: | ||
| {{ #if: {{{id|}}} | | {{ #if: {{{id|}}} | ||
| as '''[https://secure.wikimedia.org/otrs/index.pl?Action=AgentTicketSearch&Subaction=Search&TicketNumber={{{id}}} ticket {{{id}}}]'''[[Category:Items with OTRS permission confirmed]] | | as '''[https://secure.wikimedia.org/otrs/index.pl?Action=AgentTicketSearch&Subaction=Search&TicketNumber={{{id}}} ticket {{{id}}}]'''[[Category:Items with OTRS permission confirmed]] | ||
− | | <span style="color: red; font-weight: bold; font-style: italic"><template error: no id or ticket is specified></span> | + | | {{ #if: {{{freeform|}}} |
− | + | | as '''{{freeform}}]'''[[Category:Items with OTRS permission confirmed]] | |
− | + | | <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> | ||
+ | }} | ||
}} | }} | ||
}} | }} | ||
Line 16: | Line 19: | ||
<small>Ticket link: {{{ticket}}}</small> | <small>Ticket link: {{{ticket}}}</small> | ||
}} | }} | ||
− | |}{{ #if: {{{debug|}}}|<small>Template PermissionOTRS was called with the following parameters:{{{1}}}{{!}}{{{2}}}{{!}}id={{{id}}}{{!}}ticket={{{ticket}}}{{!}} | + | |}{{ #if: {{{debug|}}}|<small>Template PermissionOTRS was called with the following parameters:{{{1}}}{{!}}{{{2}}}{{!}}id={{{id}}}{{!}}ticket={{{ticket}}}{{!}}freeform={{{freeform}}}{{!}}debug={{{debug}}}</small> |
}}<noinclude> | }}<noinclude> | ||
{{template doc}} | {{template doc}} | ||
[[Category:Marker templates|PermissionOTRS]] | [[Category:Marker templates|PermissionOTRS]] | ||
</noinclude> | </noinclude> |
Revision as of 02:36, 17 September 2007
[edit]
Documentation