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.4.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.2019-02-24LakeTahoe,Day08
View From Our Room
Photo: Jim
2019-03-03 10.05.29; '2019 Mar 03 10:05'
Original size: 4,032 x 3,024; 4,873 kB
2019-03-03 10.05.29 Jim - view from our room.jpeg
View From Our Room

Photo: Jim

View From Our Room

Photo: Jim

2019-03-03 10.05.29; '2019 Mar 03 10:05' Original size: 4,032 x 3,024; 4,873 kB 2019-03-03 10.05.29 Jim - view from our room.jpeg
Filename = '2019-03-03 10.05.29 Jim - view from our room'

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

group=* name= count=4 order=random

Trips.2006-04-20-LeathamSaxtonAcheronWaihopai
Turkeys Nest from our high point
Photo: Simon
2015-10-03 13.39.09; '2015 Oct 03 13:39'
Original size: 6,956 x 3,399; 22,714 kB; stitch
2015-10-03 13.39.09 Panorama Simon - Turkeys Nest from our high point_stitch.jpg
Turkeys Nest from our high point

Photo: Simon

Turkeys Nest from our high point

Photo: Simon

2015-10-03 13.39.09; '2015 Oct 03 13:39' Original size: 6,956 x 3,399; 22,714 kB; stitch 2015-10-03 13.39.09 Panorama Simon - Turkeys Nest from our high point_stitch.jpg
Filename = '2015-10-03 13.39.09 Panorama Simon - Turkeys Nest from our high point_stitch'

Category.Review
Trips.2019-01-13MarksFlat
Trips.2022-03-05TeTaiOPoutini,Day6
Sierra Room interior
Photo: Brian
2022-03-10 07.37.54; '2022 Mar 10 07:37'
Original size: 5,472 x 3,648; 6,589 kB
2022-03-10 07.37.54 IMG_0332 Brian - Sierra Room interior.jpeg
Sierra Room interior

Photo: Brian

Sierra Room interior

Photo: Brian

