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.2020-08-01Wanaka,Day8
Mc Dougalls and Wanaka Base
Photo: Jim
2020-08-08 12.30.59; '2020 Aug 08 12:30'
Original size: 6,356 x 2,620; 16,059 kB; stitch
2020-08-08 12.30.59 GS8 Jim - McDougalls and Wanaka Base_stitch.jpg
Mc Dougalls and Wanaka Base

Photo: Jim

Mc Dougalls and Wanaka Base

Photo: Jim

2020-08-08 12.30.59; '2020 Aug 08 12:30' Original size: 6,356 x 2,620; 16,059 kB; stitch 2020-08-08 12.30.59 GS8 Jim - McDougalls and Wanaka Base_stitch.jpg
Filename = '2020-08-08 12.30.59 GS8 Jim - McDougalls and Wanaka Base_stitch'

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

group=* name= count=4 order=random

Test.SimpleRecipeTemplate
Trips.2014-01-18Colorado
Dive Fish Snow

Original size: 129 x 100; 5 kB
DiveFishSnow.gif
Dive Fish Snow

Dive Fish Snow

Original size: 129 x 100; 5 kB DiveFishSnow.gif
Filename = 'DiveFishSnow'

Test.LinkIcons
Ball

Original size: 50 x 50; 2 kB
ball.jpeg
Ball

Ball

