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

Trips.2011-01-22Caving,Day3
Simon
2011-01-24 16.11.44; '2011 Jan 24 16:11'
Original size: 3,000 x 4,000; 4,923 kB
2011-01-24 16.11.44 P1020007 Simon.jpeg
Simon

Simon

2011-01-24 16.11.44; '2011 Jan 24 16:11' Original size: 3,000 x 4,000; 4,923 kB 2011-01-24 16.11.44 P1020007 Simon.jpeg
Filename = '2011-01-24 16.11.44 P1020007 Simon'

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

group=* name= count=4 order=random

Songbook.BrandyYoureAFineGirl
Trips.2023-08-26WhakapapaSkiing
Kevin and Adrian at the top of the Yankee Face
Photo: Simon
2023-08-26 16.01.00; '2023 Aug 26 16:01'
Original size: 11,091 x 5,388; 12,694 kB; stitch
2023-08-26 16.01.00 S20+ Simon - Kevin and Adrian at the top of the Yankee Face_stitch.jpg
Kevin and Adrian at the top of the Yankee Face

Photo: Simon

Kevin and Adrian at the top of the Yankee Face

Photo: Simon

2023-08-26 16.01.00; '2023 Aug 26 16:01' Original size: 11,091 x 5,388; 12,694 kB; stitch 2023-08-26 16.01.00 S20+ Simon - Kevin and Adrian at the top of the Yankee Face_stitch.jpg
Filename = '2023-08-26 16.01.00 S20+ Simon - Kevin and Adrian at the top of the Yankee Face_stitch'

