I brought
http://semantic-mediawiki.org/wiki/Help:Inline_queries#Using_templates
into SMW 1.0: I made the examples work, used {{#ask}}, etc.
The notes used to say:
> * When output is limited, the template format will not be carried
> forward to the continuation link.
This seems fixed!
> * Parser functions applied to parameters (e.g. for computations and
> branching) do not work.
I don't understand this and I don't know if it's still broken. Does it
refer to using parser functions within the format template? If it
works, I'd love to have a simple example of this.
> * ... If the selected
> page itself is normally not produced, {{{1}}} refers to the first
> result about the page. Thus typically different format templates are
> needed for both cases. To avoid that, when enumerating pages in the
> query (or specifying a particular one), use parameter "mainlabel" in
> the query to assign {{{1}}} to the selected page, so that {{{2}}}
> etc. refer to the same results as when pages are not enumerated in
> the query.
This doesn't work. Using mainlabel=someheader does not force the page
titles to appear in the first column. Rather, I have to use |? to make
the unnamed column (i.e. the page title) appear.
--
=S Page
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Semediawiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel