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

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

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

group=* name= count=4 order=random

Trips.2014-01-18Colorado,Day01
00 Map-USA-Rocky Mountains 01
2014-01-18
Original size: 640 x 847; 140 kB
2014-01-18 00 Map-USA-Rocky_Mountains01.png
00 Map-USA-Rocky Mountains 01

00 Map-USA-Rocky Mountains 01

2014-01-18 Original size: 640 x 847; 140 kB 2014-01-18 00 Map-USA-Rocky_Mountains01.png
Filename = '2014-01-18 00 Map-USA-Rocky_Mountains01'

Trips.2024-01-27RaglanRange
Quick stop in Lost Stream, Bruce, Brian, and Alan
Photo: Simon
2024-01-29 08.40.43; '2024 Jan 29 08:40'
Original size: 9,248 x 6,936; 24,029 kB
2024-01-29 08.40.43 S20+ Simon - quick stop in Lost Stream, Bruce, Brian, and Alan.jpeg
Quick stop in Lost Stream, Bruce, Brian, and Alan

Photo: Simon

Quick stop in Lost Stream, Bruce, Brian, and Alan

Photo: Simon

2024-01-29 08.40.43; '2024 Jan 29 08:40' Original size: 9,248 x 6,936; 24,029 kB 2024-01-29 08.40.43 S20+ Simon - quick stop in Lost Stream, Bruce, Brian, and Alan.jpeg
Filename = '2024-01-29 08.40.43 S20+ Simon - quick stop in Lost Stream, Bruce, Brian, and Alan'

