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

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

group=* name= count=4 order=random

Trips.2017-01-10NozawaOnsen,Day13
Anne at Osaka station
Photo: Simon
2017-01-23 09.48.30; '2017 Jan 23 09:48'
Original size: 4,608 x 3,456; 5,991 kB
2017-01-23 09.48.30 P1010695 Simon - Anne at Osaka station.jpeg
Anne at Osaka station

Photo: Simon

Anne at Osaka station

Photo: Simon

2017-01-23 09.48.30; '2017 Jan 23 09:48' Original size: 4,608 x 3,456; 5,991 kB 2017-01-23 09.48.30 P1010695 Simon - Anne at Osaka station.jpeg
Filename = '2017-01-23 09.48.30 P1010695 Simon - Anne at Osaka station'

Trips.2023-02-16Canada,Day17
Trips.2015-02-06Hakuba,Day4
Happo One from Alupu Lodge
Photo: Jim
2015-02-09 08.47.38; '2015 Feb 09 08:47'
Original size: 5,312 x 2,988; 5,271 kB
2015-02-09 08.47.38 Jim - Happo One from Alupu Lodge.jpeg
Happo One from Alupu Lodge

Photo: Jim

Happo One from Alupu Lodge

Photo: Jim

2015-02-09 08.47.38; '2015 Feb 09 08:47' Original size: 5,312 x 2,988; 5,271 kB 2015-02-09 08.47.38 Jim - Happo One from Alupu Lodge.jpeg
Filename = '2015-02-09 08.47.38 Jim - Happo One from Alupu Lodge'

Cookbook.MessagesReplacement


    (: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] => http://kiwiwiki.co.nz/pmwiki/extensions/KWTLQuestionVars [KWTLQuestionVarsHidden] => hidden )

    kwtlquestionvars\tlqvparsefilename()

    kwtlquestionvars\tlqvparsefilename()

    theFilename: '"2017-01-23 09.48.30 P1010695 Simon - Anne at Osaka station"'
    theDate: '"2017-01-23"; "09.48.30 P1010695 Simon - Anne at Osaka station"'
    theTime: '"09.48.30"; "P1010695 Simon - Anne at Osaka station"'
    theDevice: '""; "P1010695 Simon - Anne at Osaka station"'
    theImageIdentifier: '"P1010695"; "Simon - Anne at Osaka station"'
    thePhotographer: '"Simon"; "Anne at Osaka station"'
    thePanoramaSignifier: '""; "Anne at Osaka station"'
    theJunk: '""; "Anne at Osaka station"'
    theSuffix: '""; "Anne at Osaka station"'
    theFilename: '"2015-02-09 08.47.38 Jim - Happo One from Alupu Lodge"'
    theDate: '"2015-02-09"; "08.47.38 Jim - Happo One from Alupu Lodge"'
    theTime: '"08.47.38"; "Jim - Happo One from Alupu Lodge"'
    theDevice: '""; "Jim - Happo One from Alupu Lodge"'
    theImageIdentifier: '""; "Jim - Happo One from Alupu Lodge"'
    thePhotographer: '"Jim"; "Happo One from Alupu Lodge"'
    thePanoramaSignifier: '""; "Happo One from Alupu Lodge"'
    theJunk: '""; "Happo One from Alupu Lodge"'
    theSuffix: '""; "Happo One from Alupu Lodge"'
    theFilename: '"2016-02-23 14.07.10 P1000426 Simon - Adrian at 1,000m hut"'
    theDate: '"2016-02-23"; "14.07.10 P1000426 Simon - Adrian at 1,000m hut"'
    theTime: '"14.07.10"; "P1000426 Simon - Adrian at 1,000m hut"'
    theDevice: '""; "P1000426 Simon - Adrian at 1,000m hut"'
    theImageIdentifier: '"P1000426"; "Simon - Adrian at 1,000m hut"'
    thePhotographer: '"Simon"; "Adrian at 1,000m hut"'
    thePanoramaSignifier: '""; "Adrian at 1,000m hut"'
    theJunk: '""; "Adrian at 1,000m hut"'
    theSuffix: '""; "Adrian at 1,000m hut"'
    theFilename: '"2016-02-25 10.12.54 Panorama Simon - An'nupuri base_stitch"'
    theDate: '"2016-02-25"; "10.12.54 Panorama Simon - An'nupuri base_stitch"'
    theTime: '"10.12.54"; "Panorama Simon - An'nupuri base_stitch"'
    theDevice: '""; "Panorama Simon - An'nupuri base_stitch"'
    theImageIdentifier: '"Panorama"; "Simon - An'nupuri base_stitch"'
    thePhotographer: '"Simon"; "An'nupuri base_stitch"'
    thePanoramaSignifier: '""; "An'nupuri base_stitch"'
    theJunk: '""; "An'nupuri base"'
    theSuffix: '"stitch"; "An'nupuri base"'
    theFilename: '"2020-03-03 09.26.18 LG6 Simon - Jim ready to ski Deer Valley"'
    theDate: '"2020-03-03"; "09.26.18 LG6 Simon - Jim ready to ski Deer Valley"'
    theTime: '"09.26.18"; "LG6 Simon - Jim ready to ski Deer Valley"'
    theDevice: '"LG6"; "Simon - Jim ready to ski Deer Valley"'
    theImageIdentifier: '""; "Simon - Jim ready to ski Deer Valley"'
    thePhotographer: '"Simon"; "Jim ready to ski Deer Valley"'
    thePanoramaSignifier: '""; "Jim ready to ski Deer Valley"'
    theJunk: '""; "Jim ready to ski Deer Valley"'
    theSuffix: '""; "Jim ready to ski Deer Valley"'
    theFilename: '"day04-010-dsc00439-440-jrs"'
    theDate: '""; "day04-010-dsc00439-440-jrs"'
    theTime: '""; "day04-010-dsc00439-440-jrs"'
    theDevice: '""; "day04-010-dsc00439-440-jrs"'
    theImageIdentifier: '""; "day04-010-dsc00439-440-jrs"'
    thePhotographer: '""; "day04-010-dsc00439-440-jrs"'
    thePanoramaSignifier: '""; "day04-010-dsc00439-440-jrs"'
    theJunk: '""; "day04-010-dsc00439-440-jrs"'
    theSuffix: '""; "day04-010-dsc00439-440-jrs"'
    theFilename: '"2015-02-09 12.27.53 P1010362 Simon - Happo 1 chair"'
    theDate: '"2015-02-09"; "12.27.53 P1010362 Simon - Happo 1 chair"'
    theTime: '"12.27.53"; "P1010362 Simon - Happo 1 chair"'
    theDevice: '""; "P1010362 Simon - Happo 1 chair"'
    theImageIdentifier: '"P1010362"; "Simon - Happo 1 chair"'
    thePhotographer: '"Simon"; "Happo 1 chair"'
    thePanoramaSignifier: '""; "Happo 1 chair"'
    theJunk: '""; "Happo 1 chair"'
    theSuffix: '""; "Happo 1 chair"'
    theFilename: '"2024-01-27 15.22.01 S20+ Simon - view up the Branch River from the Swing bridge with Douglas Firs_stitch"'
    theDate: '"2024-01-27"; "15.22.01 S20+ Simon - view up the Branch River from the Swing bridge with Douglas Firs_stitch"'
    theTime: '"15.22.01"; "S20+ Simon - view up the Branch River from the Swing bridge with Douglas Firs_stitch"'
    theDevice: '"S20+"; "Simon - view up the Branch River from the Swing bridge with Douglas Firs_stitch"'
    theImageIdentifier: '""; "Simon - view up the Branch River from the Swing bridge with Douglas Firs_stitch"'
    thePhotographer: '"Simon"; "view up the Branch River from the Swing bridge with Douglas Firs_stitch"'
    thePanoramaSignifier: '""; "view up the Branch River from the Swing bridge with Douglas Firs_stitch"'
    theJunk: '""; "view up the Branch River from the Swing bridge with Douglas Firs"'
    theSuffix: '"stitch"; "view up the Branch River from the Swing bridge with Douglas Firs"'

    #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.2016-02-22Niseko,Day2
    Adrian at 1,000m hut
Photo: Simon
2016-02-23 14.07.10; '2016 Feb 23 14:07'
Original size: 4,608 x 3,456; 6,480 kB
2016-02-23 14.07.10 P1000426 Simon - Adrian at 1,000m hut.jpeg
    Adrian at 1,000m hut

    Photo: Simon

    Adrian at 1,000m hut

    Photo: Simon

    2016-02-23 14.07.10; '2016 Feb 23 14:07' Original size: 4,608 x 3,456; 6,480 kB 2016-02-23 14.07.10 P1000426 Simon - Adrian at 1,000m hut.jpeg
    Filename = '2016-02-23 14.07.10 P1000426 Simon - Adrian at 1,000m hut'

    Trips.2016-02-22Niseko,Day4
    An'nupuri base
Photo: Simon
2016-02-25 10.12.54; '2016 Feb 25 10:12'
Original size: 11,518 x 3,091; 30,421 kB; stitch
2016-02-25 10.12.54 Panorama Simon - An'nupuri base_stitch.jpg
    An'nupuri base

    Photo: Simon

    An'nupuri base

    Photo: Simon

    2016-02-25 10.12.54; '2016 Feb 25 10:12' Original size: 11,518 x 3,091; 30,421 kB; stitch 2016-02-25 10.12.54 Panorama Simon - An'nupuri base_stitch.jpg
    Filename = '2016-02-25 10.12.54 Panorama Simon - An'nupuri base_stitch'

    Trips.Hurunui,AsPlanned
    Trips.2020-02-27Utah,Day06
    Jim ready to ski Deer Valley
Photo: Simon
2020-03-03 09.26.18; '2020 Mar 03 09:26'
Original size: 4,160 x 3,120; 5,939 kB
2020-03-03 09.26.18 LG6 Simon - Jim ready to ski Deer Valley.jpeg
    Jim ready to ski Deer Valley

    Photo: Simon

    Jim ready to ski Deer Valley

    Photo: Simon

    2020-03-03 09.26.18; '2020 Mar 03 09:26' Original size: 4,160 x 3,120; 5,939 kB 2020-03-03 09.26.18 LG6 Simon - Jim ready to ski Deer Valley.jpeg
    Filename = '2020-03-03 09.26.18 LG6 Simon - Jim ready to ski Deer Valley'

    Trips.2006-12-StewartIsland,Day4
    Day04-010-Dsc00439-440-Jrs

Original size: 3,131 x 1,523; 716 kB
day04-010-dsc00439-440-jrs.jpeg
    Day04-010-Dsc00439‑440-Jrs

    Day04-010-Dsc00439‑440-Jrs

    Original size: 3,131 x 1,523; 716 kB day04-010-dsc00439‑440-jrs.jpeg
    Filename = 'day04-010-dsc00439‑440-jrs'

    Trips.2015-02-06Hakuba,Day4
    Happo  1 chair
Photo: Simon
2015-02-09 12.27.53; '2015 Feb 09 12:27'
Original size: 4,000 x 3,000; 4,126 kB
2015-02-09 12.27.53 P1010362 Simon - Happo 1 chair.jpeg
    Happo 1 chair

    Photo: Simon

    Happo 1 chair

    Photo: Simon

    2015-02-09 12.27.53; '2015 Feb 09 12:27' Original size: 4,000 x 3,000; 4,126 kB 2015-02-09 12.27.53 P1010362 Simon - Happo 1 chair.jpeg
    Filename = '2015-02-09 12.27.53 P1010362 Simon - Happo 1 chair'

    Trips.2024-01-27RaglanRange
    View up the Branch River from the Swing bridge with Douglas Firs
Photo: Simon
2024-01-27 15.22.01; '2024 Jan 27 15:22'
Original size: 11,210 x 8,896; 32,242 kB; stitch
2024-01-27 15.22.01 S20+ Simon - view up the Branch River from the Swing bridge with Douglas Firs_stitch.jpg
    View up the Branch River from the Swing bridge with Douglas Firs

    Photo: Simon

    View up the Branch River from the Swing bridge with Douglas Firs

    Photo: Simon

    2024-01-27 15.22.01; '2024 Jan 27 15:22' Original size: 11,210 x 8,896; 32,242 kB; stitch 2024-01-27 15.22.01 S20+ Simon - view up the Branch River from the Swing bridge with Douglas Firs_stitch.jpg
    Filename = '2024-01-27 15.22.01 S20+ Simon - view up the Branch River from the Swing bridge with Douglas Firs_stitch'

    Trips.2023-02-16Canada,Day06

    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=