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.2

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

Recipes.LemonChicken
example
(:pagelist group=* fmt=#testcaption count=4 wrap=none:)

group=* name= count=4 order=random

TableDB.ReadTable3
Trips.2025-02-24Washington,Day01
Nick at Vancouver Airport
Photo: Simon
2025-02-24 12.57.38; '2025 Feb 24 12:57'
Original size: 9,248 x 6,936; 12,938 kB
2025-02-24 12.57.38 S20+ Simon - Nick at Vancouver Airport.jpeg
Nick at Vancouver Airport

Photo: Simon

Nick at Vancouver Airport

Photo: Simon

2025-02-24 12.57.38; '2025 Feb 24 12:57' Original size: 9,248 x 6,936; 12,938 kB 2025-02-24 12.57.38 S20+ Simon - Nick at Vancouver Airport.jpeg
Filename = '2025-02-24 12.57.38 S20+ Simon - Nick at Vancouver Airport'

Holly.2009-07-18HollyGraduation
Flowers
2009-07-20 08.35.43; '2009 Jul 20 08:35'
Original size: 800 x 600; 165 kB
2009-07-20 08.35.43 flowers.jpeg
Flowers

Flowers

2009-07-20 08.35.43; '2009 Jul 20 08:35' Original size: 800 x 600; 165 kB 2009-07-20 08.35.43 flowers.jpeg
Filename = '2009-07-20 08.35.43 flowers'

Trips.2023-04-16MoerakiHaastParingaCattleTrack,Day03
Leaving Blue River Hut in the rain
Photo: Philip
2023-04-18 08.38.13; '2023 Apr 18 08:38'
Original size: 4,320 x 2,880; 4,979 kB
2023-04-18 08.38.13 P1070082 Philip - Leaving Blue River Hut in the rain.jpeg
Leaving Blue River Hut in the rain

Photo: Philip

Leaving Blue River Hut in the rain

Photo: Philip

2023-04-18 08.38.13; '2023 Apr 18 08:38' Original size: 4,320 x 2,880; 4,979 kB 2023-04-18 08.38.13 P1070082 Philip - Leaving Blue River Hut in the rain.jpeg
Filename = '2023-04-18 08.38.13 P1070082 Philip - Leaving Blue River Hut in the rain'



    (: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.co.nz/pmwiki/extensions/KWTLQuestionVars [KWTLQuestionVarsHidden] => hidden )

    kwtlquestionvars\tlqvparsefilename()

    kwtlquestionvars\tlqvparsefilename()

    theFilename: '"2025-02-24 12.57.38 S20+ Simon - Nick at Vancouver Airport"'
    theDate: '"2025-02-24"; "12.57.38 S20+ Simon - Nick at Vancouver Airport"'
    theTime: '"12.57.38"; "S20+ Simon - Nick at Vancouver Airport"'
    theDevice: '"S20+"; "Simon - Nick at Vancouver Airport"'
    theImageIdentifier: '""; "Simon - Nick at Vancouver Airport"'
    thePhotographer: '"Simon"; "Nick at Vancouver Airport"'
    thePanoramaSignifier: '""; "Nick at Vancouver Airport"'
    theJunk: '""; "Nick at Vancouver Airport"'
    theSuffix: '""; "Nick at Vancouver Airport"'
    theFilename: '"2009-07-20 08.35.43 flowers"'
    theDate: '"2009-07-20"; "08.35.43 flowers"'
    theTime: '"08.35.43"; "flowers"'
    theDevice: '""; "flowers"'
    theImageIdentifier: '""; "flowers"'
    thePhotographer: '""; "flowers"'
    thePanoramaSignifier: '""; "flowers"'
    theJunk: '""; "flowers"'
    theSuffix: '""; "flowers"'
    theFilename: '"2023-04-18 08.38.13 P1070082 Philip - Leaving Blue River Hut in the rain"'
    theDate: '"2023-04-18"; "08.38.13 P1070082 Philip - Leaving Blue River Hut in the rain"'
    theTime: '"08.38.13"; "P1070082 Philip - Leaving Blue River Hut in the rain"'
    theDevice: '""; "P1070082 Philip - Leaving Blue River Hut in the rain"'
    theImageIdentifier: '"P1070082"; "Philip - Leaving Blue River Hut in the rain"'
    thePhotographer: '"Philip"; "Leaving Blue River Hut in the rain"'
    thePanoramaSignifier: '""; "Leaving Blue River Hut in the rain"'
    theJunk: '""; "Leaving Blue River Hut in the rain"'
    theSuffix: '""; "Leaving Blue River Hut in the rain"'
    theFilename: '"2019-03-06 14.34.16 Jim - Simon on Lake Tahoe Beach_stitch"'
    theDate: '"2019-03-06"; "14.34.16 Jim - Simon on Lake Tahoe Beach_stitch"'
    theTime: '"14.34.16"; "Jim - Simon on Lake Tahoe Beach_stitch"'
    theDevice: '""; "Jim - Simon on Lake Tahoe Beach_stitch"'
    theImageIdentifier: '""; "Jim - Simon on Lake Tahoe Beach_stitch"'
    thePhotographer: '"Jim"; "Simon on Lake Tahoe Beach_stitch"'
    thePanoramaSignifier: '""; "Simon on Lake Tahoe Beach_stitch"'
    theJunk: '""; "Simon on Lake Tahoe Beach"'
    theSuffix: '"stitch"; "Simon on Lake Tahoe Beach"'
    theFilename: '"2020-03-02 06.12.16 P1030071 Simon - King Con run"'
    theDate: '"2020-03-02"; "06.12.16 P1030071 Simon - King Con run"'
    theTime: '"06.12.16"; "P1030071 Simon - King Con run"'
    theDevice: '""; "P1030071 Simon - King Con run"'
    theImageIdentifier: '"P1030071"; "Simon - King Con run"'
    thePhotographer: '"Simon"; "King Con run"'
    thePanoramaSignifier: '""; "King Con run"'
    theJunk: '""; "King Con run"'
    theSuffix: '""; "King Con run"'
    theFilename: '"2019-01-12 17.50.26 P1000542 Jim - group photo at Fox Glacier holiday park"'
    theDate: '"2019-01-12"; "17.50.26 P1000542 Jim - group photo at Fox Glacier holiday park"'
    theTime: '"17.50.26"; "P1000542 Jim - group photo at Fox Glacier holiday park"'
    theDevice: '""; "P1000542 Jim - group photo at Fox Glacier holiday park"'
    theImageIdentifier: '"P1000542"; "Jim - group photo at Fox Glacier holiday park"'
    thePhotographer: '"Jim"; "group photo at Fox Glacier holiday park"'
    thePanoramaSignifier: '""; "group photo at Fox Glacier holiday park"'
    theJunk: '""; "group photo at Fox Glacier holiday park"'
    theSuffix: '""; "group photo at Fox Glacier holiday park"'
    theFilename: '"2013-04-23 12.34.28 P1050051 Simon - Waiheke lunch"'
    theDate: '"2013-04-23"; "12.34.28 P1050051 Simon - Waiheke lunch"'
    theTime: '"12.34.28"; "P1050051 Simon - Waiheke lunch"'
    theDevice: '""; "P1050051 Simon - Waiheke lunch"'
    theImageIdentifier: '"P1050051"; "Simon - Waiheke lunch"'
    thePhotographer: '"Simon"; "Waiheke lunch"'
    thePanoramaSignifier: '""; "Waiheke lunch"'
    theJunk: '""; "Waiheke lunch"'
    theSuffix: '""; "Waiheke lunch"'
    theFilename: '"2022-08-05 07.20.03 IMG_0459 Brian - Hurunui sunrise"'
    theDate: '"2022-08-05"; "07.20.03 IMG_0459 Brian - Hurunui sunrise"'
    theTime: '"07.20.03"; "IMG_0459 Brian - Hurunui sunrise"'
    theDevice: '""; "IMG_0459 Brian - Hurunui sunrise"'
    theImageIdentifier: '"IMG_0459"; "Brian - Hurunui sunrise"'
    thePhotographer: '"Brian"; "Hurunui sunrise"'
    thePanoramaSignifier: '""; "Hurunui sunrise"'
    theJunk: '""; "Hurunui sunrise"'
    theSuffix: '""; "Hurunui sunrise"'
    theFilename: '"2025-03-04 09.32.44 S20+ Simon - Simon at the Monorail_str_cr"'
    theDate: '"2025-03-04"; "09.32.44 S20+ Simon - Simon at the Monorail_str_cr"'
    theTime: '"09.32.44"; "S20+ Simon - Simon at the Monorail_str_cr"'
    theDevice: '"S20+"; "Simon - Simon at the Monorail_str_cr"'
    theImageIdentifier: '""; "Simon - Simon at the Monorail_str_cr"'
    thePhotographer: '"Simon"; "Simon at the Monorail_str_cr"'
    thePanoramaSignifier: '""; "Simon at the Monorail_str_cr"'
    theJunk: '""; "Simon at the Monorail_str_cr"'
    theSuffix: '"{i:2;}"; "Simon at the Monorail_str_cr"'

    #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.2023-02-16Canada,Day16
    Trips.2023-02-16Canada
    Trips.2019-02-24LakeTahoe,Day11
    Simon on Lake Tahoe Beach
Photo: Jim
2019-03-06 14.34.16; '2019 Mar 06 14:34'
Original size: 11,303 x 2,759; 23,640 kB; stitch
2019-03-06 14.34.16 Jim - Simon on Lake Tahoe Beach_stitch.jpg
    Simon on Lake Tahoe Beach

    Photo: Jim

    Simon on Lake Tahoe Beach

    Photo: Jim

    2019-03-06 14.34.16; '2019 Mar 06 14:34' Original size: 11,303 x 2,759; 23,640 kB; stitch 2019-03-06 14.34.16 Jim - Simon on Lake Tahoe Beach_stitch.jpg
    Filename = '2019-03-06 14.34.16 Jim - Simon on Lake Tahoe Beach_stitch'

    Trips.2020-02-27Utah,Day05
    King Con run
Photo: Simon
2020-03-02 06.12.16; '2020 Mar 02 06:12'
Original size: 4,608 x 3,456; 6,125 kB
2020-03-02 06.12.16 P1030071 Simon - King Con run.jpeg
    King Con run

    Photo: Simon

    King Con run

    Photo: Simon

    2020-03-02 06.12.16; '2020 Mar 02 06:12' Original size: 4,608 x 3,456; 6,125 kB 2020-03-02 06.12.16 P1030071 Simon - King Con run.jpeg
    Filename = '2020-03-02 06.12.16 P1030071 Simon - King Con run'

    Trips.2019-01-13MarksFlat,Day00
    Group photo at Fox Glacier holiday park
Photo: Jim
2019-01-12 17.50.26; '2019 Jan 12 17:50'
Original size: 4,320 x 3,240; 4,799 kB
2019-01-12 17.50.26 P1000542 Jim - group photo at Fox Glacier holiday park.jpeg
    Group photo at Fox Glacier holiday park

    Photo: Jim

    Group photo at Fox Glacier holiday park

    Photo: Jim

    2019-01-12 17.50.26; '2019 Jan 12 17:50' Original size: 4,320 x 3,240; 4,799 kB 2019-01-12 17.50.26 P1000542 Jim - group photo at Fox Glacier holiday park.jpeg
    Filename = '2019-01-12 17.50.26 P1000542 Jim - group photo at Fox Glacier holiday park'

    Trips.2013-04-20Hope-Tutaekuri-Waiheke-Doubtful-Nina,Day4
    Waiheke lunch
Photo: Simon
2013-04-23 12.34.28; '2013 Apr 23 12:34'
Original size: 4,000 x 3,000; 5,862 kB
2013-04-23 12.34.28 P1050051 Simon - Waiheke lunch.jpeg
    Waiheke lunch

    Photo: Simon

    Waiheke lunch

    Photo: Simon

    2013-04-23 12.34.28; '2013 Apr 23 12:34' Original size: 4,000 x 3,000; 5,862 kB 2013-04-23 12.34.28 P1050051 Simon - Waiheke lunch.jpeg
    Filename = '2013-04-23 12.34.28 P1050051 Simon - Waiheke lunch'

    Trips.2022-07-30HokakuraHurunui,Day7
    Hurunui sunrise
Photo: Brian
2022-08-05 07.20.03; '2022 Aug 05 07:20'
Original size: 5,472 x 3,648; 3,654 kB
2022-08-05 07.20.03 IMG_0459 Brian - Hurunui sunrise.jpeg
    Hurunui sunrise

    Photo: Brian

    Hurunui sunrise

    Photo: Brian

    2022-08-05 07.20.03; '2022 Aug 05 07:20' Original size: 5,472 x 3,648; 3,654 kB 2022-08-05 07.20.03 IMG_0459 Brian - Hurunui sunrise.jpeg
    Filename = '2022-08-05 07.20.03 IMG_0459 Brian - Hurunui sunrise'

    Trips.2025-02-24Washington,Day09
    Simon at the Monorail str cr
Photo: Simon
2025-03-04 09.32.44; '2025 Mar 04 09:32'
Original size: 8,831 x 5,410; 11,522 kB; {i:2;}
2025-03-04 09.32.44 S20+ Simon - Simon at the Monorail_str_cr.jpg
    Simon at the Monorail str cr

    Photo: Simon

    Simon at the Monorail str cr

    Photo: Simon

    2025-03-04 09.32.44; '2025 Mar 04 09:32' Original size: 8,831 x 5,410; 11,522 kB; {i:2;} 2025-03-04 09.32.44 S20+ Simon - Simon at the Monorail_str_cr.jpg
    Filename = '2025-03-04 09.32.44 S20+ Simon - Simon at the Monorail_str_cr'

    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=