Very nice! On Fri, Oct 1, 2010 at 4:08 PM, <[email protected]> wrote:
> Since and Deprecated User > Macros<https://cwiki.apache.org/confluence/display/TAPESTRY/Since+and+Deprecated+User+Macros> > Page *edited* by Ulrich > Stärk<https://cwiki.apache.org/confluence/display/~uli> > Changes (2) > ... > |{noformat}{deprecated}This was removed in > 5.2{deprecated}{noformat}|{deprecated}This was removed in 5.2{deprecated}| > |{noformat}{deprecated:since=5.2}This was removed in 5.2{deprecated} And > this is still there.{noformat}|{deprecated:since=5.2}This was removed in > 5.2{deprecated} And this is still there.| > |{noformat}{since:since=5.2}{since}{noformat}|{since:since=5.2}{since}| > |{noformat}{deprecated:since=5.2}{deprecated}{noformat}|{deprecated:since=5.2}{deprecated}| > > Full Content > > We have two user macros to mark deprecated or newly added features: {since} > and {deprecated}. Both aren't optimal (we can still style them if we see > the need) and don't work within tables or similar structures (maybe the > versions without any parameters do, I haven't tried). > The since macro > > Examples: > > {since}This got added in 5.2{since} > > This got added in 5.2 > > {since:since=5.2}This got added in 5.2{since} And this was always there. > > *Added in 5.2* > > This got added in 5.2 > And this was always there. > > {since:since=5.2}{since} > > *Added in 5.2* > The deprecated macro > > Examples: > > {deprecated}This was removed in 5.2{deprecated} > > This was removed in 5.2 > > {deprecated:since=5.2}This was removed in 5.2{deprecated} And this is still > there. > > *Deprecated since 5.2* > > This was removed in 5.2 > And this is still there. > > {deprecated:since=5.2}{deprecated} > > *Deprecated since 5.2* > Change Notification > Preferences<https://cwiki.apache.org/confluence/users/viewnotifications.action> > View > Online<https://cwiki.apache.org/confluence/display/TAPESTRY/Since+and+Deprecated+User+Macros>| > View > Changes<https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=23339538&revisedVersion=2&originalVersion=1> > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com
