## How do you provide the per post discussion links in your own blog? > That's configured by the "actions" parameter to the inline directive. See > docs in [[plugins/inline]]. --[[Joey]] And do you have any ideas/hints about implementing a "comments" feature. What I'm after is something for users who don't quite understand the Wiki style for discussions. I would like to have a form for them to post a comment and have the comment appended to the discussion Wiki-style. Maybe take it as far as implementing "replies" to other comments. -- Marcelo > See [[plugins/comments]] > --[[Joey]] --- ## More dynamic `rootpage` parameter of inline plugin? (Moved to [[todo/dynamic_rootpage]]) --- ## Excluding Images Is there a simple way to exclude images, stylesheets, and other "non-page" files other than a blacklist approach like `pages="* and !*.png and !*.css"`? --[[JasonBlevins]] > The [[plugins/filecheck]] plugin adds a 'ispage()' pagespec test that can do that. > --[[Joey]] --- ## Documentation for parameter `template`? I would be especially interested in a list of variables which can be used in such a template. > I try to keep ikiwiki's templates self-documenting, so if you take > a look at a template used by inline, such as the default `/usr/share/ikiwiki/template/inlinepage.tmpl`, > you can see all or nearly all the template variables in use in it. I have a page template with some structured information as parameters. For example `location="nowhere"` and `price="20"`. Is there a possibility to extract those information, i. e. access the parameters, to compose the item for the inline directive from these information? For example the line »Go to nowhere for 20 bugs.« is shown inlined. --[[PaulePanter]] > Let's not confuse the template directive with the templates used by inline. > When a page is inlined, any template directives in it are first expanded, > using the user-defined templates for that. Then, the inline directive's > template is used to insert it into the inlining page. > > So no, you can't reference template directive parameters inside inline's > template, because it's already expanded at that point. --[[Joey]] >> Thank you for the explanation. Can you think of another way to accomplish >> my goals? >> >> Right now, I only see the option to edit the title with the >> `[[/ikiwiki/directive/meta]]` directive and the field `title`. >> >> How could a solution look like? >> >> 1. The possibility to add custom fields to the `meta` directive. >> 1. The possibility to specify in a page, how the page should be displayed >> when used by inlined. That could be done by a new directive `cinlined` >> (for »custom inlined«) which is chosen by the `inline` directive to >> display if told to do so. >> >> [[!cinlined text="""Text which can also use Parameter, bla blubb …"""]] >> --[[PaulePanter]] ## meta parameters are not enough I think I have the same problem as Paule, as I want extra arbitary parameters in my template. This is what I am doing currently, which makes my skin crawl. In `wgts/foo.mdwn` I have resorted to using AUTHORURL as the location of this widgets icon: [[!meta authorurl="/ico/aHR0cDovL2JvbmRpLm9tdHAub3JnL3dpZGdldHMvYmF0dGVyeQ==.png" ]] In templates I have a file called `wgtlist.tmpl`:


Posted
My index page has: [[!inline pages="./wgts/*" show=5 feeds=no actions=no rootpage="wgts" archive="yes" template=wgtlist]] Else can you please suggest a smarter way of getting certain data out from pages for a inline index? --[[hendry]]