« Import-annotation » : différence entre les versions
De Semantic MediaWiki - Sandbox
(new) |
(chg) |
||
(12 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
{{expr: {{#ask: [[Category:Import-annotation examples]] | ?Has number | ?Has | See [[:Category:Import-annotation examples|the pages used to create this example]] | ||
== without using the <code>import-annotation</code> parameter == | |||
; syntax | |||
<pre> | |||
{{#expr: {{#ask: [[Category:Import-annotation examples]] [[Has number::+]] |?Has number |?Has number too |format=template |template=Import-annotation |sep=+ }} }} | |||
</pre> | |||
; result | |||
{{#expr: {{#ask: [[Category:Import-annotation examples]] [[Has number::+]] |?Has number |?Has number too |format=template |template=Import-annotation |sep=+ }} }} | |||
== using the <code>import-annotation</code> parameter == | |||
; syntax | |||
<pre> | |||
{{#expr: {{#ask: [[Category:Import-annotation examples]] [[Has number::+]] |?Has number |?Has number too |format=template |template=Import-annotation |import-annotation=true |sep=+ }} }} | |||
</pre> | |||
; result | |||
{{#expr: {{#ask: [[Category:Import-annotation examples]] [[Has number::+]] |?Has number |?Has number too |format=template |template=Import-annotation |import-annotation=true |sep=+ }} }} | |||
[[Category:Import-annotation examples]] | [[Category:Import-annotation examples]] |
Dernière version du 28 juin 2018 à 15:13
See the pages used to create this example
without using the import-annotation
parameter
- syntax
{{#expr: {{#ask: [[Category:Import-annotation examples]] [[Has number::+]] |?Has number |?Has number too |format=template |template=Import-annotation |sep=+ }} }}
- result
Erreur d’expression : caractère de ponctuation « [ » non reconnu.
using the import-annotation
parameter
- syntax
{{#expr: {{#ask: [[Category:Import-annotation examples]] [[Has number::+]] |?Has number |?Has number too |format=template |template=Import-annotation |import-annotation=true |sep=+ }} }}
- result
4