Difference between revisions of "Template:Ticket"
Jump to navigation
Jump to search
(pushed from media by wikipush) |
m (created by WikiTask 2022-01-24T07:09:26Z) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | This template | + | <!-- |
+ | -- Copyright (C) 2015-2018 BITPlan GmbH | ||
+ | -- | ||
+ | -- Pater-Delp-Str. -- 1 | ||
+ | -- D-47877 -- Willich-Schiefbahn | ||
+ | -- | ||
+ | -- http://www.bitplan.com | ||
+ | -- | ||
+ | -- | ||
+ | --> | ||
+ | This is the template {{Link|target=Template:Ticket|title=Ticket}}. | ||
+ | It belongs to the concept/topic {{Link|target=:Concept:Ticket}}<br> | ||
+ | You may find examples for the use of this template via the {{Link|target=List of Tickets}}. | ||
+ | === Usage === | ||
+ | ==== storemode subobject ==== | ||
+ | <pre>{{Ticket | ||
+ | |no= | ||
+ | |title= | ||
+ | |project= | ||
+ | |storemode=subobject | ||
+ | }} | ||
+ | </pre> | ||
− | + | ==== storemode property ==== | |
− | + | <pre>{{Ticket | |
− | + | |no= | |
− | + | |title= | |
− | + | |project= | |
− | + | |storemode=property | |
− | + | }} | |
+ | </pre> | ||
− | = | + | ==== storemode none ==== |
− | <pre>{{Ticket| | + | <pre>{{Ticket |
− | + | |no= | |
+ | |title= | ||
+ | |project= | ||
+ | |storemode=none | ||
+ | }} | ||
+ | </pre> | ||
− | |||
− | |||
+ | ==== viewmode tableheader ==== | ||
+ | <pre>{{Ticket | ||
+ | |no= | ||
+ | |title= | ||
+ | |project= | ||
+ | |viewmode=tableheader | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | ==== viewmode tablerow ==== | ||
+ | <pre>{{Ticket | ||
+ | |no= | ||
+ | |title= | ||
+ | |project= | ||
+ | |viewmode=tablerow | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | ==== viewmode tablefooter ==== | ||
+ | <pre>{{Ticket | ||
+ | |no= | ||
+ | |title= | ||
+ | |project= | ||
+ | |viewmode=tablefooter | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | ==== viewmode labelfield ==== | ||
+ | <pre>{{Ticket | ||
+ | |no= | ||
+ | |title= | ||
+ | |project= | ||
+ | |viewmode=labelfield | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | === Source (pretty printed) === | ||
+ | <source lang='html4strict'> | ||
+ | {{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Ticket<br>|}} | ||
+ | {{#if:{{{?no|}}}|"{{{?no}}}" is no of it <br>|}} | ||
+ | {{#if:{{{?title|}}}|"{{{?title}}}" is title of it <br>|}} | ||
+ | {{#if:{{{?project|}}}|"{{{?project}}}" is project of it <br>|}} | ||
+ | |#default={{#switch:{{{storemode|}}} | ||
+ | |none= | ||
+ | |subobject={{#subobject:- | ||
+ | |isA=Ticket | ||
+ | |Ticket no={{{no|}}} | ||
+ | |Ticket title={{{title|}}} | ||
+ | |Ticket project={{{project|}}} | ||
+ | }} | ||
+ | |#default={{#set: | ||
+ | |isA=Ticket | ||
+ | |Ticket no={{{no|}}} | ||
+ | |Ticket title={{{title|}}} | ||
+ | |Ticket project={{{project|}}} | ||
+ | }} | ||
+ | }} | ||
+ | {{#switch: {{{viewmode|}}} | ||
+ | |hidden= | ||
+ | |masterdetail= | ||
+ | |tableheader={{{!}} class='wikitable' | ||
+ | !no!!title!!project | ||
+ | {{!}}- | ||
+ | |tablerow= | ||
+ | {{!}}{{{no|}}}{{!}}{{!}}{{{title|}}}{{!}}{{!}}{{{project|}}} | ||
+ | {{!}}- | ||
+ | |tablefooter={{!}}} | ||
+ | |labelfield= | ||
+ | no={{#if:{{{no|}}}|{{{no|}}}|}}<br>title={{#if:{{{title|}}}|{{{title|}}}|}}<br>project={{#if:{{{project|}}}|[[{{{project|}}}]]|}}<br>|#default={{{!}} class='wikitable' | ||
+ | ! colspan='2' {{!}}Ticket | ||
+ | {{!}}- | ||
+ | {{#switch:{{{storemode|}}}|property= | ||
+ | ! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Ticket/{{FULLPAGENAME}}|title=edit}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | !no | ||
+ | {{!}} {{#if:{{{no|}}}|{{{no|}}}|}} | ||
+ | {{!}}- | ||
+ | !title | ||
+ | {{!}} {{#if:{{{title|}}}|{{{title|}}}|}} | ||
+ | {{!}}- | ||
+ | !project | ||
+ | {{!}} {{#if:{{{project|}}}|[[{{{project|}}}]]|}} | ||
+ | {{!}}- | ||
+ | {{!}}} | ||
+ | }} | ||
+ | }} | ||
+ | |||
+ | </source> | ||
+ | === Source === | ||
+ | Click on "Edit" to edit the noinclude-part Source of this Template. | ||
[[Category:Template]] | [[Category:Template]] | ||
− | </noinclude><includeonly>{{# | + | |
− | | | + | </noinclude><includeonly>{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Ticket<br>|}} |
− | | | + | {{#if:{{{?no|}}}|"{{{?no}}}" is no of it <br>|}} |
− | | | + | {{#if:{{{?title|}}}|"{{{?title}}}" is title of it <br>|}} |
− | + | {{#if:{{{?project|}}}|"{{{?project}}}" is project of it <br>|}} | |
− | | | + | |#default={{#switch:{{{storemode|}}} |
− | + | |none= | |
− | }}{{# | + | |subobject={{#subobject:- |
+ | |isA=Ticket | ||
+ | |Ticket no={{{no|}}} | ||
+ | |Ticket title={{{title|}}} | ||
+ | |Ticket project={{{project|}}} | ||
+ | }} | ||
+ | |#default={{#set: | ||
+ | |isA=Ticket | ||
+ | |Ticket no={{{no|}}} | ||
+ | |Ticket title={{{title|}}} | ||
+ | |Ticket project={{{project|}}} | ||
+ | }} | ||
+ | }} | ||
+ | {{#switch: {{{viewmode|}}} | ||
+ | |hidden= | ||
+ | |masterdetail= | ||
+ | |tableheader={{{!}} class='wikitable' | ||
+ | !no!!title!!project | ||
+ | {{!}}- | ||
+ | |tablerow= | ||
+ | {{!}}{{{no|}}}{{!}}{{!}}{{{title|}}}{{!}}{{!}}{{{project|}}} | ||
+ | {{!}}- | ||
+ | |tablefooter={{!}}} | ||
+ | |labelfield= | ||
+ | no={{#if:{{{no|}}}|{{{no|}}}|}}<br>title={{#if:{{{title|}}}|{{{title|}}}|}}<br>project={{#if:{{{project|}}}|[[{{{project|}}}]]|}}<br>|#default={{{!}} class='wikitable' | ||
+ | ! colspan='2' {{!}}Ticket | ||
+ | {{!}}- | ||
+ | {{#switch:{{{storemode|}}}|property= | ||
+ | ! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Ticket/{{FULLPAGENAME}}|title=edit}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | !no | ||
+ | {{!}} {{#if:{{{no|}}}|{{{no|}}}|}} | ||
+ | {{!}}- | ||
+ | !title | ||
+ | {{!}} {{#if:{{{title|}}}|{{{title|}}}|}} | ||
+ | {{!}}- | ||
+ | !project | ||
+ | {{!}} {{#if:{{{project|}}}|[[{{{project|}}}]]|}} | ||
+ | {{!}}- | ||
+ | {{!}}} | ||
+ | }} | ||
+ | }} | ||
+ | </includeonly> |
Revision as of 08:09, 24 January 2022
This is the template Ticket.
It belongs to the concept/topic Concept:Ticket
You may find examples for the use of this template via the List of Tickets.
Usage
storemode subobject
{{Ticket |no= |title= |project= |storemode=subobject }}
storemode property
{{Ticket |no= |title= |project= |storemode=property }}
storemode none
{{Ticket |no= |title= |project= |storemode=none }}
viewmode tableheader
{{Ticket |no= |title= |project= |viewmode=tableheader }}
viewmode tablerow
{{Ticket |no= |title= |project= |viewmode=tablerow }}
{{Ticket |no= |title= |project= |viewmode=tablefooter }}
viewmode labelfield
{{Ticket |no= |title= |project= |viewmode=labelfield }}
Source (pretty printed)
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Ticket<br>|}}
{{#if:{{{?no|}}}|"{{{?no}}}" is no of it <br>|}}
{{#if:{{{?title|}}}|"{{{?title}}}" is title of it <br>|}}
{{#if:{{{?project|}}}|"{{{?project}}}" is project of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=Ticket
|Ticket no={{{no|}}}
|Ticket title={{{title|}}}
|Ticket project={{{project|}}}
}}
|#default={{#set:
|isA=Ticket
|Ticket no={{{no|}}}
|Ticket title={{{title|}}}
|Ticket project={{{project|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|masterdetail=
|tableheader={{{!}} class='wikitable'
!no!!title!!project
{{!}}-
|tablerow=
{{!}}{{{no|}}}{{!}}{{!}}{{{title|}}}{{!}}{{!}}{{{project|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
no={{#if:{{{no|}}}|{{{no|}}}|}}<br>title={{#if:{{{title|}}}|{{{title|}}}|}}<br>project={{#if:{{{project|}}}|[[{{{project|}}}]]|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}Ticket
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Ticket/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!no
{{!}} {{#if:{{{no|}}}|{{{no|}}}|}}
{{!}}-
!title
{{!}} {{#if:{{{title|}}}|{{{title|}}}|}}
{{!}}-
!project
{{!}} {{#if:{{{project|}}}|[[{{{project|}}}]]|}}
{{!}}-
{{!}}}
}}
}}
Source
Click on "Edit" to edit the noinclude-part Source of this Template.