Changes between Version 1 and Version 2 of LastModifiedMacro


Ignore:
Timestamp:
Feb 16, 2006, 1:47:57 AM (9 years ago)
Author:
HorsePunchKid
Comment:

Formatting clean-up, additional contributor

Legend:

Unmodified
Added
Removed
Modified
  • LastModifiedMacro

    v1 v2  
    33== Description ==
    44
    5 Shows the last modification date of the specified page, or the page the macro appears in if not specified. An optional argument, {{{ delta }}}, can be given to show the time elapsed since the last modification. The output is placed in span with a title that gives the exact modification date and the author of the change.
    6 
    7 ''Originally by:'' Steven N. Severinghaus <sns@severinghaus.org>
     5Shows the last modification date of the specified page, or the page the macro appears in if not specified. An optional argument, {{{ delta }}}, can be given to show the time elapsed since the last modification. The output is placed in a {{{ <span> }}} with a title that gives the exact modification date and the author of the change.
    86
    97== Bugs/Feature Requests ==
     
    3533For example, {{{ [[LastModified(CustomMacros)]] }}} produces:
    3634{{{
    37 &lt;span class=&#34;last-modified&#34; title=&#34;Wed Oct  6 20:34:51 2004 by username&#34;&gt;2004-10-06&lt;/span&gt;
     35<span class="last-modified" title="Wed Oct  6
     36    20:34:51 2004 by username">2004-10-06</span>
    3837}}}
    3938
    4039Alternatively, {{{ [[LastModified(CustomMacros,delta)]] }}} produces:
    4140{{{
    42 &lt;span class=&#34;last-modified&#34; title=&#34;Wed Oct  6 20:34:51 2004 by username&#34;&gt;7 weeks&lt;/span&gt;
     41<span class="last-modified" title="Wed Oct  6
     42    20:34:51 2004 by username">7 weeks</span>
    4343}}}
    4444
    4545This is a CSS style to apply that will make it about 3.14% slicker:
    4646{{{
    47 span.last-modified { border-bottom: 1px dotted gray; cursor: help; }
     47span.last-modified
     48{
     49    border-bottom: 1px dotted gray;
     50    cursor: help;
     51}
    4852}}}
    4953
     
    5559
    5660'''Author:''' [wiki:HorsePunchKid] [[BR]]
    57 '''Contributors:'''
     61'''Contributors:''' Nathan Kidd
    5862
    5963[[TagIt(macro,HorsePunchKid,0.8,0.9)]]