Skip to main content »

Trinity College Dublin

NewsListTemplates

fmt=#news

Includes whole pages, with titles as links to the pages, seperated by a horizontal rule underneath each page's content. edit link at right. comment link at right. creation date.

[[#news]]

----
!!![[{=$FullName}|[+{=$Title}+]]]
(:include {=$FullName}:)
(:if equal {>$Group}:)
(:title {$Title}:)(:if:)
[[<<]]
>>rfloat<< -- created {=$NewsDate}

(:if auth edit:)
%rfloat%[[{=$FullName}?action=edit|[-edit-]]](:if:)

[[<<]]

(:if exists NewsComments.{=$Name}:)[[NewsComments.{=$Name}#comments|See Comments]]({NewsComments.{=$Name}$PostCount})(:if:)
>><<

>>rfloat<<(:if !exists NewsComments.{=$Name}:)(:if auth edit:)
[[NewsComments.{=$Name}?action=set#commentbox| Add Comment]]
(:if:)
(:if:)
>><<

----

[[#newsend]]

#newstitles

pagelist of spaced news titles for sidebar, without group heading.

[[#newstitles]](:if equal {<$Group}:)
>>newstitles<<(:if:)
* [[{=$FullName}|{=$NewsTitle}]]
(:if equal {>$Group}:)
>><<(:if:)
[[#newstitlesend]]

#newsdatedtitles

pagelist of spaced news titles for sidebar, without group heading, with simple creation date

[[#newsdatedtitles]](:if equal {<$Group}:)
>>newstitles<<(:if:)
[-{=$NewsDateSimple} - -]
* [[{=$FullName}|{=$NewsTitle}]]
(:if equal {>$Group}:)
>><<(:if:)
[[#newsdatedtitlesend]]

#commentsdatedtitles

pagelist of spaced news titles for sidebar, without group heading, with simple modification date

[[#commentsdatedtitles]](:if equal {<$Group}:)
>>newstitles<<(:if:)
[-{=$LastModifiedDate} - -]
* [[{=$FullName}#comment{=$PostCount}|{=$NewsTitle}]]
(:if equal {>$Group}:)
>><<(:if:)
[[#commentsdatedtitlesend]]

#newsmonthtitles

pagelist of spaced news titles for sidebar, without group heading.

[[#newsmonthtitles]](:if equal {<$Group}:)
>>newsmonthtitles<<(:if:)
* [[{=$FullName}|{=$NewsMonth}]]
(:if equal {>$Group}:)
>><<(:if:)
[[#newsmonthtitlesend]]
Page last modified on December 03, 2008
© 2008-2012 Neural Engineering Group - Trinity College Dublin