(:groupheader:)(:Summary:Testing the [[Cookbook/{$Name}]] recipe. See PmWiki Cookbook:{$Name}:)
%rfloat smaller%{$TLQuestionVarsVersion}%%
%rfloat smaller noprint%Category: [[!Extensions]]
<:vspace>
(:markup caption="example":)
(:pagelist group=Trips fmt="Test/TLQuestionVars#testcaption" count=2 wrap=none:)
(:markupend:)
<:vspace>
(:markup caption="example":)
(:pagelist group=* fmt={$FullName}#testcaption count=1 wrap=none:)
(:markupend:)
<:vspace>
(:markup caption="example":)
(:pagelist group=* fmt=#testcaption count=4 wrap=none:)
(:markupend:)
----
>>smaller<<
(:attachlist show=name:)
----
(:markup:)
(:pagelist group={$Group} name={$Name} fmt=#testcaption wrap=none order=name count=111:)
(:markupend:)
>><<
----
!! Messages
(:messages *{$Name}* details=hide:)
<:vspace>
!! #testcaption
(:Summary:Select an image randomly from all pages with images and display:)
<:vspace>
display a random image
<:vspace>
(:markup:)
>>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}]]
[[#testcaptionend]]
>><<
<:vspace>
(:pagelist fmt=#testcaption count=8 px=32:)
(:markupend:)
<:vspace>
<:vspace>
(:groupfooter:)
<:block>