« Test or query » : différence entre les versions
De Semantic MediaWiki - Sandbox
Aucun résumé des modifications Balise : Éditeur de wikicode 2017 |
Aucun résumé des modifications Balise : Éditeur de wikicode 2017 |
||
(2 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 12 : | Ligne 12 : | ||
== Series of queries using template on some pages == | == Series of queries using template on some pages == | ||
{{#arraydefine:myarray| | |||
{{#ask: {{#arraymap:China, Finland, Germany, Indonesia, United Kingdom|,|VAR|[[VAR]]| OR }} | {{#ask: {{#arraymap:China, Finland, Germany, Indonesia, United Kingdom|,|VAR|[[VAR]]| OR }} | ||
|link=none | |link=none | ||
Ligne 17 : | Ligne 18 : | ||
|sep=, | |sep=, | ||
|template=Return Located in | |template=Return Located in | ||
}} | |||
}} | |||
{{#arrayunique:myarray}} | |||
{{#arrayprint:myarray}} | |||
== Trying subobjects == | |||
{{#ask: [[-Has subobject::Billy Budd]] | |||
|link=none | |||
|format=template | |||
|sep=, | |||
|template=Return Has Publisher | |||
}} | }} |
Dernière version du 4 janvier 2020 à 22:42
Some pages
Simple query using template on some pages
Asia,,Europe,,Europe
Series of queries using template on some pages
Asia, Europe, Europe
Trying subobjects
Penguin Books,Bookman,Penguin,Penguin Books,Bantam Books