Home ~ Local Templates

fmt=#default

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

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

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

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

fmt=#clubcontact

Display club contact and meeting info on club page

[[#clubcontact]]
||cellpadding=5px
||President:||{=$:President}||
||Contact:||{=$:PresidentContact}||
||Meeting Night:||{=$:MeetingNight}||
||Time:||{=$:MeetingTime}||
||Location:||{=$:MeetingLocation}||
||||
%right padding-right=20px%[-''Information last updated {=$:InfoUpdated}''-]%%
(:ifend:)
[[#clubcontactend]]

fmt=#newsinclude

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

[[#newsinclude]]
(:include {=$FullName} self=0:)
----
[[#newsincludeend]]

fmt=#blogtitles

[[#blogtitles]]
(:if equal {<$Group}:)
>>blogtitles<<
(:if:)
* [[{=$FullName}|{(substr {=$Name} 0 10)}: {=$Titlespaced}]]
(:if equal {>$Group}:)
>><<
(:if:)
[[#blogtitlesend]]

fmt=#grouptrail2

A dynamic wiki trail produced from a pagelist command

[[#grouptrail2]]
(:template each :)
(:if equal {*$FullName} {=$FullName}:)
%wikitrail center%[[{<$FullName}| &laquo; prev ]] | [[{*$Groupspaced}|Kinship One]] | [[{>$FullName}| next &raquo; ]]
(:ifend:)
[[#grouptrail2end]]

fmt=#calendartrail2

A dynamic wiki trail produced from a pagelist command

[[#calendartrail2]]
(:template each :)
(:if equal {*$FullName} {=$FullName}:)
%wikitrail center%[[{<$FullName}| &laquo; prev ]] | [[Calendar.Index|Events Calendar]] | [[{>$FullName}| next &raquo; ]]
(:ifend:)
[[#calendartrail2end]]

fmt=#previousblog

[[#previousblog]]
(:template each :)
%wikitrail center%[[{=$FullName}| &laquo; prev ]] | [[{*$Groupspaced}|News]] | 
<br />
[[#previousblogend]]

fmt=#profile

[[#profile]]
(:template first:)

(:template each:)
(:thumb Profiles./Profile-{=$Name}.jpg width=288px rel="highslide" titlefmt="{=$Title}":)

>>frame font-size=12px<<
(:if captcha:)
Success!
||align=center cellspacing=5px
|| Email:||mailto:{{=$FullName}$:Email} ||
|| Work:||{{=$FullName}$:PhoneWork} ||
|| Home:||{{=$FullName}$:PhoneHome} ||
|| Cell:||{{=$FullName}$:PhoneCell} ||
|| Fax:||{{=$FullName}$:Fax} ||
|| Address:||{{=$FullName}$:Address1}<br />{{=$FullName}$:Address2} ||
|| ||{{=$FullName}$:City}, {{=$FullName}$:Province} ||
|| ||{{=$FullName}$:PostalCode} ||

(:else:)
<center>
Enter the code below
to display contact details
for {{=$FullName}$:FirstName}:

(:input form action={=$PageUrl} method=post:)
{$Captcha} (:input captcha:)

(:input submit value="Display Contact Information":)(:input end:)
</center>
(:ifend:)

>><<

(:template last:)
[[#profileend]]

fmt-#profilelisting

[[#profilelisting]]
(:template first:)
(:table cellspacing=5px align=center:)

(:template each:)
(:cellnr align=center:)
(:thumb Profile-{=$:FirstName}{=$:LastName}.jpg height=125px link={=$FullName} titlefmt="{=$Title}":)
(:cell valign=middle:)
->[[{=$FullName}|{=$:FirstName} {=$:LastName}]]
->[-[[{=$FullName}|''{=$:Position}'']]-]

(:template last:)
(:tableend:)
[[#profilelistingend]]

fmt-#contactlist

[[#contactlist]]
(:template first:)
>>font-size=12px<<
(:table cellspacing=5px align=center width=730px:)
(:cell width=200px:)'''Name / Position'''
(:cell width=150px:)'''Telephone'''
(:cell:)'''Fax'''
(:cell:)'''Email'''
(:cellnr height=3px colspan=4 style="border-bottom: 1px solid #cccccc":)

(:template each:)
(:cellnr:)
[[{=$FullName}|{=$:FirstName} {=$:LastName}]]
%color=#333333%''{=$:Position}''%%
(:cell:)
[-Res:-] {=$:PhoneHome}
[-Bus:-] {=$:PhoneWork}
[-Cell:-] {=$:PhoneCell}
(:cell:){=$:Fax}
(:cell:)mailto:{=$:Email}
(:cellnr height=3px colspan=4 style="border-bottom: 1px solid #cccccc":)

(:template last:)
(:tableend:)
>><<
[[#contactlist]]

fmt=#websitelist

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

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

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

(:template each:)
**{=$Titlespaced} - [[{{=$FullName}$:Website}]]
[[#websitelistend]]

fmt=#news

Outputs wiki page titles with spaces between the words in the title.

[[#news]]
(:template defaults order=title:)
* [[{=$FullName}|{=$Groupspaced} : {=$Titlespaced}]]
[[#newsend]]

fmt=#subnav

A simple list of page titles for the left nav submenu.

[[#subnav]]
(:template default order=title:)
*[[{=$FullName}|+]]
[[#subnavend]]



Thank you to our sponsors!



InternetAdvisor.ca - Russ Jackman