Changes between Version 1 and Version 2 of LastModifiedMacro
- Timestamp:
- Feb 16, 2006, 12:47:57 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LastModifiedMacro
v1 v2 3 3 == Description == 4 4 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> 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 a {{{ <span> }}} with a title that gives the exact modification date and the author of the change. 8 6 9 7 == Bugs/Feature Requests == … … 35 33 For example, {{{ [[LastModified(CustomMacros)]] }}} produces: 36 34 {{{ 37 <span class="last-modified" title="Wed Oct 6 20:34:51 2004 by username">2004-10-06</span> 35 <span class="last-modified" title="Wed Oct 6 36 20:34:51 2004 by username">2004-10-06</span> 38 37 }}} 39 38 40 39 Alternatively, {{{ [[LastModified(CustomMacros,delta)]] }}} produces: 41 40 {{{ 42 <span class="last-modified" title="Wed Oct 6 20:34:51 2004 by username">7 weeks</span> 41 <span class="last-modified" title="Wed Oct 6 42 20:34:51 2004 by username">7 weeks</span> 43 43 }}} 44 44 45 45 This is a CSS style to apply that will make it about 3.14% slicker: 46 46 {{{ 47 span.last-modified { border-bottom: 1px dotted gray; cursor: help; } 47 span.last-modified 48 { 49 border-bottom: 1px dotted gray; 50 cursor: help; 51 } 48 52 }}} 49 53 … … 55 59 56 60 '''Author:''' [wiki:HorsePunchKid] [[BR]] 57 '''Contributors:''' 61 '''Contributors:''' Nathan Kidd 58 62 59 63 [[TagIt(macro,HorsePunchKid,0.8,0.9)]]