Test.HomePage
Recipes.IcecreamCake


    (: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: '"2011-01-24 16.11.44 P1020007 Simon"'
    theDate: '"2011-01-24"; "16.11.44 P1020007 Simon"'
    theTime: '"16.11.44"; "P1020007 Simon"'
    theDevice: '""; "P1020007 Simon"'
    theImageIdentifier: '"P1020007"; "Simon"'
    thePhotographer: '""; "Simon"'
    thePanoramaSignifier: '""; "Simon"'
    theJunk: '""; "Simon"'
    theSuffix: '""; "Simon"'
    theFilename: '"2023-08-26 16.01.00 S20+ Simon - Kevin and Adrian at the top of the Yankee Face_stitch"'
    theDate: '"2023-08-26"; "16.01.00 S20+ Simon - Kevin and Adrian at the top of the Yankee Face_stitch"'
    theTime: '"16.01.00"; "S20+ Simon - Kevin and Adrian at the top of the Yankee Face_stitch"'
    theDevice: '"S20+"; "Simon - Kevin and Adrian at the top of the Yankee Face_stitch"'
    theImageIdentifier: '""; "Simon - Kevin and Adrian at the top of the Yankee Face_stitch"'
    thePhotographer: '"Simon"; "Kevin and Adrian at the top of the Yankee Face_stitch"'
    thePanoramaSignifier: '""; "Kevin and Adrian at the top of the Yankee Face_stitch"'
    theJunk: '""; "Kevin and Adrian at the top of the Yankee Face"'
    theSuffix: '"stitch"; "Kevin and Adrian at the top of the Yankee Face"'
    theFilename: '"2008-07-12 12.50.15 P7121425 Sian"'
    theDate: '"2008-07-12"; "12.50.15 P7121425 Sian"'
    theTime: '"12.50.15"; "P7121425 Sian"'
    theDevice: '""; "P7121425 Sian"'
    theImageIdentifier: '"P7121425"; "Sian"'
    thePhotographer: '""; "Sian"'
    thePanoramaSignifier: '""; "Sian"'
    theJunk: '""; "Sian"'
    theSuffix: '""; "Sian"'
    theFilename: '"2018-01-21 08.57.23 LG6 Simon - Hotel Suisse central stairwell"'
    theDate: '"2018-01-21"; "08.57.23 LG6 Simon - Hotel Suisse central stairwell"'
    theTime: '"08.57.23"; "LG6 Simon - Hotel Suisse central stairwell"'
    theDevice: '"LG6"; "Simon - Hotel Suisse central stairwell"'
    theImageIdentifier: '""; "Simon - Hotel Suisse central stairwell"'
    thePhotographer: '"Simon"; "Hotel Suisse central stairwell"'
    thePanoramaSignifier: '""; "Hotel Suisse central stairwell"'
    theJunk: '""; "Hotel Suisse central stairwell"'
    theSuffix: '""; "Hotel Suisse central stairwell"'
    theFilename: '"2015-02-20 10.39.30 P1010784 Simon - department store"'
    theDate: '"2015-02-20"; "10.39.30 P1010784 Simon - department store"'
    theTime: '"10.39.30"; "P1010784 Simon - department store"'
    theDevice: '""; "P1010784 Simon - department store"'
    theImageIdentifier: '"P1010784"; "Simon - department store"'
    thePhotographer: '"Simon"; "department store"'
    thePanoramaSignifier: '""; "department store"'
    theJunk: '""; "department store"'
    theSuffix: '""; "department store"'
    theFilename: '"2019-11-11 07.26.17 P1020935 Simon - Brian in Doughboy Bay hut"'
    theDate: '"2019-11-11"; "07.26.17 P1020935 Simon - Brian in Doughboy Bay hut"'
    theTime: '"07.26.17"; "P1020935 Simon - Brian in Doughboy Bay hut"'
    theDevice: '""; "P1020935 Simon - Brian in Doughboy Bay hut"'
    theImageIdentifier: '"P1020935"; "Simon - Brian in Doughboy Bay hut"'
    thePhotographer: '"Simon"; "Brian in Doughboy Bay hut"'
    thePanoramaSignifier: '""; "Brian in Doughboy Bay hut"'
    theJunk: '""; "Brian in Doughboy Bay hut"'
    theSuffix: '""; "Brian in Doughboy Bay hut"'
    theFilename: '"2022-08-04 09.05.36 DSC02910 Alan - Bruce crossing Hurunui Swingbridge_cr"'
    theDate: '"2022-08-04"; "09.05.36 DSC02910 Alan - Bruce crossing Hurunui Swingbridge_cr"'
    theTime: '"09.05.36"; "DSC02910 Alan - Bruce crossing Hurunui Swingbridge_cr"'
    theDevice: '""; "DSC02910 Alan - Bruce crossing Hurunui Swingbridge_cr"'
    theImageIdentifier: '"DSC02910"; "Alan - Bruce crossing Hurunui Swingbridge_cr"'
    thePhotographer: '"Alan"; "Bruce crossing Hurunui Swingbridge_cr"'
    thePanoramaSignifier: '""; "Bruce crossing Hurunui Swingbridge_cr"'
    theJunk: '""; "Bruce crossing Hurunui Swingbridge"'
    theSuffix: '"cr"; "Bruce crossing Hurunui Swingbridge"'
    theFilename: '"2022-03-11 09.26.18 LG6 Simon - Brian on benched track to Hamers Flat"'
    theDate: '"2022-03-11"; "09.26.18 LG6 Simon - Brian on benched track to Hamers Flat"'
    theTime: '"09.26.18"; "LG6 Simon - Brian on benched track to Hamers Flat"'
    theDevice: '"LG6"; "Simon - Brian on benched track to Hamers Flat"'
    theImageIdentifier: '""; "Simon - Brian on benched track to Hamers Flat"'
    thePhotographer: '"Simon"; "Brian on benched track to Hamers Flat"'
    thePanoramaSignifier: '""; "Brian on benched track to Hamers Flat"'
    theJunk: '""; "Brian on benched track to Hamers Flat"'
    theSuffix: '""; "Brian on benched track to Hamers Flat"'

    #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.2024-01-27RaglanRange,Maps
    Trips.2008-07-12Rauroa
    Sian
2008-07-12 12.50.15; '2008 Jul 12 12:50'
Original size: 2,304 x 3,072; 3,127 kB
2008-07-12 12.50.15 P7121425 Sian.jpeg
    Sian

    Sian

    2008-07-12 12.50.15; '2008 Jul 12 12:50' Original size: 2,304 x 3,072; 3,127 kB 2008-07-12 12.50.15 P7121425 Sian.jpeg
    Filename = '2008-07-12 12.50.15 P7121425 Sian'

    Trips.2018-01-19EuropeanAlps,Day03
    Hotel Suisse central stairwell
Photo: Simon
2018-01-21 08.57.23; '2018 Jan 21 08:57'
Original size: 4,160 x 3,120; 3,039 kB
2018-01-21 08.57.23 LG6 Simon - Hotel Suisse central stairwell.jpeg
    Hotel Suisse central stairwell

    Photo: Simon

    Hotel Suisse central stairwell

    Photo: Simon

    2018-01-21 08.57.23; '2018 Jan 21 08:57' Original size: 4,160 x 3,120; 3,039 kB 2018-01-21 08.57.23 LG6 Simon - Hotel Suisse central stairwell.jpeg
    Filename = '2018-01-21 08.57.23 LG6 Simon - Hotel Suisse central stairwell'

    Trips.2015-02-06Hakuba,Day15
    Department Store
Photo: Simon
2015-02-20 10.39.30; '2015 Feb 20 10:39'
Original size: 4,000 x 3,000; 5,382 kB
2015-02-20 10.39.30 P1010784 Simon - department store.jpeg
    Department Store

    Photo: Simon

    Department Store

    Photo: Simon

    2015-02-20 10.39.30; '2015 Feb 20 10:39' Original size: 4,000 x 3,000; 5,382 kB 2015-02-20 10.39.30 P1010784 Simon - department store.jpeg
    Filename = '2015-02-20 10.39.30 P1010784 Simon - department store'

    Trips.2020-02-27Utah,Day08
    Trips.2019-11-09RakiuraSouthernCircuit,Day02
    Brian in Doughboy Bay hut
Photo: Simon
2019-11-11 07.26.17; '2019 Nov 11 07:26'
Original size: 4,608 x 3,456; 5,745 kB
2019-11-11 07.26.17 P1020935 Simon - Brian in Doughboy Bay hut.jpeg
    Brian in Doughboy Bay hut

    Photo: Simon

    Brian in Doughboy Bay hut

    Photo: Simon

    2019-11-11 07.26.17; '2019 Nov 11 07:26' Original size: 4,608 x 3,456; 5,745 kB 2019-11-11 07.26.17 P1020935 Simon - Brian in Doughboy Bay hut.jpeg
    Filename = '2019-11-11 07.26.17 P1020935 Simon - Brian in Doughboy Bay hut'

    Trips.2022-07-30HokakuraHurunui,Day6
    Bruce crossing Hurunui Swingbridge
Photo: Alan
2022-08-04 09.05.36; '2022 Aug 04 09:05'
Original size: 2,392 x 3,648; 3,043 kB; cr
2022-08-04 09.05.36 DSC02910 Alan - Bruce crossing Hurunui Swingbridge_cr.jpeg
    Bruce crossing Hurunui Swingbridge

    Photo: Alan

    Bruce crossing Hurunui Swingbridge

    Photo: Alan

    2022-08-04 09.05.36; '2022 Aug 04 09:05' Original size: 2,392 x 3,648; 3,043 kB; cr 2022-08-04 09.05.36 DSC02910 Alan - Bruce crossing Hurunui Swingbridge_cr.jpeg
    Filename = '2022-08-04 09.05.36 DSC02910 Alan - Bruce crossing Hurunui Swingbridge_cr'

    Trips.2022-03-05TeTaiOPoutini,Day7
    Brian on benched track to Hamers Flat
Photo: Simon
2022-03-11 09.26.18; '2022 Mar 11 09:26'
Original size: 3,120 x 4,160; 7,224 kB
2022-03-11 09.26.18 LG6 Simon - Brian on benched track to Hamers Flat.jpeg
    Brian on benched track to Hamers Flat

    Photo: Simon

    Brian on benched track to Hamers Flat

    Photo: Simon

    2022-03-11 09.26.18; '2022 Mar 11 09:26' Original size: 3,120 x 4,160; 7,224 kB 2022-03-11 09.26.18 LG6 Simon - Brian on benched track to Hamers Flat.jpeg
    Filename = '2022-03-11 09.26.18 LG6 Simon - Brian on benched track to Hamers Flat'

    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=