LocalTemplates

This is used for the automatic box page listings.


This is for the main listings
[[#bx]]
(:template first:)
(:div7 class=columns:)
(:template each:)
* [[{=$FullName}|'''{=$Titlespaced}''' ''{=$:Summary}'' ]] %item box% %list boxes%
(:template last:)
(:div7end:)
[[#bxend]]

This one is used in the sidebar
[[#title-trail]]
* [[{=$FullName}|{=$Titlespaced}]]
[[#title-trailend]]


[[#newpageform]]
(:input form action="{*$PageUrl}" method=post:)
Create new page:\\
(:input text newpagetitle list=dltitles size=40 placeholder="New page title":) \
(:input submit value="Go":) \
(:prefill-datalist id=dltitles pn=Site/DefaultGroupPages ptv=$:DefaultGroupPages :)
(:input end:)
[[#newpageformend]]


[[#boxes]]
(:template default list=normal name=-HomePage,-*-Talk:)
(:template first:)
'''Pages in the {*$Title} topic group'''
(:div7 class=columns:)
(:template each:)
* [[{=$FullName}|'''{=$Titlespaced}''' ''{=$:Summary}'' ]] %item box% %list boxes%
(:template last:)
(:div7end:)
(:include Site.LocalTemplates#newpageform:)
(:template none:)
'''Pages in the {*$Title} topic group'''\\
No pages yet, use the form below to create a new page.

(:include Site.LocalTemplates#newpageform:)
[[#boxesend]]

This is for TopicTrail unlisted groups
[[#unlisted]]
(:template first {=$Group}:)
* [[{=$Group}/]] ([[Site/Search?action=search&q={=$Group}/+list=all|list all pages]])
[[#unlistedend]]

This is for the search
[[#default]]
(:template first {=$Group}:)

:[[{=$Group}/|+]] /:
(:template each:)
: :[[{=$Group}/{=$Name}|+]] [- {=$:Summary} -]
[[#defaultend]]