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

Test.Thumblist
062  001

Original size: 1,544 x 1,024; 274 kB
062_001.JPG
062 001

062 001

Original size: 1,544 x 1,024; 274 kB 062_001.JPG
Filename = '062_001'

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

group=* name= count=4 order=random

Test.NZTopo-Zoom
Recipes.SpottedLoaf
Category.Test
Trips.2024-09-28HuxleyOtamatapaio,Day06
Brian outside Otamatapaio Hut
Photo: Simon
2024-10-03 07.43.06; '2024 Oct 03 07:43'
Original size: 9,248 x 6,936; 12,981 kB
2024-10-03 07.43.06 S20+ Simon - Brian outside Otamatapaio Hut.jpeg
Brian outside Otamatapaio Hut

Photo: Simon

Brian outside Otamatapaio Hut

Photo: Simon

2024-10-03 07.43.06; '2024 Oct 03 07:43' Original size: 9,248 x 6,936; 12,981 kB 2024-10-03 07.43.06 S20+ Simon - Brian outside Otamatapaio Hut.jpeg
Filename = '2024-10-03 07.43.06 S20+ Simon - Brian outside Otamatapaio Hut'



    (: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: '"062_001"'
    theDate: '""; "062_001"'
    theTime: '""; "062_001"'
    theDevice: '""; "062_001"'
    theImageIdentifier: '""; "062_001"'
    thePhotographer: '""; "062_001"'
    thePanoramaSignifier: '""; "062_001"'
    theJunk: '""; "062_001"'
    theSuffix: '""; "062_001"'
    theFilename: '"2024-10-03 07.43.06 S20+ Simon - Brian outside Otamatapaio Hut"'
    theDate: '"2024-10-03"; "07.43.06 S20+ Simon - Brian outside Otamatapaio Hut"'
    theTime: '"07.43.06"; "S20+ Simon - Brian outside Otamatapaio Hut"'
    theDevice: '"S20+"; "Simon - Brian outside Otamatapaio Hut"'
    theImageIdentifier: '""; "Simon - Brian outside Otamatapaio Hut"'
    thePhotographer: '"Simon"; "Brian outside Otamatapaio Hut"'
    thePanoramaSignifier: '""; "Brian outside Otamatapaio Hut"'
    theJunk: '""; "Brian outside Otamatapaio Hut"'
    theSuffix: '""; "Brian outside Otamatapaio Hut"'
    theFilename: '"2017-01-13 14.54.29 IMG_8450 Anne - inside Rainbow Bridge"'
    theDate: '"2017-01-13"; "14.54.29 IMG_8450 Anne - inside Rainbow Bridge"'
    theTime: '"14.54.29"; "IMG_8450 Anne - inside Rainbow Bridge"'
    theDevice: '""; "IMG_8450 Anne - inside Rainbow Bridge"'
    theImageIdentifier: '"IMG_8450"; "Anne - inside Rainbow Bridge"'
    thePhotographer: '"Anne"; "inside Rainbow Bridge"'
    thePanoramaSignifier: '""; "inside Rainbow Bridge"'
    theJunk: '""; "inside Rainbow Bridge"'
    theSuffix: '""; "inside Rainbow Bridge"'
    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: '"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: '"2018-01-25 07.37.14 LG6 Simon - Breakfast at Hotel Richemond_cr"'
    theDate: '"2018-01-25"; "07.37.14 LG6 Simon - Breakfast at Hotel Richemond_cr"'
    theTime: '"07.37.14"; "LG6 Simon - Breakfast at Hotel Richemond_cr"'
    theDevice: '"LG6"; "Simon - Breakfast at Hotel Richemond_cr"'
    theImageIdentifier: '""; "Simon - Breakfast at Hotel Richemond_cr"'
    thePhotographer: '"Simon"; "Breakfast at Hotel Richemond_cr"'
    thePanoramaSignifier: '""; "Breakfast at Hotel Richemond_cr"'
    theJunk: '""; "Breakfast at Hotel Richemond"'
    theSuffix: '"cr"; "Breakfast at Hotel Richemond"'
    theFilename: '"2019-03-07 09.34.56 P1020837 Simon - Welcome to Sierra"'
    theDate: '"2019-03-07"; "09.34.56 P1020837 Simon - Welcome to Sierra"'
    theTime: '"09.34.56"; "P1020837 Simon - Welcome to Sierra"'
    theDevice: '""; "P1020837 Simon - Welcome to Sierra"'
    theImageIdentifier: '"P1020837"; "Simon - Welcome to Sierra"'
    thePhotographer: '"Simon"; "Welcome to Sierra"'
    thePanoramaSignifier: '""; "Welcome to Sierra"'
    theJunk: '""; "Welcome to Sierra"'
    theSuffix: '""; "Welcome to Sierra"'
    theFilename: '"2015-02-08 09.30.15 P1010327 Simon - Jim on Tokyo subway"'
    theDate: '"2015-02-08"; "09.30.15 P1010327 Simon - Jim on Tokyo subway"'
    theTime: '"09.30.15"; "P1010327 Simon - Jim on Tokyo subway"'
    theDevice: '""; "P1010327 Simon - Jim on Tokyo subway"'
    theImageIdentifier: '"P1010327"; "Simon - Jim on Tokyo subway"'
    thePhotographer: '"Simon"; "Jim on Tokyo subway"'
    thePanoramaSignifier: '""; "Jim on Tokyo subway"'
    theJunk: '""; "Jim on Tokyo subway"'
    theSuffix: '""; "Jim on Tokyo subway"'
    theFilename: '"2019-11-14 07.07.09 P1030032 Simon - morning at Freds Camp"'
    theDate: '"2019-11-14"; "07.07.09 P1030032 Simon - morning at Freds Camp"'
    theTime: '"07.07.09"; "P1030032 Simon - morning at Freds Camp"'
    theDevice: '""; "P1030032 Simon - morning at Freds Camp"'
    theImageIdentifier: '"P1030032"; "Simon - morning at Freds Camp"'
    thePhotographer: '"Simon"; "morning at Freds Camp"'
    thePanoramaSignifier: '""; "morning at Freds Camp"'
    theJunk: '""; "morning at Freds Camp"'
    theSuffix: '""; "morning at Freds Camp"'
    theFilename: '"2024-10-02 08.29.47 P1070628 Philip - overnighters at Monument Hut_cr"'
    theDate: '"2024-10-02"; "08.29.47 P1070628 Philip - overnighters at Monument Hut_cr"'
    theTime: '"08.29.47"; "P1070628 Philip - overnighters at Monument Hut_cr"'
    theDevice: '""; "P1070628 Philip - overnighters at Monument Hut_cr"'
    theImageIdentifier: '"P1070628"; "Philip - overnighters at Monument Hut_cr"'
    thePhotographer: '"Philip"; "overnighters at Monument Hut_cr"'
    thePanoramaSignifier: '""; "overnighters at Monument Hut_cr"'
    theJunk: '""; "overnighters at Monument Hut"'
    theSuffix: '"cr"; "overnighters at Monument Hut"'

    #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.2017-01-10NozawaOnsen,Day03
    Inside Rainbow Bridge
Photo: Anne
2017-01-13 14.54.29; '2017 Jan 13 14:54'
Original size: 4,608 x 3,456; 6,442 kB
2017-01-13 14.54.29 IMG_8450 Anne - inside Rainbow Bridge.jpeg
    Inside Rainbow Bridge

    Photo: Anne

    Inside Rainbow Bridge

    Photo: Anne

    2017-01-13 14.54.29; '2017 Jan 13 14:54' Original size: 4,608 x 3,456; 6,442 kB 2017-01-13 14.54.29 IMG_8450 Anne - inside Rainbow Bridge.jpeg
    Filename = '2017-01-13 14.54.29 IMG_8450 Anne - inside Rainbow Bridge'

    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'

    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'

    Trips.2018-01-19EuropeanAlps,Day07
    Breakfast at Hotel Richemond
Photo: Simon
2018-01-25 07.37.14; '2018 Jan 25 07:37'
Original size: 3,771 x 3,120; 3,637 kB; cr
2018-01-25 07.37.14 LG6 Simon - Breakfast at Hotel Richemond_cr.jpg
    Breakfast at Hotel Richemond

    Photo: Simon

    Breakfast at Hotel Richemond

    Photo: Simon

    2018-01-25 07.37.14; '2018 Jan 25 07:37' Original size: 3,771 x 3,120; 3,637 kB; cr 2018-01-25 07.37.14 LG6 Simon - Breakfast at Hotel Richemond_cr.jpg
    Filename = '2018-01-25 07.37.14 LG6 Simon - Breakfast at Hotel Richemond_cr'

    Trips.2019-02-24LakeTahoe,Day12
    Welcome to Sierra
Photo: Simon
2019-03-07 09.34.56; '2019 Mar 07 09:34'
Original size: 4,608 x 3,456; 6,157 kB
2019-03-07 09.34.56 P1020837 Simon - Welcome to Sierra.jpeg
    Welcome to Sierra

    Photo: Simon

    Welcome to Sierra

    Photo: Simon

    2019-03-07 09.34.56; '2019 Mar 07 09:34' Original size: 4,608 x 3,456; 6,157 kB 2019-03-07 09.34.56 P1020837 Simon - Welcome to Sierra.jpeg
    Filename = '2019-03-07 09.34.56 P1020837 Simon - Welcome to Sierra'

    Trips.2015-02-06Hakuba,Day3
    Jim on Tokyo subway
Photo: Simon
2015-02-08 09.30.15; '2015 Feb 08 09:30'
Original size: 3,000 x 4,000; 4,109 kB
2015-02-08 09.30.15 P1010327 Simon - Jim on Tokyo subway.jpeg
    Jim on Tokyo subway

    Photo: Simon

    Jim on Tokyo subway

    Photo: Simon

    2015-02-08 09.30.15; '2015 Feb 08 09:30' Original size: 3,000 x 4,000; 4,109 kB 2015-02-08 09.30.15 P1010327 Simon - Jim on Tokyo subway.jpeg
    Filename = '2015-02-08 09.30.15 P1010327 Simon - Jim on Tokyo subway'

    Trips.2019-11-09RakiuraSouthernCircuit,Day05
    Morning at Freds Camp
Photo: Simon
2019-11-14 07.07.09; '2019 Nov 14 07:07'
Original size: 4,608 x 3,456; 6,413 kB
2019-11-14 07.07.09 P1030032 Simon - morning at Freds Camp.jpeg
    Morning at Freds Camp

    Photo: Simon

    Morning at Freds Camp

    Photo: Simon

    2019-11-14 07.07.09; '2019 Nov 14 07:07' Original size: 4,608 x 3,456; 6,413 kB 2019-11-14 07.07.09 P1030032 Simon - morning at Freds Camp.jpeg
    Filename = '2019-11-14 07.07.09 P1030032 Simon - morning at Freds Camp'

    Trips.2024-09-28HuxleyOtamatapaio,Day05
    Overnighters at Monument Hut
Photo: Philip
2024-10-02 08.29.47; '2024 Oct 02 08:29'
Original size: 3,661 x 2,105; 2,831 kB; cr
2024-10-02 08.29.47 P1070628 Philip - overnighters at Monument Hut_cr.jpg
    Overnighters at Monument Hut

    Photo: Philip

    Overnighters at Monument Hut

    Photo: Philip

    2024-10-02 08.29.47; '2024 Oct 02 08:29' Original size: 3,661 x 2,105; 2,831 kB; cr 2024-10-02 08.29.47 P1070628 Philip - overnighters at Monument Hut_cr.jpg
    Filename = '2024-10-02 08.29.47 P1070628 Philip - overnighters at Monument Hut_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=