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

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.2014-01-18Colorado,Day18
South Bowl
Photo: Simon
2014-02-04 10.26.00; '2014 Feb 04 10:26'
Original size: 9,942 x 2,540; 1,618 kB; stitch
2014-02-04 10.26.00 Panorama Simon - South Bowl_stitch.jpg
South Bowl

Photo: Simon

South Bowl

Photo: Simon

2014-02-04 10.26.00; '2014 Feb 04 10:26' Original size: 9,942 x 2,540; 1,618 kB; stitch 2014-02-04 10.26.00 Panorama Simon - South Bowl_stitch.jpg
Filename = '2014-02-04 10.26.00 Panorama Simon - South Bowl_stitch'

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

group=* name= count=4 order=random

Songbook.TeAroha
Trips.2025-02-24Washington,Day04
Nick at the bottom of Queens
Photo: Simon
2025-02-27 09.17.52; '2025 Feb 27 09:17'
Original size: 13,620 x 6,556; 17,982 kB; stitch
2025-02-27 09.17.52 S20+ Simon - Nick at the bottom of Queens_stitch.jpg
Nick at the bottom of Queens

Photo: Simon

Nick at the bottom of Queens

Photo: Simon

2025-02-27 09.17.52; '2025 Feb 27 09:17' Original size: 13,620 x 6,556; 17,982 kB; stitch 2025-02-27 09.17.52 S20+ Simon - Nick at the bottom of Queens_stitch.jpg
Filename = '2025-02-27 09.17.52 S20+ Simon - Nick at the bottom of Queens_stitch'

Trips.2018-01-19EuropeanAlps,Day04
Jim skiing down Ardoisieres
Photo: Simon
2018-01-22 10.15.53; '2018 Jan 22 10:15'
Original size: 4,608 x 3,456; 5,525 kB
2018-01-22 10.15.53 P1010788 Simon - Jim skiing down Ardoisieres.jpeg
Jim skiing down Ardoisieres

Photo: Simon

Jim skiing down Ardoisieres

Photo: Simon

2018-01-22 10.15.53; '2018 Jan 22 10:15' Original size: 4,608 x 3,456; 5,525 kB 2018-01-22 10.15.53 P1010788 Simon - Jim skiing down Ardoisieres.jpeg
Filename = '2018-01-22 10.15.53 P1010788 Simon - Jim skiing down Ardoisieres'

