Search:

Tararua Tramping Club

Te rōpū hikoi o te pae maunga o Tararua   -   Celebrating 100 years of tramping

Webteam Test Markup

Search Webteam only

(:template each:)

{=$Name}? {=$Summary}

PageMonthNum = {$PageMonthNum}

PageMonth = {$PageMonth}

PageYear = {$PageYear}

Created = {$Created}

CreatedYear = {$CreatedYear}

CreatedTime = {$CreatedTime}

PageMonthNum =

PageMonth =

PageYear =

Created = 2013 Jun 27 09:23

CreatedYear = 2013

CreatedTime = 1372324986

Attempt to sort by page variable
(:pagelist name={$ThisYear}*,{$LastYear}* fmt=#fcsb group=FixtureCard :)

>>comment<<
[[#fcsb]]
(:template default group={$Group} order=-$PageYear,-$PageMonthNum :)
(:template first:)
||width=*                 %comment%test page exists + date of page now or in future + its a month page
(:template each:)  
(:if expr exists {=$FullName} AND date {=$PageYear}-{=$PageMonthNum}.. AND ! equal "{=$:Month}" "":)
||[[{=$FullName}"{=$PageYear} {=$PageMonth}" | {=$PageMonth}]] ||#{=$PageMonthNum} ||{=$PageYear} ||[-{=$FullName}-] ||
(:ifend:)
[[#fcsbend]]
>><<

(:template default group=Webteam order=-$PageYear,-$PageMonthNum :) (:template first:)

(:template each:)


Display page text variables for each page; sort by -monthnum
(:pagelist name={$ThisYear}*,{$LastYear}* fmt=#fcvars group=FixtureCard order=-$:MonthNum :)

>>comment<<
[[#fcvars]]
(:template first:)
||width=* class=tabtable
||!full page name ||!year ||!monthnum ||!month ||
||![@{=$FullName}@] ||![@{=$:Year}@] ||![@{=$:MonthNum}@] ||![@{=$:Month}@] ||
(:template each:)
||[[{=$FullName}]] &nbsp; ||{=$:Year} ||{=$:MonthNum} ||{=$:Month} ||
[[#fcvarsend]]
>><<

(:template first:)

full page nameyearmonthnummonth
{=$FullName}{=$:Year}{=$:MonthNum}{=$:Month}

(:template each:)

{=$FullName}?  {=$:Year}{=$:MonthNum}{=$:Month}

Display page text variables for each page; sort by -year,-monthnum
(:pagelist name={$ThisYear}*,{$LastYear}* fmt=#fcvars group=FixtureCard order=-$:Year,-$:MonthNum :)
Display page text variables for each page; sort by -year,-month
(:pagelist name={$ThisYear}*,{$LastYear}* fmt=#fcvars group=FixtureCard order=-$:Year,-$:Month :)
 {(ftime fmt="%b %e %Y" when="second mon of Jan")}
 {(ftime fmt="%b %e %Y" when="Second tue of Feb")}
 {(ftime fmt="%b %e %Y" when="second Wed of Mar")}
 {(ftime fmt="%b %e %Y" when="Second Thu of Apr")}
 {(ftime fmt="%b %e %Y" when="second fri of May")}
 {(ftime fmt="%b %e %Y" when="second sat of Jun")}
 {(ftime fmt="%b %e %Y" when="third  sun of Jul")}
 {(ftime fmt="%b %e %Y" when="fourth mon of Aug")}
 {(ftime fmt="%b %e %Y" when="first  tue of Sep")}
 {(ftime fmt="%b %e %Y" when="second wed of Oct this year")}
 {(ftime fmt="%b %e %Y" when="last thu of Nov")}
 {(ftime fmt="%b %e %Y" when="first  wed of Dec 2014")}
----
 {(ftime fmt="%b %e %Y" when="second Monday of January")}
 {(ftime fmt="%b %e %Y" when="second Tuesday of February")}
...
 {(ftime fmt="%b %e %Y" when="first Wednesday of December")}

Jan 12 2026 Feb 10 2026 Mar 11 2026 Apr 9 2026 May 8 2026 Jun 13 2026 Jul 19 2026 Aug 24 2026 Sep 1 2026 Oct 14 2026 Nov 26 2026 Dec 3 2014


Jan 12 2026 Feb 10 2026 ... Dec 2 2026

PmWiki version pmwiki-2.5.5 PHP Version PHP Version 5.4.33

gives the examples(approve sites):

  • "first sat of July 2008"

Page last modified on 2014 Oct 20 09:05