Extension Hub -
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
Ambrosia Ambrosia
Original size: 3,072 x 2,304; 317 kB
Filename: Ambrosia.jpeg Filename = 'Ambrosia'
|
example
(:pagelist group=* fmt=#testcaption count=4 wrap=none:)
|
group=* name= count=4 order=random
|
(:pagelist group={$Group} name={$Name} fmt=#testcaption wrap=none order=name count=111:)
|
group=TestExtensions name=TLQuestionVars count=111 order=name
|
Messages
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()
theFilename: '"Ambrosia"'
theDate: '""; "Ambrosia"'
theTime: '""; "Ambrosia"'
theDevice: '""; "Ambrosia"'
theImageIdentifier: '""; "Ambrosia"'
thePhotographer: '""; "Ambrosia"'
thePanoramaSignifier: '""; "Ambrosia"'
theJunk: '""; "Ambrosia"'
theSuffix: '""; "Ambrosia"'
theFilename: '"2026-03-07 06.52.23 CPSG7MII IMG_1807 Brian - sunrise from Fanghill Hut_cr"'
theDate: '"2026-03-07"; "06.52.23 CPSG7MII IMG_1807 Brian - sunrise from Fanghill Hut_cr"'
theTime: '"06.52.23"; "CPSG7MII IMG_1807 Brian - sunrise from Fanghill Hut_cr"'
theDevice: '"CPSG7MII"; "IMG_1807 Brian - sunrise from Fanghill Hut_cr"'
theImageIdentifier: '"IMG_1807"; "Brian - sunrise from Fanghill Hut_cr"'
thePhotographer: '"Brian"; "sunrise from Fanghill Hut_cr"'
thePanoramaSignifier: '""; "sunrise from Fanghill Hut_cr"'
theJunk: '""; "sunrise from Fanghill Hut"'
theSuffix: '"cr"; "sunrise from Fanghill Hut"'
theFilename: '"2011-01-25 11.13.32 P1020013 Simon Walking up Genner River"'
theDate: '"2011-01-25"; "11.13.32 P1020013 Simon Walking up Genner River"'
theTime: '"11.13.32"; "P1020013 Simon Walking up Genner River"'
theDevice: '""; "P1020013 Simon Walking up Genner River"'
theImageIdentifier: '"P1020013"; "Simon Walking up Genner River"'
thePhotographer: '"Simon"; "Walking up Genner River"'
thePanoramaSignifier: '""; "Walking up Genner River"'
theJunk: '""; "Walking up Genner River"'
theSuffix: '""; "Walking up Genner River"'
theFilename: '"2019-01-15 10.04.13 P1020460 Simon - alpine daisies"'
theDate: '"2019-01-15"; "10.04.13 P1020460 Simon - alpine daisies"'
theTime: '"10.04.13"; "P1020460 Simon - alpine daisies"'
theDevice: '""; "P1020460 Simon - alpine daisies"'
theImageIdentifier: '"P1020460"; "Simon - alpine daisies"'
thePhotographer: '"Simon"; "alpine daisies"'
thePanoramaSignifier: '""; "alpine daisies"'
theJunk: '""; "alpine daisies"'
theSuffix: '""; "alpine daisies"'
theFilename: '"2014-01-19 00 Ski area comparison"'
theDate: '"2014-01-19"; "00 Ski area comparison"'
theTime: '""; "00 Ski area comparison"'
theDevice: '""; "00 Ski area comparison"'
theImageIdentifier: '""; "00 Ski area comparison"'
thePhotographer: '""; "00 Ski area comparison"'
thePanoramaSignifier: '""; "00 Ski area comparison"'
theJunk: '""; "00 Ski area comparison"'
theSuffix: '""; "00 Ski area comparison"'
theFilename: '"2015-07-04 08.16.51 P1010957 Simon - Totara Flats Hut"'
theDate: '"2015-07-04"; "08.16.51 P1010957 Simon - Totara Flats Hut"'
theTime: '"08.16.51"; "P1010957 Simon - Totara Flats Hut"'
theDevice: '""; "P1010957 Simon - Totara Flats Hut"'
theImageIdentifier: '"P1010957"; "Simon - Totara Flats Hut"'
thePhotographer: '"Simon"; "Totara Flats Hut"'
thePanoramaSignifier: '""; "Totara Flats Hut"'
theJunk: '""; "Totara Flats Hut"'
theSuffix: '""; "Totara Flats 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:)
group=Trips name= count=8 order=random
Sunrise from Fanghill Hut
📷 Brian
Sunrise from Fanghill Hut
Photographer; Brian
2026-03-07 06.52.23; Metadata time: '2026 Mar 07 06:52'
Original size: 5,472 x 2,279; 2,772 kB; cr
Filename: 2026-03-07 06.52.23 CPSG7MII IMG_1807 Brian - sunrise from Fanghill Hut_cr.jpg Filename = '2026-03-07 06.52.23 CPSG7MII IMG_1807 Brian - sunrise from Fanghill Hut_cr'
Walking up Genner River
📷 Simon
Walking up Genner River
Photographer; Simon
2011-01-25 11.13.32; Metadata time: '2011 Jan 25 11:13'
Original size: 4,000 x 3,000; 6,751 kB
Filename: 2011-01-25 11.13.32 P1020013 Simon Walking up Genner River.jpeg Filename = '2011-01-25 11.13.32 P1020013 Simon Walking up Genner River'
Alpine Daisies
📷 Simon
Alpine Daisies
Photographer; Simon
2019-01-15 10.04.13; Metadata time: '2019 Jan 15 10:04'
Original size: 3,456 x 4,608; 5,404 kB
Filename: 2019-01-15 10.04.13 P1020460 Simon - alpine daisies.jpeg Filename = '2019-01-15 10.04.13 P1020460 Simon - alpine daisies'
00 Ski area comparison 00 Ski area comparison
2014-01-19
Original size: 697 x 519; 149 kB
Filename: 2014-01-19 00 Ski area comparison.png Filename = '2014-01-19 00 Ski area comparison'
Totara Flats Hut
📷 Simon
Totara Flats Hut
Photographer; Simon
2015-07-04 08.16.51; Metadata time: '2015 Jul 04 08:16'
Original size: 4,000 x 3,000; 4,835 kB
Filename: 2015-07-04 08.16.51 P1010957 Simon - Totara Flats Hut.jpeg Filename = '2015-07-04 08.16.51 P1010957 Simon - Totara Flats Hut'
|