Kinhost dot Org
Site

LocalTemplates

PageListTemplates

fmt=#pagetrail

[[#pagetrail]]
(:template default wrap=inline TrailPage="{*$Groupspaced}" name=-HomePage,-RecentChanges,-RecentUploads,-SideBar,-Template,-GroupHeader,-GroupFooter,-GroupAttributes:)
(:template each:)
(:if equal "{*$FullName}" "{=$FullName}":)
%wikitrail%[[{<$FullName} |+]] < [[{$$TrailPage}|+]] > [[{>$FullName}|+]]
(:ifend:)
[[#pagetrailend]]

fmt=#grouptitle

Output by group with full current title rather than pagename.

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

!!![[{=$Group}/|+]]
(:template each:)
* [[{=$FullName}|{=$Titlespaced}]](:if auth edit:)%newwin red%[[{=$FullName}?action=edit|&mdash; edit]]%%(:if:)
[[#grouptitleend]]

#Filename - for command line delete of comments

[[#Filename]]
(:template defaults order=title wrap=inline:)
(:template each:)
{=$Group}.{=$Name} \
[[#Filenameend]]

#TitleDescription

[[#TitleDescription]]
(:template defaults order=title:)
* [[{=$FullName}|{=$Titlespaced}]] - {=$Description}(:if auth edit:)%newwin red%[[{=$FullName}?action=edit|&mdash; edit]]%%(:if:)
[[#TitleDescriptionend]]

#bygroupt

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

(:if equal {=$Group} "Main":)
!!![[Main/ManualTOC|+]](:else:)
!!![[{=$Group}/|+]](:if:)
(:template each:)
*[[{=$Group}/{=$Name}|{=$Titlespaced}]](:if auth edit:) | %newwin%[[{=$FullName}?action=edit|edit]] - %gray%{(ftime "%m/%d/%Y" @{=$LastModifiedTime})}%%(:if:)
[[#bygrouptend]]
(:pagelist group={$Group} fmt=#bygroupt count=6 list=normal:)

#archives

[[#archives]]
* {(ftime when={{=$FullName}$:timestamp})} EST - [[{=$FullName}|+]] - {{=$FullName}$Description}(:if auth edit:) | [[{=$FullName}?action=edit|edit]](:if:)
[[#archivesend]]
(:pagelist group={$Group} fmt=#archives count=6 list=normal:)

fmt=#editlist

[[#editlist]]
(:template defaults order=title:)
* %newwin%[[{=$FullName}|{=$Titlespaced}]] | %newwin%[[{=$FullName}?action=edit|edit]] - %gray%{(ftime "%m/%d/%Y" {=$CTime})}%%
[[#editlistend]]
(:pagelist group={$Group} fmt=#editlist count=6 list=normal:)

fmt=#includedraft

A full-text list of all drafts on the site.

[[#includedraft]]
----
!!%newwin%[[{=$FullName}?action=edit|{=$Titlespaced}]]
- %gray%{(ftime "%m/%d/%Y" {=$CTime})}%%
(:include {=$FullName} self=0:)
%right newwin%[[[[{=$FullName}?action=edit|...edit...]]
[[#includedraftend]]

fmt=#bloginclude

Concatenate the text of pages in the list. (Note, this can be an expensive operation!)

[[#bloginclude]]
!![[{=$FullName}|{=$Titlespaced}]](:if auth edit:) | %newwin%[[{=$FullName}?action=edit|edit]] - %gray%{(ftime "%m/%d/%Y" @{=$LastModifiedTime})}%%(:if:)
''{=$Description}''

(:include {=$FullName} self=0:)

----
[[#blogincludeend]]

fmt=#mailmeform - for PmForm

[[#mailmeform]]
(:template defaults successpage='' :)
(:input pmform target={$$target} successpage={$$successpage} :)
(:input default request=1:)
>>red<<
(:messages:)
>><<
%comment% $[Subject]:      (:input text id=Subject label="leave this field blank" size=30:)
||width='' 
|| Name:||(:input text id=name label=name size=30:) ||
|| Phone:||(:input text id=phone label=phone size=30:) ||
|| Email:||(:input text id=email label=email size=30:) ||
$[Comments]:\\
(:input textarea id=comments rows=8 cols=60:)\\
(:input checkbox id=GDPRemailauth label="I give permission for you to store my information on your email server and computers that store email, and to email me back about my comments." "I give permission for you to store my information on your email server and computers that store email, and to email me back about my comments.":)

Enter code: {$Captcha} (:input captcha:)
(:input submit name=post label=submit value='$[Send]':)
(:input end:)
[[#mailmeformend]]

#mailmepost - for PmForm

[[#mailmepost]]
(:template require name errmsg="$[Please enter your name]" :)
(:template require Subject match="" errmsg="$[Please leave the subject field blank]" :)
(:template require comments errmsg="$[Comments required]" :) 
(:template requires GDPRemailauth errmsg="Your permission to receive and store your email is required.":)
(:template requires if="captcha" errmsg="Please re-enter the message code" :)
Name: {$$name}
Phone: {$$phone}
Email: {$$email}

{$$comments}

GDPR Permission(s) Granted: 
{$$GDPRemailauth}

==========
Sent via {$$PageUrl}
[[#mailmepostend]]