Recent Changes - Search:

add Test Extensions page

hide Test Extensions

Test Extensions


hide Topics

Topics

show Changed

Changed

Visitor's book Site map pmwiki-2.5.5

TL Question Vars

Category: Extensions

example
(:pagelist group=Trips fmt="Test/TLQuestionVars#testcaption" count=2 wrap=none:)
example
(:pagelist group=* fmt={$FullName}#testcaption count=1 wrap=none:)

group=* name= count=1 order=random

Trips.2022-07-30HokakuraHurunui,Day4
Simon and Bruce heading up Hurunui in snow stitch cr
Photographer; Alan
2022-08-02 09.39.31; Metadata time: '2022 Aug 02 09:39'
Original size: 5,546 x 2,994; 12,255 kB; {i:2;}
Filename: 2022-08-02 09.39.31 DSC02879 Alan - Simon and Bruce heading up Hurunui in snow_stitch_cr.jpg
Simon and Bruce heading up Hurunui in snow stitch cr

📷 Alan

Simon and Bruce heading up Hurunui in snow stitch cr Photographer; Alan 2022-08-02 09.39.31; Metadata time: '2022 Aug 02 09:39' Original size: 5,546 x 2,994; 12,255 kB; {i:2;}

Filename: 2022-08-02 09.39.31 DSC02879 Alan - Simon and Bruce heading up Hurunui in snow_stitch_cr.jpg
Filename = '2022-08-02 09.39.31 DSC02879 Alan - Simon and Bruce heading up Hurunui in snow_stitch_cr'
example
(:pagelist group=* fmt=#testcaption count=4 wrap=none:)

group=* name= count=4 order=random

Trips.2024-03-01ShigaKōgenAndŌsaka,Day07
Jim, Adrian and Kevin breakfasting at Hotel Alpenburg
Photographer; Simon
2024-03-07 07.36.45; Metadata time: '2024 Mar 07 07:36'
Original size: 9,248 x 6,936; 13,217 kB
Filename: 2024-03-07 07.36.45 S20+ Simon - Jim, Adrian and Kevin breakfasting at Hotel Alpenburg.jpg
Jim, Adrian and Kevin breakfasting at Hotel Alpenburg

📷 Simon

Jim, Adrian and Kevin breakfasting at Hotel Alpenburg Photographer; Simon 2024-03-07 07.36.45; Metadata time: '2024 Mar 07 07:36' Original size: 9,248 x 6,936; 13,217 kB

Filename: 2024-03-07 07.36.45 S20+ Simon - Jim, Adrian and Kevin breakfasting at Hotel Alpenburg.jpg
Filename = '2024-03-07 07.36.45 S20+ Simon - Jim, Adrian and Kevin breakfasting at Hotel Alpenburg'
Trips.2025-02-24Washington,Maps
SV winter-trail map front side
2024-11-15
Original size: 4,849 x 2,946; 11,484 kB
Filename: 20241115_SV_winter-trail_map_front_side.jpg
SV winter-trail map front side

SV winter-trail map front side

2024-11-15 Original size: 4,849 x 2,946; 11,484 kB

Filename: 20241115_SV_winter-trail_map_front_side.jpg
Filename = '20241115_SV_winter-trail_map_front_side'
Trips.2011-01-22Caving,Day4
Gunner gutter cafe breakfast
Photographer; Simon
2011-01-25 08.45.05; Metadata time: '2011 Jan 25 08:45'
Original size: 4,000 x 3,000; 6,054 kB
Filename: 2011-01-25 08.45.05 P1020012 Simon Gunner gutter cafe breakfast.jpeg
Gunner gutter cafe breakfast

📷 Simon

Gunner gutter cafe breakfast Photographer; Simon 2011-01-25 08.45.05; Metadata time: '2011 Jan 25 08:45' Original size: 4,000 x 3,000; 6,054 kB

Filename: 2011-01-25 08.45.05 P1020012 Simon Gunner gutter cafe breakfast.jpeg
Filename = '2011-01-25 08.45.05 P1020012 Simon Gunner gutter cafe breakfast'
Snow.HomePage
Brokenriver Logo

Original size: 100 x 33; 1 kB
Filename: brokenriver_logo.gif
Brokenriver Logo

Brokenriver Logo

Original size: 100 x 33; 1 kB

Filename: brokenriver_logo.gif
Filename = 'brokenriver_logo'


    (:pagelist group={$Group} name={$Name} fmt=#testcaption wrap=none order=name count=111:)
    

    group=TestExtensions name=TLQuestionVars count=111 order=name

    TestExtensions.TLQuestionVars

    Messages

    kwtlquestionvars.php

    kwtlquestionvars.php

    <hr>D:\Home\KiwiWiki\pmwiki\extensions\KWTLQuestionVars\KWTLQuestionVars.php: '2025-02-20'
    conf[]: akey: debugKWTLQuestionVars, =dir, =url, KWTLQuestionVarsHidden
    Array ( [debugKWTLQuestionVars] => true [=dir] => D:\Home\KiwiWiki\pmwiki\extensions/KWTLQuestionVars [=url] => https://kiwiwiki.nz/pmwiki/extensions/KWTLQuestionVars [KWTLQuestionVarsHidden] => hidden )

    kwtlquestionvars\tlqvparsefilename()

    kwtlquestionvars\tlqvparsefilename()

    theFilename: '"2022-08-02 09.39.31 DSC02879 Alan - Simon and Bruce heading up Hurunui in snow_stitch_cr"'
    theDate: '"2022-08-02"; "09.39.31 DSC02879 Alan - Simon and Bruce heading up Hurunui in snow_stitch_cr"'
    theTime: '"09.39.31"; "DSC02879 Alan - Simon and Bruce heading up Hurunui in snow_stitch_cr"'
    theDevice: '""; "DSC02879 Alan - Simon and Bruce heading up Hurunui in snow_stitch_cr"'
    theImageIdentifier: '"DSC02879"; "Alan - Simon and Bruce heading up Hurunui in snow_stitch_cr"'
    thePhotographer: '"Alan"; "Simon and Bruce heading up Hurunui in snow_stitch_cr"'
    thePanoramaSignifier: '""; "Simon and Bruce heading up Hurunui in snow_stitch_cr"'
    theJunk: '""; "Simon and Bruce heading up Hurunui in snow_stitch_cr"'
    theSuffix: '"{i:2;}"; "Simon and Bruce heading up Hurunui in snow_stitch_cr"'
    theFilename: '"2024-03-07 07.36.45 S20+ Simon - Jim, Adrian and Kevin breakfasting at Hotel Alpenburg"'
    theDate: '"2024-03-07"; "07.36.45 S20+ Simon - Jim, Adrian and Kevin breakfasting at Hotel Alpenburg"'
    theTime: '"07.36.45"; "S20+ Simon - Jim, Adrian and Kevin breakfasting at Hotel Alpenburg"'
    theDevice: '"S20+"; "Simon - Jim, Adrian and Kevin breakfasting at Hotel Alpenburg"'
    theImageIdentifier: '""; "Simon - Jim, Adrian and Kevin breakfasting at Hotel Alpenburg"'
    thePhotographer: '"Simon"; "Jim, Adrian and Kevin breakfasting at Hotel Alpenburg"'
    thePanoramaSignifier: '""; "Jim, Adrian and Kevin breakfasting at Hotel Alpenburg"'
    theJunk: '""; "Jim, Adrian and Kevin breakfasting at Hotel Alpenburg"'
    theSuffix: '""; "Jim, Adrian and Kevin breakfasting at Hotel Alpenburg"'
    theFilename: '"20241115_SV_winter-trail_map_front_side"'
    theDate: '"20241115"; "SV_winter-trail_map_front_side"'
    theTime: '""; "SV_winter-trail_map_front_side"'
    theDevice: '""; "SV_winter-trail_map_front_side"'
    theImageIdentifier: '""; "SV_winter-trail_map_front_side"'
    thePhotographer: '""; "SV_winter-trail_map_front_side"'
    thePanoramaSignifier: '""; "SV_winter-trail_map_front_side"'
    theJunk: '""; "SV_winter-trail_map_front_side"'
    theSuffix: '""; "SV_winter-trail_map_front_side"'
    theFilename: '"2011-01-25 08.45.05 P1020012 Simon Gunner gutter cafe breakfast"'
    theDate: '"2011-01-25"; "08.45.05 P1020012 Simon Gunner gutter cafe breakfast"'
    theTime: '"08.45.05"; "P1020012 Simon Gunner gutter cafe breakfast"'
    theDevice: '""; "P1020012 Simon Gunner gutter cafe breakfast"'
    theImageIdentifier: '"P1020012"; "Simon Gunner gutter cafe breakfast"'
    thePhotographer: '"Simon"; "Gunner gutter cafe breakfast"'
    thePanoramaSignifier: '""; "Gunner gutter cafe breakfast"'
    theJunk: '""; "Gunner gutter cafe breakfast"'
    theSuffix: '""; "Gunner gutter cafe breakfast"'
    theFilename: '"brokenriver_logo"'
    theDate: '""; "brokenriver_logo"'
    theTime: '""; "brokenriver_logo"'
    theDevice: '""; "brokenriver_logo"'
    theImageIdentifier: '""; "brokenriver_logo"'
    thePhotographer: '""; "brokenriver_logo"'
    thePanoramaSignifier: '""; "brokenriver_logo"'
    theJunk: '""; "brokenriver_logo"'
    theSuffix: '""; "brokenriver_logo"'
    theFilename: '"2013-04-24 08.41.30 P1050058 Simon - Slaty Creek Hut"'
    theDate: '"2013-04-24"; "08.41.30 P1050058 Simon - Slaty Creek Hut"'
    theTime: '"08.41.30"; "P1050058 Simon - Slaty Creek Hut"'
    theDevice: '""; "P1050058 Simon - Slaty Creek Hut"'
    theImageIdentifier: '"P1050058"; "Simon - Slaty Creek Hut"'
    thePhotographer: '"Simon"; "Slaty Creek Hut"'
    thePanoramaSignifier: '""; "Slaty Creek Hut"'
    theJunk: '""; "Slaty Creek Hut"'
    theSuffix: '""; "Slaty Creek Hut"'
    theFilename: '"2019-11-11 18.14.21 P1000736 Jim - Simon and Brian arriving at Rakeahua Hut"'
    theDate: '"2019-11-11"; "18.14.21 P1000736 Jim - Simon and Brian arriving at Rakeahua Hut"'
    theTime: '"18.14.21"; "P1000736 Jim - Simon and Brian arriving at Rakeahua Hut"'
    theDevice: '""; "P1000736 Jim - Simon and Brian arriving at Rakeahua Hut"'
    theImageIdentifier: '"P1000736"; "Jim - Simon and Brian arriving at Rakeahua Hut"'
    thePhotographer: '"Jim"; "Simon and Brian arriving at Rakeahua Hut"'
    thePanoramaSignifier: '""; "Simon and Brian arriving at Rakeahua Hut"'
    theJunk: '""; "Simon and Brian arriving at Rakeahua Hut"'
    theSuffix: '""; "Simon and Brian arriving at Rakeahua Hut"'
    theFilename: '"2008-09-06 1 Brian"'
    theDate: '"2008-09-06"; "1 Brian"'
    theTime: '""; "1 Brian"'
    theDevice: '""; "1 Brian"'
    theImageIdentifier: '""; "1 Brian"'
    thePhotographer: '""; "1 Brian"'
    thePanoramaSignifier: '""; "1 Brian"'
    theJunk: '""; "1 Brian"'
    theSuffix: '""; "1 Brian"'
    theFilename: '"2022-08-03 09.12.10 IMG_0439 Brian - rainbow over the Hurunui Valley from Hurunui 3 Hut"'
    theDate: '"2022-08-03"; "09.12.10 IMG_0439 Brian - rainbow over the Hurunui Valley from Hurunui 3 Hut"'
    theTime: '"09.12.10"; "IMG_0439 Brian - rainbow over the Hurunui Valley from Hurunui 3 Hut"'
    theDevice: '""; "IMG_0439 Brian - rainbow over the Hurunui Valley from Hurunui 3 Hut"'
    theImageIdentifier: '"IMG_0439"; "Brian - rainbow over the Hurunui Valley from Hurunui 3 Hut"'
    thePhotographer: '"Brian"; "rainbow over the Hurunui Valley from Hurunui 3 Hut"'
    thePanoramaSignifier: '""; "rainbow over the Hurunui Valley from Hurunui 3 Hut"'
    theJunk: '""; "rainbow over the Hurunui Valley from Hurunui 3 Hut"'
    theSuffix: '""; "rainbow over the Hurunui Valley from Hurunui 3 Hut"'
    theFilename: '"2020-03-03 09.26.18 LG6 Simon - Jim ready to ski Deer Valley"'
    theDate: '"2020-03-03"; "09.26.18 LG6 Simon - Jim ready to ski Deer Valley"'
    theTime: '"09.26.18"; "LG6 Simon - Jim ready to ski Deer Valley"'
    theDevice: '"LG6"; "Simon - Jim ready to ski Deer Valley"'
    theImageIdentifier: '""; "Simon - Jim ready to ski Deer Valley"'
    thePhotographer: '"Simon"; "Jim ready to ski Deer Valley"'
    thePanoramaSignifier: '""; "Jim ready to ski Deer Valley"'
    theJunk: '""; "Jim ready to ski Deer Valley"'
    theSuffix: '""; "Jim ready to ski Deer Valley"'
    theFilename: '"2A_0119"'
    theDate: '""; "2A_0119"'
    theTime: '""; "2A_0119"'
    theDevice: '""; "2A_0119"'
    theImageIdentifier: '""; "2A_0119"'
    thePhotographer: '""; "2A_0119"'
    thePanoramaSignifier: '""; "2A_0119"'
    theJunk: '""; "2A_0119"'
    theSuffix: '""; "2A_0119"'
    theFilename: '"2016-03-01 14.43.48 P1000764 Simon - Adrian near the Imperial Palace"'
    theDate: '"2016-03-01"; "14.43.48 P1000764 Simon - Adrian near the Imperial Palace"'
    theTime: '"14.43.48"; "P1000764 Simon - Adrian near the Imperial Palace"'
    theDevice: '""; "P1000764 Simon - Adrian near the Imperial Palace"'
    theImageIdentifier: '"P1000764"; "Simon - Adrian near the Imperial Palace"'
    thePhotographer: '"Simon"; "Adrian near the Imperial Palace"'
    thePanoramaSignifier: '""; "Adrian near the Imperial Palace"'
    theJunk: '""; "Adrian near the Imperial Palace"'
    theSuffix: '""; "Adrian near the Imperial Palace"'

    #testcaption

    display a random image

    >>comment<<
    [[#testcaption]]
    (:template default order=random count=1 group=Trips if="attachments":)
    (:template first:)
    !!!! group={$$group} name={$$name} count={$$count} order={$$order}
    (:template each:)
    !!!!! [[{=$FullName}]]
    (:thumblist captionfmt="?x_kwcaption?n?n?x_kwtitle?nFilename = '?i'" titlefmt="?x_kwtitle" {=$FullName} px=20 link=2 order={$$order} order2=name count=1:)
    [[#testcaptionend]]
    >><<
    
    (:pagelist fmt=#testcaption count=8 px=32:)
    

    (:template default order=random count=1 group=Trips if="attachments":) (:template first:)

    group={$$group} name={$$name} count={$$count} order={$$order}

    (:template each:)

    {=$FullName}?

    group=Trips name= count=8 order=random

    Trips.2013-04-20Hope-Tutaekuri-Waiheke-Doubtful-Nina,Day5
    Slaty Creek Hut
Photographer; Simon
2013-04-24 08.41.30; Metadata time: '2013 Apr 24 08:41'
Original size: 4,000 x 3,000; 6,695 kB
Filename: 2013-04-24 08.41.30 P1050058 Simon - Slaty Creek Hut.jpeg
    Slaty Creek Hut

    📷 Simon

    Slaty Creek Hut Photographer; Simon 2013-04-24 08.41.30; Metadata time: '2013 Apr 24 08:41' Original size: 4,000 x 3,000; 6,695 kB

    Filename: 2013-04-24 08.41.30 P1050058 Simon - Slaty Creek Hut.jpeg
    Filename = '2013-04-24 08.41.30 P1050058 Simon - Slaty Creek Hut'
    Trips.2019-11-09RakiuraSouthernCircuit,Day02
    Simon and Brian arriving at Rakeahua Hut
Photographer; Jim
2019-11-11 18.14.21; Metadata time: '2019 Nov 11 18:14'
Original size: 4,320 x 3,240; 5,198 kB
Filename: 2019-11-11 18.14.21 P1000736 Jim - Simon and Brian arriving at Rakeahua Hut.jpeg
    Simon and Brian arriving at Rakeahua Hut

    📷 Jim

    Simon and Brian arriving at Rakeahua Hut Photographer; Jim 2019-11-11 18.14.21; Metadata time: '2019 Nov 11 18:14' Original size: 4,320 x 3,240; 5,198 kB

    Filename: 2019-11-11 18.14.21 P1000736 Jim - Simon and Brian arriving at Rakeahua Hut.jpeg
    Filename = '2019-11-11 18.14.21 P1000736 Jim - Simon and Brian arriving at Rakeahua Hut'
    Trips.2008-08-07RuahinesTopForks
    1 Brian
2008-09-06
Original size: 790 x 1,185; 387 kB
Filename: 2008-09-06 1 Brian.jpeg
    1 Brian

    1 Brian

    2008-09-06 Original size: 790 x 1,185; 387 kB

    Filename: 2008-09-06 1 Brian.jpeg
    Filename = '2008-09-06 1 Brian'
    Trips.BlueLake,Maps
    Trips.2022-07-30HokakuraHurunui,Day5
    Rainbow over the Hurunui Valley from Hurunui  3 Hut
Photographer; Brian
2022-08-03 09.12.10; Metadata time: '2022 Aug 03 09:12'
Original size: 5,472 x 3,648; 5,520 kB
Filename: 2022-08-03 09.12.10 IMG_0439 Brian - rainbow over the Hurunui Valley from Hurunui 3 Hut.jpeg
    Rainbow over the Hurunui Valley from Hurunui 3 Hut

    📷 Brian

    Rainbow over the Hurunui Valley from Hurunui 3 Hut Photographer; Brian 2022-08-03 09.12.10; Metadata time: '2022 Aug 03 09:12' Original size: 5,472 x 3,648; 5,520 kB

    Filename: 2022-08-03 09.12.10 IMG_0439 Brian - rainbow over the Hurunui Valley from Hurunui 3 Hut.jpeg
    Filename = '2022-08-03 09.12.10 IMG_0439 Brian - rainbow over the Hurunui Valley from Hurunui 3 Hut'
    Trips.2020-02-27Utah,Day06
    Jim ready to ski Deer Valley
Photographer; Simon
2020-03-03 09.26.18; Metadata time: '2020 Mar 03 09:26'
Original size: 4,160 x 3,120; 5,939 kB
Filename: 2020-03-03 09.26.18 LG6 Simon - Jim ready to ski Deer Valley.jpeg
    Jim ready to ski Deer Valley

    📷 Simon

    Jim ready to ski Deer Valley Photographer; Simon 2020-03-03 09.26.18; Metadata time: '2020 Mar 03 09:26' Original size: 4,160 x 3,120; 5,939 kB

    Filename: 2020-03-03 09.26.18 LG6 Simon - Jim ready to ski Deer Valley.jpeg
    Filename = '2020-03-03 09.26.18 LG6 Simon - Jim ready to ski Deer Valley'
    Trips.2006-07-23-Matiu
    2 A  0119

Original size: 1,536 x 1,024; 385 kB
Filename: 2A_0119.jpg
    2 A 0119

    2 A 0119

    Original size: 1,536 x 1,024; 385 kB

    Filename: 2A_0119.jpg
    Filename = '2A_0119'
    Trips.2016-02-22Niseko,Day9
    Adrian near the Imperial Palace
Photographer; Simon
2016-03-01 14.43.48; Metadata time: '2016 Mar 01 14:43'
Original size: 3,456 x 4,608; 5,162 kB
Filename: 2016-03-01 14.43.48 P1000764 Simon - Adrian near the Imperial Palace.jpeg
    Adrian near the Imperial Palace

    📷 Simon

    Adrian near the Imperial Palace Photographer; Simon 2016-03-01 14.43.48; Metadata time: '2016 Mar 01 14:43' Original size: 3,456 x 4,608; 5,162 kB

    Filename: 2016-03-01 14.43.48 P1000764 Simon - Adrian near the Imperial Palace.jpeg
    Filename = '2016-03-01 14.43.48 P1000764 Simon - Adrian near the Imperial Palace'

    tahi Page last modified on 2024 Jul 30 18:25

    Edit - History - Recent Changes - WikiHelp - Search - email page as link -> mailto:?Subject="KiwiWiki: TL Question Vars"&Body=