wiki:VotePlugin/WikiMacros

Wiki macros provided by VotePlugin

Since r13085 (tracvote-0.2) the plugin offers some macros for TracWiki as requested before (#4546, #7592).

Syntax

Common arguments:

compact
condensed output, most information moved into tool-tips per list entry
top=<n>
limit list length to n entries
  • defaults to n=5, if not specified
  • n=0 means unlimited

See the following examples for available macros and other valid arguments.

screenshot from Trac-1.0 documenting initial implementation of `LastVoted` wiki macro

screenshot from Trac-1.0 documenting initial implementation of `TopVoted` wiki macro

screenshot from Trac-1.0 documenting initial implementation of `VoteList` wiki macro

Developer notes

I consider providing the top keyword-argument for all macros, because unlimited growth of these lists might be undesirable in general.

This has been dealt with in [13094], even providing a probably more suitable default value of 5 list entries.

-- hasienda

Last modified 16 months ago Last modified on May 13, 2013 1:29:16 AM

Attachments (3)

Download all attachments as: .zip