Test.MessagesReplacement
Recipes.MoistChocolateCake


    (: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-01-18 00 Map-USA-Rocky_Mountains01"'
    theDate: '"2014-01-18"; "00 Map-USA-Rocky_Mountains01"'
    theTime: '""; "00 Map-USA-Rocky_Mountains01"'
    theDevice: '""; "00 Map-USA-Rocky_Mountains01"'
    theImageIdentifier: '""; "00 Map-USA-Rocky_Mountains01"'
    thePhotographer: '""; "00 Map-USA-Rocky_Mountains01"'
    thePanoramaSignifier: '""; "00 Map-USA-Rocky_Mountains01"'
    theJunk: '""; "00 Map-USA-Rocky_Mountains01"'
    theSuffix: '""; "00 Map-USA-Rocky_Mountains01"'
    theFilename: '"2024-01-29 08.40.43 S20+ Simon - quick stop in Lost Stream, Bruce, Brian, and Alan"'
    theDate: '"2024-01-29"; "08.40.43 S20+ Simon - quick stop in Lost Stream, Bruce, Brian, and Alan"'
    theTime: '"08.40.43"; "S20+ Simon - quick stop in Lost Stream, Bruce, Brian, and Alan"'
    theDevice: '"S20+"; "Simon - quick stop in Lost Stream, Bruce, Brian, and Alan"'
    theImageIdentifier: '""; "Simon - quick stop in Lost Stream, Bruce, Brian, and Alan"'
    thePhotographer: '"Simon"; "quick stop in Lost Stream, Bruce, Brian, and Alan"'
    thePanoramaSignifier: '""; "quick stop in Lost Stream, Bruce, Brian, and Alan"'
    theJunk: '""; "quick stop in Lost Stream, Bruce, Brian, and Alan"'
    theSuffix: '""; "quick stop in Lost Stream, Bruce, Brian, and Alan"'
    theFilename: '"2014-01-26 12.11.20 P1000483 Jim - Steamboat Four Points"'
    theDate: '"2014-01-26"; "12.11.20 P1000483 Jim - Steamboat Four Points"'
    theTime: '"12.11.20"; "P1000483 Jim - Steamboat Four Points"'
    theDevice: '""; "P1000483 Jim - Steamboat Four Points"'
    theImageIdentifier: '"P1000483"; "Jim - Steamboat Four Points"'
    thePhotographer: '"Jim"; "Steamboat Four Points"'
    thePanoramaSignifier: '""; "Steamboat Four Points"'
    theJunk: '""; "Steamboat Four Points"'
    theSuffix: '""; "Steamboat Four Points"'
    theFilename: '"2020-08-04 09.37.32 LG6 Simon - Adrian and Jim at the bottom of Powderkeg"'
    theDate: '"2020-08-04"; "09.37.32 LG6 Simon - Adrian and Jim at the bottom of Powderkeg"'
    theTime: '"09.37.32"; "LG6 Simon - Adrian and Jim at the bottom of Powderkeg"'
    theDevice: '"LG6"; "Simon - Adrian and Jim at the bottom of Powderkeg"'
    theImageIdentifier: '""; "Simon - Adrian and Jim at the bottom of Powderkeg"'
    thePhotographer: '"Simon"; "Adrian and Jim at the bottom of Powderkeg"'
    thePanoramaSignifier: '""; "Adrian and Jim at the bottom of Powderkeg"'
    theJunk: '""; "Adrian and Jim at the bottom of Powderkeg"'
    theSuffix: '""; "Adrian and Jim at the bottom of Powderkeg"'
    theFilename: '"2014-02-04 07.11.17 P1000349 Simon - view from our accommodation"'
    theDate: '"2014-02-04"; "07.11.17 P1000349 Simon - view from our accommodation"'
    theTime: '"07.11.17"; "P1000349 Simon - view from our accommodation"'
    theDevice: '""; "P1000349 Simon - view from our accommodation"'
    theImageIdentifier: '"P1000349"; "Simon - view from our accommodation"'
    thePhotographer: '"Simon"; "view from our accommodation"'
    thePanoramaSignifier: '""; "view from our accommodation"'
    theJunk: '""; "view from our accommodation"'
    theSuffix: '""; "view from our accommodation"'
    theFilename: '"2019-02-26 09.30.21 Jim - Granlibakken Road intersection with West Lake Boulevard CA89"'
    theDate: '"2019-02-26"; "09.30.21 Jim - Granlibakken Road intersection with West Lake Boulevard CA89"'
    theTime: '"09.30.21"; "Jim - Granlibakken Road intersection with West Lake Boulevard CA89"'
    theDevice: '""; "Jim - Granlibakken Road intersection with West Lake Boulevard CA89"'
    theImageIdentifier: '""; "Jim - Granlibakken Road intersection with West Lake Boulevard CA89"'
    thePhotographer: '"Jim"; "Granlibakken Road intersection with West Lake Boulevard CA89"'
    thePanoramaSignifier: '""; "Granlibakken Road intersection with West Lake Boulevard CA89"'
    theJunk: '""; "Granlibakken Road intersection with West Lake Boulevard CA89"'
    theSuffix: '""; "Granlibakken Road intersection with West Lake Boulevard CA89"'
    theFilename: '"map day 3"'
    theDate: '""; "map day 3"'
    theTime: '""; "map day 3"'
    theDevice: '""; "map day 3"'
    theImageIdentifier: '""; "map day 3"'
    thePhotographer: '""; "map day 3"'
    thePanoramaSignifier: '""; "map day 3"'
    theJunk: '""; "map day 3"'
    theSuffix: '""; "map day 3"'
    theFilename: '"2015-02-08 16.25.53 P1010344 Simon - Hakuba sign"'
    theDate: '"2015-02-08"; "16.25.53 P1010344 Simon - Hakuba sign"'
    theTime: '"16.25.53"; "P1010344 Simon - Hakuba sign"'
    theDevice: '""; "P1010344 Simon - Hakuba sign"'
    theImageIdentifier: '"P1010344"; "Simon - Hakuba sign"'
    thePhotographer: '"Simon"; "Hakuba sign"'
    thePanoramaSignifier: '""; "Hakuba sign"'
    theJunk: '""; "Hakuba sign"'
    theSuffix: '""; "Hakuba sign"'
    theFilename: '"2015-05-30 12.20.09 P1010940 Simon - Angle Knob Ridge from Jumbo"'
    theDate: '"2015-05-30"; "12.20.09 P1010940 Simon - Angle Knob Ridge from Jumbo"'
    theTime: '"12.20.09"; "P1010940 Simon - Angle Knob Ridge from Jumbo"'
    theDevice: '""; "P1010940 Simon - Angle Knob Ridge from Jumbo"'
    theImageIdentifier: '"P1010940"; "Simon - Angle Knob Ridge from Jumbo"'
    thePhotographer: '"Simon"; "Angle Knob Ridge from Jumbo"'
    thePanoramaSignifier: '""; "Angle Knob Ridge from Jumbo"'
    theJunk: '""; "Angle Knob Ridge from Jumbo"'
    theSuffix: '""; "Angle Knob Ridge from Jumbo"'

    #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.2014-01-18Colorado,Day09
    Steamboat Four Points
Photo: Jim
2014-01-26 12.11.20; '2014 Jan 26 12:11'
Original size: 4,320 x 3,240; 4,598 kB
2014-01-26 12.11.20 P1000483 Jim - Steamboat Four Points.jpeg
    Steamboat Four Points

    Photo: Jim

    Steamboat Four Points

    Photo: Jim

    2014-01-26 12.11.20; '2014 Jan 26 12:11' Original size: 4,320 x 3,240; 4,598 kB 2014-01-26 12.11.20 P1000483 Jim - Steamboat Four Points.jpeg
    Filename = '2014-01-26 12.11.20 P1000483 Jim - Steamboat Four Points'

    Trips.2020-08-01Wanaka,Day4
    Adrian and Jim at the bottom of Powderkeg
Photo: Simon
2020-08-04 09.37.32; '2020 Aug 04 09:37'
Original size: 4,160 x 2,080; 2,350 kB
2020-08-04 09.37.32 LG6 Simon - Adrian and Jim at the bottom of Powderkeg.jpeg
    Adrian and Jim at the bottom of Powderkeg

    Photo: Simon

    Adrian and Jim at the bottom of Powderkeg

    Photo: Simon

    2020-08-04 09.37.32; '2020 Aug 04 09:37' Original size: 4,160 x 2,080; 2,350 kB 2020-08-04 09.37.32 LG6 Simon - Adrian and Jim at the bottom of Powderkeg.jpeg
    Filename = '2020-08-04 09.37.32 LG6 Simon - Adrian and Jim at the bottom of Powderkeg'

    Trips.2014-01-18Colorado,Day18
    View From Our Accommodation
Photo: Simon
2014-02-04 07.11.17; '2014 Feb 04 07:11'
Original size: 4,000 x 3,000; 5,323 kB
2014-02-04 07.11.17 P1000349 Simon - view from our accommodation.jpeg
    View From Our Accommodation

    Photo: Simon

    View From Our Accommodation

    Photo: Simon

    2014-02-04 07.11.17; '2014 Feb 04 07:11' Original size: 4,000 x 3,000; 5,323 kB 2014-02-04 07.11.17 P1000349 Simon - view from our accommodation.jpeg
    Filename = '2014-02-04 07.11.17 P1000349 Simon - view from our accommodation'

    Trips.2019-02-24LakeTahoe,Day03
    Granlibakken Road intersection with West Lake Boulevard CA 89
Photo: Jim
2019-02-26 09.30.21; '2019 Feb 26 09:30'
Original size: 4,032 x 3,024; 2,758 kB
2019-02-26 09.30.21 Jim - Granlibakken Road intersection with West Lake Boulevard CA89.jpeg
    Granlibakken Road intersection with West Lake Boulevard CA 89

    Photo: Jim

    Granlibakken Road intersection with West Lake Boulevard CA 89

    Photo: Jim

    2019-02-26 09.30.21; '2019 Feb 26 09:30' Original size: 4,032 x 3,024; 2,758 kB 2019-02-26 09.30.21 Jim - Granlibakken Road intersection with West Lake Boulevard CA89.jpeg
    Filename = '2019-02-26 09.30.21 Jim - Granlibakken Road intersection with West Lake Boulevard CA89'

    Trips.Hurunui
    Map Day  3

Original size: 1,416 x 3,071; 1,632 kB
map day 3.jpeg
    Map Day 3

    Map Day 3

    Original size: 1,416 x 3,071; 1,632 kB map day 3.jpeg
    Filename = 'map day 3'

    Trips.2015-02-06Hakuba,Day3
    Hakuba sign
Photo: Simon
2015-02-08 16.25.53; '2015 Feb 08 16:25'
Original size: 4,000 x 3,000; 4,990 kB
2015-02-08 16.25.53 P1010344 Simon - Hakuba sign.jpeg
    Hakuba sign

    Photo: Simon

    Hakuba sign

    Photo: Simon

    2015-02-08 16.25.53; '2015 Feb 08 16:25' Original size: 4,000 x 3,000; 4,990 kB 2015-02-08 16.25.53 P1010344 Simon - Hakuba sign.jpeg
    Filename = '2015-02-08 16.25.53 P1010344 Simon - Hakuba sign'

    Trips.2015-05-30Jumbo
    Angle Knob Ridge from Jumbo
Photo: Simon
2015-05-30 12.20.09; '2015 May 30 12:20'
Original size: 4,000 x 3,000; 6,815 kB
2015-05-30 12.20.09 P1010940 Simon - Angle Knob Ridge from Jumbo.jpeg
    Angle Knob Ridge from Jumbo

    Photo: Simon

    Angle Knob Ridge from Jumbo

    Photo: Simon

    2015-05-30 12.20.09; '2015 May 30 12:20' Original size: 4,000 x 3,000; 6,815 kB 2015-05-30 12.20.09 P1010940 Simon - Angle Knob Ridge from Jumbo.jpeg
    Filename = '2015-05-30 12.20.09 P1010940 Simon - Angle Knob Ridge from Jumbo'

    Trips.2023-02-16Canada,Day17

    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=