From the Affinity Projects Wiki
Generate a list of threads and comments for a forum:
[[#thread]]
(:if equal {<$Group}:)
||border=1 bordercolor=silver cellpadding=2 cellspacing=1 class=thread
||! '-Thread-'||!'-Author-' ||!'-Last modified-' ||!'-Comments-' ||!'-Latest comment-' ||(:if:)
|| '-[[{=$FullName} | {=$LastModifiedSummary}]]-'||'-[[~{=$LastModifiedBy}]]-' ||'-{=$LastModified}-' ||'-[[{=$Group}Comment.{=$Name}?action=browse | {{=$Group}Comment.{=$Name}$PostCountText}]]-' ||'-(:if exists {{=$Group}Comment.{=$Name} :){{=$Group}Comment.{=$Name}$LastModified}(:else:) (:ifend:)-' ||
[[#threadend]]
Generate a list of forum pages, extracting the suffix
[[#forum]]
* [[{=$FullName} | {(substr "{=$Title}" (strlen "{$Title}-"))}]]: {=$LastModifiedSummary}
[[#forumend]]
Copyright © 2025 the Affinity Projects wiki and its authors — Attribution ShareAlike
Retrieved from http://intranet.affinity.co.nz/projects/Site/LocalTemplates
Page last modified on 12 February 2009 at 09:08 AM