Changes between Version 20 and Version 21 of TopMacro


Ignore:
Timestamp:
Oct 3, 2016, 6:32:58 AM (8 years ago)
Author:
figaro
Comment:

Moved example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • TopMacro

    v20 v21  
    77This macro inserts a "top of page" link in your Trac wiki page. The only option is a string that is inserted into the content of the markup. This defaults to a single circumflex "!^" character (more commonly known as a caret), surrounded by square brackets. The anchor element returned includes a "Top of Page" title attribute so the user knows its purpose, and a "topofpage" class so the Wiki author may apply their preferred style rules.
    88
     9Inserting the macro in your wiki page would be ass follows:
     10{{{
     11[[Top]]
     12[[Top(^)]]
     13[[Top(top)]]
     14[[Top(Top of page)]]
     15}}}
     16
     17More specifically:
    918{{{
    1019[[Top]] returns:
     
    120129You may need to restart your Web server.
    121130
    122 == Examples
    123 
    124 {{{
    125 [[Top]]
    126 [[Top(^)]]
    127 [[Top(top)]]
    128 [[Top(Top of page)]]
    129 }}}
    130 
    131131== Recent Changes
    132132