Original size: 50 x 50; 2 kB ball.jpeg
Filename = 'ball'

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'



    (: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: '"2020-08-08 12.30.59 GS8 Jim - McDougalls and Wanaka Base_stitch"'
    theDate: '"2020-08-08"; "12.30.59 GS8 Jim - McDougalls and Wanaka Base_stitch"'
    theTime: '"12.30.59"; "GS8 Jim - McDougalls and Wanaka Base_stitch"'
    theDevice: '"GS8"; "Jim - McDougalls and Wanaka Base_stitch"'
    theImageIdentifier: '""; "Jim - McDougalls and Wanaka Base_stitch"'
    thePhotographer: '"Jim"; "McDougalls and Wanaka Base_stitch"'
    thePanoramaSignifier: '""; "McDougalls and Wanaka Base_stitch"'
    theJunk: '""; "McDougalls and Wanaka Base"'
    theSuffix: '"stitch"; "McDougalls and Wanaka Base"'
    theFilename: '"DiveFishSnow"'
    theDate: '""; "DiveFishSnow"'
    theTime: '""; "DiveFishSnow"'
    theDevice: '""; "DiveFishSnow"'
    theImageIdentifier: '""; "DiveFishSnow"'
    thePhotographer: '""; "DiveFishSnow"'
    thePanoramaSignifier: '""; "DiveFishSnow"'
    theJunk: '""; "DiveFishSnow"'
    theSuffix: '""; "DiveFishSnow"'
    theFilename: '"ball"'
    theDate: '""; "ball"'
    theTime: '""; "ball"'
    theDevice: '""; "ball"'
    theImageIdentifier: '""; "ball"'
    thePhotographer: '""; "ball"'
    thePanoramaSignifier: '""; "ball"'
    theJunk: '""; "ball"'
    theSuffix: '""; "ball"'
    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-13 09.19.16 HDR LG6 Simon - Bruce Bay_stitch"'
    theDate: '"2019-01-13"; "09.19.16 HDR LG6 Simon - Bruce Bay_stitch"'
    theTime: '"09.19.16"; "HDR LG6 Simon - Bruce Bay_stitch"'
    theDevice: '""; "HDR LG6 Simon - Bruce Bay_stitch"'
    theImageIdentifier: '""; "HDR LG6 Simon - Bruce Bay_stitch"'
    thePhotographer: '""; "HDR LG6 Simon - Bruce Bay_stitch"'
    thePanoramaSignifier: '""; "HDR LG6 Simon - Bruce Bay_stitch"'
    theJunk: '""; "HDR LG6 Simon - Bruce Bay"'
    theSuffix: '"stitch"; "HDR LG6 Simon - Bruce Bay"'
    theFilename: '"2020-08-04 14.02.03 LG6 Simon - Adrian at the top of Whitestar Express"'
    theDate: '"2020-08-04"; "14.02.03 LG6 Simon - Adrian at the top of Whitestar Express"'
    theTime: '"14.02.03"; "LG6 Simon - Adrian at the top of Whitestar Express"'
    theDevice: '"LG6"; "Simon - Adrian at the top of Whitestar Express"'
    theImageIdentifier: '""; "Simon - Adrian at the top of Whitestar Express"'
    thePhotographer: '"Simon"; "Adrian at the top of Whitestar Express"'
    thePanoramaSignifier: '""; "Adrian at the top of Whitestar Express"'
    theJunk: '""; "Adrian at the top of Whitestar Express"'
    theSuffix: '""; "Adrian at the top of Whitestar Express"'
    theFilename: '"2014-01-29 09.54.02 P1000231 Simon - On Gondola 1"'
    theDate: '"2014-01-29"; "09.54.02 P1000231 Simon - On Gondola 1"'
    theTime: '"09.54.02"; "P1000231 Simon - On Gondola 1"'
    theDevice: '""; "P1000231 Simon - On Gondola 1"'
    theImageIdentifier: '"P1000231"; "Simon - On Gondola 1"'
    thePhotographer: '"Simon"; "On Gondola 1"'
    thePanoramaSignifier: '""; "On Gondola 1"'
    theJunk: '""; "On Gondola 1"'
    theSuffix: '""; "On Gondola 1"'
    theFilename: '"2025-05-04 08.17.13 S20+ Simon - Waitōtara River in the mist"'
    theDate: '"2025-05-04"; "08.17.13 S20+ Simon - Waitōtara River in the mist"'
    theTime: '"08.17.13"; "S20+ Simon - Waitōtara River in the mist"'
    theDevice: '"S20+"; "Simon - Waitōtara River in the mist"'
    theImageIdentifier: '""; "Simon - Waitōtara River in the mist"'
    thePhotographer: '"Simon"; "Waitōtara River in the mist"'
    thePanoramaSignifier: '""; "Waitōtara River in the mist"'
    theJunk: '""; "Waitōtara River in the mist"'
    theSuffix: '""; "Waitōtara River in the mist"'

    #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.Hurunui,GPS
    Trips.2019-01-13MarksFlat,Day01
    HDR LG 6 Simon - Bruce Bay
2019-01-13 09.19.16; '2019 Jan 13 09:19'
Original size: 6,079 x 2,925; 16,445 kB; stitch
2019-01-13 09.19.16 HDR LG6 Simon - Bruce Bay_stitch.jpg
    HDR LG 6 Simon - Bruce Bay

    HDR LG 6 Simon - Bruce Bay

    2019-01-13 09.19.16; '2019 Jan 13 09:19' Original size: 6,079 x 2,925; 16,445 kB; stitch 2019-01-13 09.19.16 HDR LG6 Simon - Bruce Bay_stitch.jpg
    Filename = '2019-01-13 09.19.16 HDR LG6 Simon - Bruce Bay_stitch'

    Trips.2020-02-27Utah,Day15
    Trips.GroupHeader
    Trips.2020-08-01Wanaka,Day4
    Adrian at the top of Whitestar Express
Photo: Simon
2020-08-04 14.02.03; '2020 Aug 04 14:02'
Original size: 4,160 x 2,080; 3,839 kB
2020-08-04 14.02.03 LG6 Simon - Adrian at the top of Whitestar Express.jpeg
    Adrian at the top of Whitestar Express

    Photo: Simon

    Adrian at the top of Whitestar Express

    Photo: Simon

    2020-08-04 14.02.03; '2020 Aug 04 14:02' Original size: 4,160 x 2,080; 3,839 kB 2020-08-04 14.02.03 LG6 Simon - Adrian at the top of Whitestar Express.jpeg
    Filename = '2020-08-04 14.02.03 LG6 Simon - Adrian at the top of Whitestar Express'

    Trips.2014-01-18Colorado,Day12
    On Gondola  1
Photo: Simon
2014-01-29 09.54.02; '2014 Jan 29 09:54'
Original size: 4,000 x 3,000; 5,193 kB
2014-01-29 09.54.02 P1000231 Simon - On Gondola 1.jpeg
    On Gondola 1

    Photo: Simon

    On Gondola 1

    Photo: Simon

    2014-01-29 09.54.02; '2014 Jan 29 09:54' Original size: 4,000 x 3,000; 5,193 kB 2014-01-29 09.54.02 P1000231 Simon - On Gondola 1.jpeg
    Filename = '2014-01-29 09.54.02 P1000231 Simon - On Gondola 1'

    Trips.2025-05-04TrainsTahupoPuteoreHuts
    Waitōtara River in the mist
Photo: Simon
2025-05-04 08.17.13; '2025 May 04 08:17'
Original size: 6,928 x 9,248; 18,953 kB
2025-05-04 08.17.13 S20+ Simon - Waitōtara River in the mist.jpeg
    Waitōtara River in the mist

    Photo: Simon

    Waitōtara River in the mist

    Photo: Simon

    2025-05-04 08.17.13; '2025 May 04 08:17' Original size: 6,928 x 9,248; 18,953 kB 2025-05-04 08.17.13 S20+ Simon - Waitōtara River in the mist.jpeg
    Filename = '2025-05-04 08.17.13 S20+ Simon - Waitōtara River in the mist'

    Trips.2018-01-19EuropeanAlps,Day15

    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=