2022-03-10 07.37.54; '2022 Mar 10 07:37' Original size: 5,472 x 3,648; 6,589 kB 2022-03-10 07.37.54 IMG_0332 Brian - Sierra Room interior.jpeg
Filename = '2022-03-10 07.37.54 IMG_0332 Brian - Sierra Room interior'



    (: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: '"2019-03-03 10.05.29 Jim - view from our room"'
    theDate: '"2019-03-03"; "10.05.29 Jim - view from our room"'
    theTime: '"10.05.29"; "Jim - view from our room"'
    theDevice: '""; "Jim - view from our room"'
    theImageIdentifier: '""; "Jim - view from our room"'
    thePhotographer: '"Jim"; "view from our room"'
    thePanoramaSignifier: '""; "view from our room"'
    theJunk: '""; "view from our room"'
    theSuffix: '""; "view from our room"'
    theFilename: '"2015-10-03 13.39.09 Panorama Simon - Turkeys Nest from our high point_stitch"'
    theDate: '"2015-10-03"; "13.39.09 Panorama Simon - Turkeys Nest from our high point_stitch"'
    theTime: '"13.39.09"; "Panorama Simon - Turkeys Nest from our high point_stitch"'
    theDevice: '""; "Panorama Simon - Turkeys Nest from our high point_stitch"'
    theImageIdentifier: '"Panorama"; "Simon - Turkeys Nest from our high point_stitch"'
    thePhotographer: '"Simon"; "Turkeys Nest from our high point_stitch"'
    thePanoramaSignifier: '""; "Turkeys Nest from our high point_stitch"'
    theJunk: '""; "Turkeys Nest from our high point"'
    theSuffix: '"stitch"; "Turkeys Nest from our high point"'
    theFilename: '"2022-03-10 07.37.54 IMG_0332 Brian - Sierra Room interior"'
    theDate: '"2022-03-10"; "07.37.54 IMG_0332 Brian - Sierra Room interior"'
    theTime: '"07.37.54"; "IMG_0332 Brian - Sierra Room interior"'
    theDevice: '""; "IMG_0332 Brian - Sierra Room interior"'
    theImageIdentifier: '"IMG_0332"; "Brian - Sierra Room interior"'
    thePhotographer: '"Brian"; "Sierra Room interior"'
    thePanoramaSignifier: '""; "Sierra Room interior"'
    theJunk: '""; "Sierra Room interior"'
    theSuffix: '""; "Sierra Room interior"'
    theFilename: '"2014-02-06 12.58.02 P1000398 Simon - Cinc Express near the top"'
    theDate: '"2014-02-06"; "12.58.02 P1000398 Simon - Cinc Express near the top"'
    theTime: '"12.58.02"; "P1000398 Simon - Cinc Express near the top"'
    theDevice: '""; "P1000398 Simon - Cinc Express near the top"'
    theImageIdentifier: '"P1000398"; "Simon - Cinc Express near the top"'
    thePhotographer: '"Simon"; "Cinc Express near the top"'
    thePanoramaSignifier: '""; "Cinc Express near the top"'
    theJunk: '""; "Cinc Express near the top"'
    theSuffix: '""; "Cinc Express near the top"'
    theFilename: '"2024-03-01 05.44.44 S20+ Simon - Jim, Adrian, and Kevin in the Auckland departure lounge_cr"'
    theDate: '"2024-03-01"; "05.44.44 S20+ Simon - Jim, Adrian, and Kevin in the Auckland departure lounge_cr"'
    theTime: '"05.44.44"; "S20+ Simon - Jim, Adrian, and Kevin in the Auckland departure lounge_cr"'
    theDevice: '"S20+"; "Simon - Jim, Adrian, and Kevin in the Auckland departure lounge_cr"'
    theImageIdentifier: '""; "Simon - Jim, Adrian, and Kevin in the Auckland departure lounge_cr"'
    thePhotographer: '"Simon"; "Jim, Adrian, and Kevin in the Auckland departure lounge_cr"'
    thePanoramaSignifier: '""; "Jim, Adrian, and Kevin in the Auckland departure lounge_cr"'
    theJunk: '""; "Jim, Adrian, and Kevin in the Auckland departure lounge"'
    theSuffix: '"cr"; "Jim, Adrian, and Kevin in the Auckland departure lounge"'
    theFilename: '"2022-04-16 11.44.21 IMG_5222-1 Peter Baxter - old man tree"'
    theDate: '"2022-04-16"; "11.44.21 IMG_5222-1 Peter Baxter - old man tree"'
    theTime: '"11.44.21"; "IMG_5222-1 Peter Baxter - old man tree"'
    theDevice: '""; "IMG_5222-1 Peter Baxter - old man tree"'
    theImageIdentifier: '"IMG_5222-1"; "Peter Baxter - old man tree"'
    thePhotographer: '"Peter Baxter"; "old man tree"'
    thePanoramaSignifier: '""; "old man tree"'
    theJunk: '""; "old man tree"'
    theSuffix: '""; "old man tree"'
    theFilename: '"2014-02-04 00 KYSTrailMap2014"'
    theDate: '"2014-02-04"; "00 KYSTrailMap2014"'
    theTime: '""; "00 KYSTrailMap2014"'
    theDevice: '""; "00 KYSTrailMap2014"'
    theImageIdentifier: '""; "00 KYSTrailMap2014"'
    thePhotographer: '""; "00 KYSTrailMap2014"'
    thePanoramaSignifier: '""; "00 KYSTrailMap2014"'
    theJunk: '""; "00 KYSTrailMap2014"'
    theSuffix: '""; "00 KYSTrailMap2014"'
    theFilename: '"2025-03-01 10.14.06 Simon - arriving at High Camp Lodge_stitch"'
    theDate: '"2025-03-01"; "10.14.06 Simon - arriving at High Camp Lodge_stitch"'
    theTime: '"10.14.06"; "Simon - arriving at High Camp Lodge_stitch"'
    theDevice: '""; "Simon - arriving at High Camp Lodge_stitch"'
    theImageIdentifier: '""; "Simon - arriving at High Camp Lodge_stitch"'
    thePhotographer: '"Simon"; "arriving at High Camp Lodge_stitch"'
    thePanoramaSignifier: '""; "arriving at High Camp Lodge_stitch"'
    theJunk: '""; "arriving at High Camp Lodge"'
    theSuffix: '"stitch"; "arriving at High Camp Lodge"'

    #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.2020-02-27Utah,Day12
    Trips.2014-01-18Colorado,Day20
    Cinc Express near the top
Photo: Simon
2014-02-06 12.58.02; '2014 Feb 06 12:58'
Original size: 4,000 x 3,000; 3,806 kB
2014-02-06 12.58.02 P1000398 Simon - Cinc Express near the top.jpeg
    Cinc Express near the top

    Photo: Simon

    Cinc Express near the top

    Photo: Simon

    2014-02-06 12.58.02; '2014 Feb 06 12:58' Original size: 4,000 x 3,000; 3,806 kB 2014-02-06 12.58.02 P1000398 Simon - Cinc Express near the top.jpeg
    Filename = '2014-02-06 12.58.02 P1000398 Simon - Cinc Express near the top'

    Trips.2024-03-01ShigaKōgenAndŌsaka,Day01
    Jim, Adrian, and Kevin in the Auckland departure lounge
Photo: Simon
2024-03-01 05.44.44; '2024 Mar 01 05:44'
Original size: 8,688 x 6,516; 7,595 kB; cr
2024-03-01 05.44.44 S20+ Simon - Jim, Adrian, and Kevin in the Auckland departure lounge_cr.jpg
    Jim, Adrian, and Kevin in the Auckland departure lounge

    Photo: Simon

    Jim, Adrian, and Kevin in the Auckland departure lounge

    Photo: Simon

    2024-03-01 05.44.44; '2024 Mar 01 05:44' Original size: 8,688 x 6,516; 7,595 kB; cr 2024-03-01 05.44.44 S20+ Simon - Jim, Adrian, and Kevin in the Auckland departure lounge_cr.jpg
    Filename = '2024-03-01 05.44.44 S20+ Simon - Jim, Adrian, and Kevin in the Auckland departure lounge_cr'

    Trips.2022-04-15RauroaMahoenui,Day2
    Old Man Tree
Photo: Peter Baxter
2022-04-16 11.44.21
Original size: 3,572 x 5,358; 15,300 kB
2022-04-16 11.44.21 IMG_5222-1 Peter Baxter - old man tree.jpeg
    Old Man Tree

    Photo: Peter Baxter

    Old Man Tree

    Photo: Peter Baxter

    2022-04-16 11.44.21 Original size: 3,572 x 5,358; 15,300 kB 2022-04-16 11.44.21 IMG_5222-1 Peter Baxter - old man tree.jpeg
    Filename = '2022-04-16 11.44.21 IMG_5222-1 Peter Baxter - old man tree'

    Trips.Hurunui,AsPlanned
    Trips.2014-01-18Colorado,Day18
    00 KYS Trail Map 2014
2014-02-04
Original size: 3,150 x 2,232; 12,716 kB
2014-02-04 00 KYSTrailMap2014.png
    00 KYS Trail Map 2014

    00 KYS Trail Map 2014

    2014-02-04 Original size: 3,150 x 2,232; 12,716 kB 2014-02-04 00 KYSTrailMap2014.png
    Filename = '2014-02-04 00 KYSTrailMap2014'

    Trips.GroupFooter
    Trips.2025-02-24Washington,Day06
    Arriving at High Camp Lodge
Photo: Simon
2025-03-01 10.14.06; '2025 Mar 01 10:14'
Original size: 12,613 x 4,859; 8,638 kB; stitch
2025-03-01 10.14.06 Simon - arriving at High Camp Lodge_stitch.jpg
    Arriving at High Camp Lodge

    Photo: Simon

    Arriving at High Camp Lodge

    Photo: Simon

    2025-03-01 10.14.06; '2025 Mar 01 10:14' Original size: 12,613 x 4,859; 8,638 kB; stitch 2025-03-01 10.14.06 Simon - arriving at High Camp Lodge_stitch.jpg
    Filename = '2025-03-01 10.14.06 Simon - arriving at High Camp Lodge_stitch'

    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=