Difference between revisions of "Template:PermissionOTRS"

From Self-sufficiency
Jump to: navigation, search
({{{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">&lt;template error: no id or ticket is specified&gt;</span>
+
| {{ #if: {{{freeform|}}}
{{ #if: {{{nocat|}}}
+
| as '''{{freeform}}]'''[[Category:Items with OTRS permission confirmed]]
|
+
| <span style="color: red; font-weight: bold; font-style: italic">&lt;template error: no id or ticket is specified&gt;</span>
|<includeonly>[[Category:Items missing OTRS ticket ID]]</includeonly>
+
{{ #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 03:36, 17 September 2007

64px The permission for use of this work has been archived in the Wikimedia OTRS system; it is available <template error: no id or ticket is specified> for users with an OTRS account. To confirm the permission, please contact someone with an OTRS account.