Difference between revisions of "Template:PermissionOTRS"
From Self-sufficiency
m (specific logo, more identifyable) |
m (+ simple category override) |
||
Line 3: | Line 3: | ||
| width="70" | [[Image:OTRS Wikimedia.svg|70px]] | | width="70" | [[Image:OTRS Wikimedia.svg|70px]] | ||
| The permission for use of this work has been archived in [[Commons:OTRS|the Wikimedia OTRS system]]; it is available <span class="plainlinksneverexpand">{{ #if: {{{ticket|}}} | | The permission for use of this work has been archived in [[Commons:OTRS|the Wikimedia OTRS system]]; it is available <span class="plainlinksneverexpand">{{ #if: {{{ticket|}}} | ||
− | | '''[{{{ticket}}} here]'''[[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=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|[[Category:Items with OTRS permission confirmed]]}}} |
| {{ #if: {{{freeform|}}} | | {{ #if: {{{freeform|}}} | ||
− | | as '''{{{freeform}}}'''[[Category:Items with freeform OTRS permission confirmed|{{PAGENAME}}]] | + | | as '''{{{freeform}}}'''{{{category|[[Category:Items with freeform OTRS permission confirmed|{{PAGENAME}}]]}}} |
| {{ #if: {{{1|}}} | | {{ #if: {{{1|}}} | ||
| {{#ifeq:{{#expr:{{{1}}}> | | {{#ifeq:{{#expr:{{{1}}}> | ||
Line 13: | Line 13: | ||
{{{1}}}< | {{{1}}}< | ||
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|[[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=AgentTicketSearch&Subaction=Search&TicketNumber={{{2}}} ticket {{{2}}}]'''[[Category:Items with OTRS permission confirmed]] | + | | as '''[https://secure.wikimedia.org/otrs/index.pl?Action=AgentTicketSearch&Subaction=Search&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: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> | ||
{{ #if: {{{nocat|}}} | {{ #if: {{{nocat|}}} | ||
| | | | ||
− | |<includeonly>[[Category:Items missing OTRS ticket ID]]</includeonly> | + | |<includeonly>{{{category|[[Category:Items missing OTRS ticket ID]]}}}</includeonly> |
}} | }} | ||
}} | }} |
Revision as of 04:55, 27 November 2007
[edit]
Documentation