[pmwiki-users] question about include
Simon
nzskiwi at gmail.com
Tue Jun 23 19:15:51 CDT 2015
Here are a couple of examples from a Site/LocalTemplates
!!! #includebody
[[PmWiki/IncludeOtherPages|Includes]] the page body.
(:markup class=horiz:)
(:if false:)
(:template first:)
[[#includebody]]
(:template each :)
>>small<<
%rfloat%[-[[{=$FullName}?action=edit|edit {=$Namespaced}]]-]
!!! [[#Standard{=$Name}]] [[{=$FullName} | {=$Titlespaced}]]
(:include {=$FullName}##includeend:)
>><<
[[#includebodyend]]
(:ifend:)
(:pagelist group=Site fmt=#includebody list=normal count=1:)
(:markupend:)
!!! #randomglossary
Include a random definition from the glossary where each glossary item has
an anchor
(:markup class=horiz:)
>>comment<<
[[#randomglossary]]
(:template default group=Glossary name=?,??,??? order=random count=1:)
(:template first:)
(:table:)
(:template each:)
(:include {{=$FullName}$RandomSection}:)
(:template last:)
(:tableend:)
[[#randomglossaryend]]
>>smaller<<
(:pagelist fmt=#randomglossary count=6:)
>><<
(:markupend:)
On 24 June 2015 at 08:55, Peter Schwegler <peterschwegler at quicknet.nl>
wrote:
> Hello to all
>
> Is there a way to combine the include-action with a pagelist, in order to
> display the contents of several pages instead of just a list of the page
> names?
> This is not possible with the regular include, and I could not find a
> cookbook recipe. I would like to use it as something like this:
>
> *include all pages from [[group]] where [[!category]] and [[!category]]
> not [[!category]] fmt=xxxxx sort by [[!category]]*
>
> Considering the planned number of pages and the number of categories doing
> it manually would be very labour intensive.
>
> Thank you for looking into this
>
> Regards
>
> Peter
>
>
> ------------------------------
> [image: Avast logo] <https://www.avast.com/antivirus>
>
> Dit e-mailbericht is gecontroleerd op virussen met Avast
> antivirussoftware.
> www.avast.com <https://www.avast.com/antivirus>
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>
--
____
http://kiwiwiki.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20150624/1510452a/attachment.html>
More information about the pmwiki-users
mailing list