From Active Image

Site: Local Templates

fmt=#default

The default template for pagelists when fmt= isn't specified.

[[#default]]
(:template first {=$Group}:)

[['''{=$Groupspaced}'''/]]:

(:template each:)
*[[{=$FullName}|{=$Titlespaced}]]
[[#defaultend]]

[[#blogdisplay]]
(:if auth edit:)
{[foxedit form=WeightLossBlog.EditBlogPost#blogdisplay ]}
(:foxprepend selectcategory:)

(:ifend:)
>>background-color:#eeeeee padding=5px border-top:'solid #999999 1px'<<
(:table:)
(:cell:)
[[Profiles.{{=$FullName}$:postauthor}|Attach:Profiles-{{=$FullName}$:postauthor}-50.jpg]]
(:cell width=350px:)
[-Posted {{=$FullName}$:postdate}-]
[-by [[Profiles.{{=$FullName}$:postauthor}|{{=$FullName}$:postauthor}]]-]
(:cell align=center:)
(:nolinebreaks:)
<div class="js-kit-rating" view="split" title="Rated item" permalink="{*$FullName}"></div>
(:linebreaks:)
(:tableend:)
>><<

!! {{=$FullName}$:posttitle}

[+'''''{{=$FullName}$:postdescription}'''''+]

{{=$FullName}$:postcontents}

>>background-color:#eeeeee padding=5px border-bottom:'solid #999999 2px'<<
(:table align=center:)
(:cell:)
(:nolinebreaks:)
<script type="text/javascript">var addthis_pub = "activeimage";</script>
<a href="http://www.addthis.com/bookmark.php" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-share-en.gif" width="125" height="16" border="0" alt="" /></a><script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></script>
(:linebreaks:)
(:cell width=15px:)
(:cell:)
[[{=$FullName}|Attach:button-permalink.jpg"Link to this post (permalink)"]]
(:cell width=15px:)
(:cell:)
[[http://twitter.com/activeimage|Attach:icon-twitter16.gif"Follow us on Twitter"]]
(:cell width=15px:)
(:cell:)
[[http://www.facebook.com/group.php?gid=4846788057|Attach:icon-facebook16.gif"Find us on Facebook"]]
(:tableend:)
<div class="js-kit-comments" label="Comment On This Post" paginate="8"></div>
>><<
[[#blogdisplayend]]

fmt=#blogtitles

[[#blogtitles]](:if equal {<$Group}:)
>>blogtitles<<(:if:)
* [[{=$Namespaced}]]
(:if equal {>$Group}:)
>><<(:if:)
[[#blogtitlesend]]

fmt=#headerinclude

[[#headerinclude]]
(:include {=$FullName} para=1:)
!!!!Full article [[{=$FullName}|[+{=$Title}+]]]
----
(:if equal {>$Group}:)
(:if:)
[[#headerincludeend]]

fmt=#bloginclude

[[#bloginclude]]
(:if auth edit:)
%rfloat%[[{=$FullName}?action=edit|[-edit-]]](:if:)
!!!![[{=$FullName}|{=$BlogDate}]] - {=$BlogTitle}
(:include {=$FullName}:)

*[-[[{=$FullName}|CLICK HERE]] to read or post comments for this entry ...-]
----
(:if equal {>$Group}:)
(:if:)
[[#includeend]]

fmt=#bloglist

A simple list of page titles. Use order=title to have them sorted by title (the default sort is by name).

[[#bloglist]]
[[{=$FullName}|{{=$FullName}$:posttitle}]] [-{{=$FullName}$:postdate} -]
[-{{=$FullName}$:postdescription}-]

[[#bloglistend]]

fmt=#displayblog

[[#displayblog]]

>>background-color:#eeeeee padding=5px border-top:'solid #999999 1px'<<
(:table:)
(:cell:)
[[Profiles.{{=$FullName}$:postauthor}|Attach:Profiles-{{=$FullName}$:postauthor}-50.jpg]]
(:cell width=350px:)
[-Posted {{=$FullName}$:postdate}-]
[-by [[Profiles.{{=$FullName}$:postauthor}|{{=$FullName}$:postauthor}]]-]
(:cell align=center:)
(:nolinebreaks:)
<div class="js-kit-rating" view="split" title="Rated item" permalink="{*$FullName}" path="/index.php/{=$Group}/{=$Name}"></div>
(:linebreaks:)
(:tableend:)
>><<

!! {{=$FullName}$:posttitle}

[+'''''{{=$FullName}$:postdescription}'''''+]

{{=$FullName}$:postcontents}

>>background-color:#eeeeee padding=5px border-bottom:'solid #999999 2px'<<
(:table align=center cellspacing=10px:)
(:cell:)
(:nolinebreaks:)
<script type="text/javascript">var addthis_pub = "activeimage";</script>
<a href="http://www.addthis.com/bookmark.php" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-share-en.gif" width="125" height="16" border="0" alt="" /></a><script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></script>
(:linebreaks:)
(:cell width=15px:)
(:cell:)
[[{=$FullName}|Attach:button-permalink.jpg"Link to this post (permalink)"]]
(:cell width=15px:)
(:cell:)
[[http://twitter.com/activeimage|Attach:icon-twitter16.gif"Follow us on Twitter"]]
(:cell width=15px:)
(:cell:)
[[http://www.facebook.com/group.php?gid=4846788057|Attach:icon-facebook16.gif"Find us on Facebook"]]
(:tableend:)
<div class="js-kit-comments" path="/index.php/{=$Group}/{=$Name}" label="Comment On This Post" paginate="3"></div>
(:tableend:)
>><<


[[#displayblogend]]

fmt=#blogtrail

[[#blogtrail]]
(:template first:)
(:table:)

(:template each:)
(:cellnr:)
* [[{=$FullName}|{{=$FullName}$:postdate}]]: {{=$FullName}$:posttitle}
(:cell:)
<div class="js-kit-rating" view="combo" title="Rated item" permalink="{*$FullName}" path="/index.php/{=$Group}/{=$Name}"></div>

(:template last:)
(:tableend:)

[[#blogtrailend]]

fmt=#grouptrail2

A dynamic wiki trail produced from a pagelist command

[[#grouptrail2]]
(:template each :)
(:if equal {*$FullName} {=$FullName}:)
%wikitrail center%[[{<$FullName}| &laquo; prev ]] | [[{*$Groupspaced}|Blog Home]] | [[{*$Group}/List|All Posts]] | [[{>$FullName}| next &raquo; ]]
(:ifend:)
[[#grouptrail2end]]

fmt=#bloglatestentry

[[#bloglatestentry]]
!! Healthy by Design: {{=$FullName}$:posttitle}

[+'''''{{=$FullName}$:postdescription}'''''+]

>>background-color:#eeeeee padding=5px border-top:'solid #999999 1px'<<
(:table:)
(:cell:)
[[Profiles.{{=$FullName}$:postauthor}|Attach:Profiles-{{=$FullName}$:postauthor}-50.jpg]]
(:cell width=350px:)
[-Posted {{=$FullName}$:postdate}-]
[-by [[Profiles.{{=$FullName}$:postauthor}|{{=$FullName}$:postauthor}]]-]
(:cell align=center:)
(:nolinebreaks:)
<div class="js-kit-rating" view="split" title="Rated item" permalink="{*$FullName}" path="/index.php/{=$Group}/{=$Name}"></div>
(:linebreaks:)
(:tableend:)
>><<

{{=$FullName}$:postcontents}

>>background-color:#eeeeee padding=5px border-bottom:'solid #999999 2px'<<
(:table align=center cellspacing=10px:)
(:cell:)
[-[[WeightLossBlog.Index|READ MORE BLOG POSTS ...]]-]
(:cell width=15px:)
(:cell:)
(:nolinebreaks:)
<script type="text/javascript">var addthis_pub = "activeimage";</script>
<a href="http://www.addthis.com/bookmark.php" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-share-en.gif" width="125" height="16" border="0" alt="" /></a><script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></script>
(:linebreaks:)
(:cell width=15px:)
(:cell:)
[[{=$FullName}|Attach:button-permalink.jpg"Link to this post (permalink)"]]
(:cell width=15px:)
(:cell:)
[[http://twitter.com/activeimage|Attach:icon-twitter16.gif"Follow us on Twitter"]]
(:cell width=15px:)
(:cell:)
[[http://www.facebook.com/group.php?gid=4846788057|Attach:icon-facebook16.gif"Find us on Facebook"]]
(:tableend:)
<div class="js-kit-comments" path="/index.php/{=$Group}/{=$Name}" label="Comment On This Post" paginate="3"></div>

>><<

[[#bloglatestentryend]]

Retrieved from http://www.activeimage.ca/index.php/Site/LocalTemplates
Page last modified on December 24, 2008, at 01:03 AM