|
add Test Extensions page
|
TL Question Vars
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
Moonrise
📷 Simon
Moonrise
Photographer; Simon
2015-03-06 21.19.54; Metadata time: '2015 Mar 06 21:19'
Original size: 4,000 x 3,000; 2,474 kB
Filename: 2015-03-06 21.19.54 P1010800 Simon - Moonrise.jpeg Filename = '2015-03-06 21.19.54 P1010800 Simon - Moonrise'
|
example
(:pagelist group=* fmt=#testcaption count=4 wrap=none:)
| group=* name= count=4 order=random
At the top of Silver Fir
📷 Simon
At the top of Silver Fir
Photographer; Simon
2025-03-07 13.16.01; Metadata time: '2025 Mar 07 13:16'
Original size: 12,951 x 6,457; 7,803 kB; stitch
Filename: 2025-03-07 13.16.01 S20+ Simon - at the top of Silver Fir_stitch.jpg Filename = '2025-03-07 13.16.01 S20+ Simon - at the top of Silver Fir_stitch'
Tūroa Trail Map Tūroa Trail Map
Original size: 3,508 x 2,480; 1,079 kB
Filename: TūroaTrailMap.jpeg Filename = 'TūroaTrailMap'
|
(: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: '"2015-03-06 21.19.54 P1010800 Simon - Moonrise"'
theDate: '"2015-03-06"; "21.19.54 P1010800 Simon - Moonrise"'
theTime: '"21.19.54"; "P1010800 Simon - Moonrise"'
theDevice: '""; "P1010800 Simon - Moonrise"'
theImageIdentifier: '"P1010800"; "Simon - Moonrise"'
thePhotographer: '"Simon"; "Moonrise"'
thePanoramaSignifier: '""; "Moonrise"'
theJunk: '""; "Moonrise"'
theSuffix: '""; "Moonrise"'
theFilename: '"2025-03-07 13.16.01 S20+ Simon - at the top of Silver Fir_stitch"'
theDate: '"2025-03-07"; "13.16.01 S20+ Simon - at the top of Silver Fir_stitch"'
theTime: '"13.16.01"; "S20+ Simon - at the top of Silver Fir_stitch"'
theDevice: '"S20+"; "Simon - at the top of Silver Fir_stitch"'
theImageIdentifier: '""; "Simon - at the top of Silver Fir_stitch"'
thePhotographer: '"Simon"; "at the top of Silver Fir_stitch"'
thePanoramaSignifier: '""; "at the top of Silver Fir_stitch"'
theJunk: '""; "at the top of Silver Fir"'
theSuffix: '"stitch"; "at the top of Silver Fir"'
theFilename: '"TūroaTrailMap"'
theDate: '""; "TūroaTrailMap"'
theTime: '""; "TūroaTrailMap"'
theDevice: '""; "TūroaTrailMap"'
theImageIdentifier: '""; "TūroaTrailMap"'
thePhotographer: '""; "TūroaTrailMap"'
thePanoramaSignifier: '""; "TūroaTrailMap"'
theJunk: '""; "TūroaTrailMap"'
theSuffix: '""; "TūroaTrailMap"'
theFilename: '"2008-04-25 07.30.07 P4250976 Simon"'
theDate: '"2008-04-25"; "07.30.07 P4250976 Simon"'
theTime: '"07.30.07"; "P4250976 Simon"'
theDevice: '""; "P4250976 Simon"'
theImageIdentifier: '"P4250976"; "Simon"'
thePhotographer: '""; "Simon"'
thePanoramaSignifier: '""; "Simon"'
theJunk: '""; "Simon"'
theSuffix: '""; "Simon"'
theFilename: '"2019-03-01 12.20.07 P1020759 Simon - Jim on Tower 16 run"'
theDate: '"2019-03-01"; "12.20.07 P1020759 Simon - Jim on Tower 16 run"'
theTime: '"12.20.07"; "P1020759 Simon - Jim on Tower 16 run"'
theDevice: '""; "P1020759 Simon - Jim on Tower 16 run"'
theImageIdentifier: '"P1020759"; "Simon - Jim on Tower 16 run"'
thePhotographer: '"Simon"; "Jim on Tower 16 run"'
thePanoramaSignifier: '""; "Jim on Tower 16 run"'
theJunk: '""; "Jim on Tower 16 run"'
theSuffix: '""; "Jim on Tower 16 run"'
theFilename: '"2026-03-02 11.28.40 CPSG7MII IMG_1758 Brian - Bruce and Simon at the end of the Wilberforce canal stopbank"'
theDate: '"2026-03-02"; "11.28.40 CPSG7MII IMG_1758 Brian - Bruce and Simon at the end of the Wilberforce canal stopbank"'
theTime: '"11.28.40"; "CPSG7MII IMG_1758 Brian - Bruce and Simon at the end of the Wilberforce canal stopbank"'
theDevice: '"CPSG7MII"; "IMG_1758 Brian - Bruce and Simon at the end of the Wilberforce canal stopbank"'
theImageIdentifier: '"IMG_1758"; "Brian - Bruce and Simon at the end of the Wilberforce canal stopbank"'
thePhotographer: '"Brian"; "Bruce and Simon at the end of the Wilberforce canal stopbank"'
thePanoramaSignifier: '""; "Bruce and Simon at the end of the Wilberforce canal stopbank"'
theJunk: '""; "Bruce and Simon at the end of the Wilberforce canal stopbank"'
theSuffix: '""; "Bruce and Simon at the end of the Wilberforce canal stopbank"'
theFilename: '"2010-01-01 11.31.58 P1000574 Simon"'
theDate: '"2010-01-01"; "11.31.58 P1000574 Simon"'
theTime: '"11.31.58"; "P1000574 Simon"'
theDevice: '""; "P1000574 Simon"'
theImageIdentifier: '"P1000574"; "Simon"'
thePhotographer: '""; "Simon"'
thePanoramaSignifier: '""; "Simon"'
theJunk: '""; "Simon"'
theSuffix: '""; "Simon"'
theFilename: '"2015-02-09 08.29.08 P1010347 Simon - my room"'
theDate: '"2015-02-09"; "08.29.08 P1010347 Simon - my room"'
theTime: '"08.29.08"; "P1010347 Simon - my room"'
theDevice: '""; "P1010347 Simon - my room"'
theImageIdentifier: '"P1010347"; "Simon - my room"'
thePhotographer: '"Simon"; "my room"'
thePanoramaSignifier: '""; "my room"'
theJunk: '""; "my room"'
theSuffix: '""; "my room"'
theFilename: '"2011-01-25 08.45.05 P1020012 Simon Gunner gutter cafe breakfast"'
theDate: '"2011-01-25"; "08.45.05 P1020012 Simon Gunner gutter cafe breakfast"'
theTime: '"08.45.05"; "P1020012 Simon Gunner gutter cafe breakfast"'
theDevice: '""; "P1020012 Simon Gunner gutter cafe breakfast"'
theImageIdentifier: '"P1020012"; "Simon Gunner gutter cafe breakfast"'
thePhotographer: '"Simon"; "Gunner gutter cafe breakfast"'
thePanoramaSignifier: '""; "Gunner gutter cafe breakfast"'
theJunk: '""; "Gunner gutter cafe breakfast"'
theSuffix: '""; "Gunner gutter cafe breakfast"'
#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
Simon Simon
2008-04-25 07.30.07; Metadata time: '2008 Apr 25 07:30'
Original size: 3,072 x 2,304; 2,816 kB
Filename: 2008-04-25 07.30.07 P4250976 Simon.jpeg Filename = '2008-04-25 07.30.07 P4250976 Simon'
Jim on Tower 16 run
📷 Simon
Jim on Tower 16 run
Photographer; Simon
2019-03-01 12.20.07; Metadata time: '2019 Mar 01 12:20'
Original size: 4,608 x 3,456; 5,631 kB
Filename: 2019-03-01 12.20.07 P1020759 Simon - Jim on Tower 16 run.jpeg Filename = '2019-03-01 12.20.07 P1020759 Simon - Jim on Tower 16 run'
Bruce and Simon at the end of the Wilberforce canal stopbank
📷 Brian
Bruce and Simon at the end of the Wilberforce canal stopbank
Photographer; Brian
2026-03-02 11.28.40; Metadata time: '2026 Mar 02 11:28'
Original size: 5,472 x 3,648; 8,447 kB
Filename: 2026-03-02 11.28.40 CPSG7MII IMG_1758 Brian - Bruce and Simon at the end of the Wilberforce canal stopbank.jpeg Filename = '2026-03-02 11.28.40 CPSG7MII IMG_1758 Brian - Bruce and Simon at the end of the Wilberforce canal stopbank'
Simon Simon
2010-01-01 11.31.58; Metadata time: '2010 Jan 01 11:31'
Original size: 4,000 x 3,000; 4,224 kB
Filename: 2010-01-01 11.31.58 P1000574 Simon.jpeg Filename = '2010-01-01 11.31.58 P1000574 Simon'
My Room
📷 Simon
My Room
Photographer; Simon
2015-02-09 08.29.08; Metadata time: '2015 Feb 09 08:29'
Original size: 3,000 x 4,000; 4,900 kB
Filename: 2015-02-09 08.29.08 P1010347 Simon - my room.jpeg Filename = '2015-02-09 08.29.08 P1010347 Simon - my room'
Gunner gutter cafe breakfast
📷 Simon
Gunner gutter cafe breakfast
Photographer; Simon
2011-01-25 08.45.05; Metadata time: '2011 Jan 25 08:45'
Original size: 4,000 x 3,000; 6,054 kB
Filename: 2011-01-25 08.45.05 P1020012 Simon Gunner gutter cafe breakfast.jpeg Filename = '2011-01-25 08.45.05 P1020012 Simon Gunner gutter cafe breakfast'
|
|