Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 6 and Version 7 of WikiFormatting


Ignore:
Timestamp:
Mar 22, 2006, 3:03:13 PM (18 years ago)
Author:
patrick
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • WikiFormatting

    v6 v7  
    2525Results in:
    2626[[Poll(What do you think of the Poll macro?; Cool; Crap)]]
     27
     28
     29== Trac Hacks: Ticket Box ==
     30Simple list of tickets by specifiying ticket numbers. '#' character can be omitted:
     31{{{
     32[[TicketBox(#1,#7,#31)]]
     33[[TicketBox(1,7,31)]]
     34}}}
     35results in:
     36[[TicketBox(#1,#7,#31)]]
     37[[TicketBox(1,7,31)]]
     38
     39List tickets expanded from the report result. Third example uses dynamic variable. The special variable 'USER' can be specified. If not specified, login name (or anonymous) is used:
     40{{{
     41[[TicketBox({1})]]
     42[[TicketBox([report:1])]]
     43[[TicketBox([report:9?COMPONENT=TicketBox])]]
     44[[TicketBox([report:9?USER=foo])]]
     45}}}
     46Combination of above is allowed. The tickets are listed as sorted and uniq'ed:
     47{{{
     48[[TicketBox({1),#50,{2},100)]]
     49}}}
     50Specifying a size of the box:
     51{{{
     52[[TicketBox(500pt,{1})]]
     53[[TicketBox(200px,{1})]]
     54[[TicketBox(25%,{1})]]
     55}}}
     56Specifying a title of the box. single and double quoted string are allowed. If '%d' in title string will be replaced with count of tickets:
     57{{{
     58[[TicketBox('Related Tickets',#1,#2)]]
     59[[TicketBox("Related Tickets",#1,#2)]]
     60[[TicketBox("There are %d tickets",{1})]]
     61}}}
    2762
    2863