Trips.2020-08-29Havelock


    (: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: '"2014-02-04 10.26.00 Panorama Simon - South Bowl_stitch"'
    theDate: '"2014-02-04"; "10.26.00 Panorama Simon - South Bowl_stitch"'
    theTime: '"10.26.00"; "Panorama Simon - South Bowl_stitch"'
    theDevice: '""; "Panorama Simon - South Bowl_stitch"'
    theImageIdentifier: '"Panorama"; "Simon - South Bowl_stitch"'
    thePhotographer: '"Simon"; "South Bowl_stitch"'
    thePanoramaSignifier: '""; "South Bowl_stitch"'
    theJunk: '""; "South Bowl"'
    theSuffix: '"stitch"; "South Bowl"'
    theFilename: '"2025-02-27 09.17.52 S20+ Simon - Nick at the bottom of Queens_stitch"'
    theDate: '"2025-02-27"; "09.17.52 S20+ Simon - Nick at the bottom of Queens_stitch"'
    theTime: '"09.17.52"; "S20+ Simon - Nick at the bottom of Queens_stitch"'
    theDevice: '"S20+"; "Simon - Nick at the bottom of Queens_stitch"'
    theImageIdentifier: '""; "Simon - Nick at the bottom of Queens_stitch"'
    thePhotographer: '"Simon"; "Nick at the bottom of Queens_stitch"'
    thePanoramaSignifier: '""; "Nick at the bottom of Queens_stitch"'
    theJunk: '""; "Nick at the bottom of Queens"'
    theSuffix: '"stitch"; "Nick at the bottom of Queens"'
    theFilename: '"2018-01-22 10.15.53 P1010788 Simon - Jim skiing down Ardoisieres"'
    theDate: '"2018-01-22"; "10.15.53 P1010788 Simon - Jim skiing down Ardoisieres"'
    theTime: '"10.15.53"; "P1010788 Simon - Jim skiing down Ardoisieres"'
    theDevice: '""; "P1010788 Simon - Jim skiing down Ardoisieres"'
    theImageIdentifier: '"P1010788"; "Simon - Jim skiing down Ardoisieres"'
    thePhotographer: '"Simon"; "Jim skiing down Ardoisieres"'
    thePanoramaSignifier: '""; "Jim skiing down Ardoisieres"'
    theJunk: '""; "Jim skiing down Ardoisieres"'
    theSuffix: '""; "Jim skiing down Ardoisieres"'
    theFilename: '"2017-01-22 11.03.02 P1010665 Simon - Anne in Shukkei-en"'
    theDate: '"2017-01-22"; "11.03.02 P1010665 Simon - Anne in Shukkei-en"'
    theTime: '"11.03.02"; "P1010665 Simon - Anne in Shukkei-en"'
    theDevice: '""; "P1010665 Simon - Anne in Shukkei-en"'
    theImageIdentifier: '"P1010665"; "Simon - Anne in Shukkei-en"'
    thePhotographer: '"Simon"; "Anne in Shukkei-en"'
    thePanoramaSignifier: '""; "Anne in Shukkei-en"'
    theJunk: '""; "Anne in Shukkei-en"'
    theSuffix: '""; "Anne in Shukkei-en"'
    theFilename: '"2018-01-22 10.33.58 P1010789 Simon - Jim skiing down Crozat"'
    theDate: '"2018-01-22"; "10.33.58 P1010789 Simon - Jim skiing down Crozat"'
    theTime: '"10.33.58"; "P1010789 Simon - Jim skiing down Crozat"'
    theDevice: '""; "P1010789 Simon - Jim skiing down Crozat"'
    theImageIdentifier: '"P1010789"; "Simon - Jim skiing down Crozat"'
    thePhotographer: '"Simon"; "Jim skiing down Crozat"'
    thePanoramaSignifier: '""; "Jim skiing down Crozat"'
    theJunk: '""; "Jim skiing down Crozat"'
    theSuffix: '""; "Jim skiing down Crozat"'
    theFilename: '"2020-09-02 08.07.10 P1020298 Brian - Mistake Flats Hut in the snow"'
    theDate: '"2020-09-02"; "08.07.10 P1020298 Brian - Mistake Flats Hut in the snow"'
    theTime: '"08.07.10"; "P1020298 Brian - Mistake Flats Hut in the snow"'
    theDevice: '""; "P1020298 Brian - Mistake Flats Hut in the snow"'
    theImageIdentifier: '"P1020298"; "Brian - Mistake Flats Hut in the snow"'
    thePhotographer: '"Brian"; "Mistake Flats Hut in the snow"'
    thePanoramaSignifier: '""; "Mistake Flats Hut in the snow"'
    theJunk: '""; "Mistake Flats Hut in the snow"'
    theSuffix: '""; "Mistake Flats Hut in the snow"'
    theFilename: '"2025-03-07 08.34.37 S20+ Simon - Summit East carpark_cr"'
    theDate: '"2025-03-07"; "08.34.37 S20+ Simon - Summit East carpark_cr"'
    theTime: '"08.34.37"; "S20+ Simon - Summit East carpark_cr"'
    theDevice: '"S20+"; "Simon - Summit East carpark_cr"'
    theImageIdentifier: '""; "Simon - Summit East carpark_cr"'
    thePhotographer: '"Simon"; "Summit East carpark_cr"'
    thePanoramaSignifier: '""; "Summit East carpark_cr"'
    theJunk: '""; "Summit East carpark"'
    theSuffix: '"cr"; "Summit East carpark"'
    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"'

    #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-04-16MoerakiHaastParingaCattleTrack
    Trips.2017-01-10NozawaOnsen,Day12
    Anne in Shukkei-en
Photo: Simon
2017-01-22 11.03.02; '2017 Jan 22 11:03'
Original size: 4,608 x 3,456; 6,143 kB
2017-01-22 11.03.02 P1010665 Simon - Anne in Shukkei-en.jpeg
    Anne in Shukkei-en

    Photo: Simon

    Anne in Shukkei-en

    Photo: Simon

    2017-01-22 11.03.02; '2017 Jan 22 11:03' Original size: 4,608 x 3,456; 6,143 kB 2017-01-22 11.03.02 P1010665 Simon - Anne in Shukkei-en.jpeg
    Filename = '2017-01-22 11.03.02 P1010665 Simon - Anne in Shukkei-en'

    Trips.2009-09-01Skiing,LakePukaki
    Trips.2018-01-19EuropeanAlps,Day04
    Jim skiing down Crozat
Photo: Simon
2018-01-22 10.33.58; '2018 Jan 22 10:33'
Original size: 4,608 x 3,456; 6,070 kB
2018-01-22 10.33.58 P1010789 Simon - Jim skiing down Crozat.jpeg
    Jim skiing down Crozat

    Photo: Simon

    Jim skiing down Crozat

    Photo: Simon

    2018-01-22 10.33.58; '2018 Jan 22 10:33' Original size: 4,608 x 3,456; 6,070 kB 2018-01-22 10.33.58 P1010789 Simon - Jim skiing down Crozat.jpeg
    Filename = '2018-01-22 10.33.58 P1010789 Simon - Jim skiing down Crozat'

    Trips.2020-08-29Havelock,Day5
    Mistake Flats Hut in the snow
Photo: Brian
2020-09-02 08.07.10; '2020 Sept 02 08:07'
Original size: 4,000 x 3,000; 4,860 kB
2020-09-02 08.07.10 P1020298 Brian - Mistake Flats Hut in the snow.jpeg
    Mistake Flats Hut in the snow

    Photo: Brian

    Mistake Flats Hut in the snow

    Photo: Brian

    2020-09-02 08.07.10; '2020 Sept 02 08:07' Original size: 4,000 x 3,000; 4,860 kB 2020-09-02 08.07.10 P1020298 Brian - Mistake Flats Hut in the snow.jpeg
    Filename = '2020-09-02 08.07.10 P1020298 Brian - Mistake Flats Hut in the snow'

    Trips.2025-02-24Washington,Day12
    Summit East carpark
Photo: Simon
2025-03-07 08.34.37; '2025 Mar 07 08:34'
Original size: 8,156 x 6,117; 12,983 kB; cr
2025-03-07 08.34.37 S20+ Simon - Summit East carpark_cr.jpg
    Summit East carpark

    Photo: Simon

    Summit East carpark

    Photo: Simon

    2025-03-07 08.34.37; '2025 Mar 07 08:34' Original size: 8,156 x 6,117; 12,983 kB; cr 2025-03-07 08.34.37 S20+ Simon - Summit East carpark_cr.jpg
    Filename = '2025-03-07 08.34.37 S20+ Simon - Summit East carpark_cr'

    Trips.2018-01-19EuropeanAlps,Day19
    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'

    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=