Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to use the pipe template in an ask query? #5610

Open
apolitze opened this issue Feb 23, 2024 · 0 comments
Open

Is it possible to use the pipe template in an ask query? #5610

apolitze opened this issue Feb 23, 2024 · 0 comments
Labels

Comments

@apolitze
Copy link

Dear SMW developers,
in a template I would like to display a table with properties passed to the template. As I do not know the amount of properties, I make usage of the pipe template {{!}} .. query looks like:

{{#arraydefine:specific properties|{{{specific properties|}}}|,}}

{{#ask: [[:+]] |?Generic Property=Generic Property {{#arrayprint: specific properties|<br/>|@@@@|{{!}}?@@@@}} }}

The result shows the generic column, but this contains the syntax for e.g. 2 specific properties:
grafik

Is it possible to use the pipe template in an ask query?

SMW 4.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant